net-misc/exabgp - 5.0.8 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/exabgp-5.0.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/exabgp-5.0.8

Or alternatively:

emerge --autounmask-write -a =net-misc/exabgp-5.0.8

Package Information

Description:
The BGP swiss army knife of networking
Homepage:
https://github.com/Exa-Networks/exabgp
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
5.0.8 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{{11..14},{13..14}t} )
DISTUTILS_USE_PEP517=setuptools
inherit tmpfiles systemd distutils-r1

DESCRIPTION="The BGP swiss army knife of networking"
HOMEPAGE="https://github.com/Exa-Networks/exabgp"
SRC_URI="https://github.com/Exa-Networks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	acct-group/exabgp
	acct-user/exabgp
"
BDEPEND="
	test? (
		dev-python/psutil[${PYTHON_USEDEP}]
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
		dev-python/hypothesis[${PYTHON_USEDEP}]
		dev-python/pytest-timeout[${PYTHON_USEDEP}]
	)
"

PATCHES=(
	"${FILESDIR}/exabgp-5.0.8-paths.patch"
	"${FILESDIR}/exabgp-5.0.8-ip-path.patch"
	"${FILESDIR}/exabgp-5.0.8-healthcheck-allow-disable-metric.patch"
	"${FILESDIR}/exabgp-5.0.8-less-verbose-logging.patch"
)

EPYTEST_PLUGINS=(
	hypothesis
	pytest-asyncio
	pytest-timeout
)

distutils_enable_tests pytest

python_prepare_all() {
	# remove performance tests
	rm -rf tests/performance || die

	distutils-r1_python_prepare_all
}

python_install_all() {
	distutils-r1_python_install_all

	newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
	newconfd "${FILESDIR}/${PN}.confd" ${PN}

	newtmpfiles "${FILESDIR}/exabgp.tmpfiles" ${PN}.conf
	systemd_dounit etc/systemd/*

	insinto /etc/logrotate.d
	newins "${FILESDIR}/${PN}.logrotate" ${PN}

	keepdir /etc/exabgp

	doman doc/man/*.?
}

pkg_postinst() {
	tmpfiles_process ${PN}.conf
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/exabgp | euse -E <flag> -p net-misc/exabgp | euse -D <flag> -p net-misc/exabgp

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	acct-group/exabgp
	acct-user/exabgp

BDEPEND

	test? (
		dev-python/psutil[]
		dev-python/pytest-asyncio[]
		dev-python/hypothesis[]
		dev-python/pytest-timeout[]
	)

Manifest for 5.0.8

Type File Size Source URLs
DIST exabgp-5.0.8.tar.gz 3402753 bytes https://github.com/Exa-Networks/exabgp/archive/5.0.8.tar.gz