From cf95a138451d35566712e45ae763c0470ea2254e Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 19 May 2020 18:15:57 -0700 Subject: net-misc/exabgp: revbumps, add deps on user/group packages Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean --- net-misc/exabgp/exabgp-3.4.28-r1.ebuild | 34 --------------------- net-misc/exabgp/exabgp-3.4.28-r2.ebuild | 36 ++++++++++++++++++++++ net-misc/exabgp/exabgp-4.2.7-r1.ebuild | 52 ------------------------------- net-misc/exabgp/exabgp-4.2.7-r2.ebuild | 54 +++++++++++++++++++++++++++++++++ net-misc/exabgp/files/exabgp.tmpfiles | 2 +- 5 files changed, 91 insertions(+), 87 deletions(-) delete mode 100644 net-misc/exabgp/exabgp-3.4.28-r1.ebuild create mode 100644 net-misc/exabgp/exabgp-3.4.28-r2.ebuild delete mode 100644 net-misc/exabgp/exabgp-4.2.7-r1.ebuild create mode 100644 net-misc/exabgp/exabgp-4.2.7-r2.ebuild diff --git a/net-misc/exabgp/exabgp-3.4.28-r1.ebuild b/net-misc/exabgp/exabgp-3.4.28-r1.ebuild deleted file mode 100644 index c61d012c7a54..000000000000 --- a/net-misc/exabgp/exabgp-3.4.28-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_USE_SETUPTOOLS=rdepend -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" - -RDEPEND=" - dev-python/ipaddr[${PYTHON_USEDEP}] -" - -python_install_all() { - distutils-r1_python_install_all - - newinitd "${FILESDIR}/${PN}.initd" ${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 -} diff --git a/net-misc/exabgp/exabgp-3.4.28-r2.ebuild b/net-misc/exabgp/exabgp-3.4.28-r2.ebuild new file mode 100644 index 000000000000..f6753117ebc7 --- /dev/null +++ b/net-misc/exabgp/exabgp-3.4.28-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +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" + +RDEPEND=" + acct-group/exabgp + acct-user/exabgp + dev-python/ipaddr[${PYTHON_USEDEP}] +" + +python_install_all() { + distutils-r1_python_install_all + + newinitd "${FILESDIR}/${PN}.initd" ${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 +} diff --git a/net-misc/exabgp/exabgp-4.2.7-r1.ebuild b/net-misc/exabgp/exabgp-4.2.7-r1.ebuild deleted file mode 100644 index 8714af508f91..000000000000 --- a/net-misc/exabgp/exabgp-4.2.7-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -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=" - dev-python/ipaddr[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/exabgp-4.2.7-paths.patch" -) - -python_test() { - ./qa/bin/parsing || die "tests fail with ${EPYTHON}" - nosetests -v ./qa/tests/*_test.py || die "tests fail with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - newinitd "${FILESDIR}/${PN}.initd" ${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 -} diff --git a/net-misc/exabgp/exabgp-4.2.7-r2.ebuild b/net-misc/exabgp/exabgp-4.2.7-r2.ebuild new file mode 100644 index 000000000000..bdcff317c204 --- /dev/null +++ b/net-misc/exabgp/exabgp-4.2.7-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +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 + dev-python/ipaddr[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/exabgp-4.2.7-paths.patch" +) + +python_test() { + ./qa/bin/parsing || die "tests fail with ${EPYTHON}" + nosetests -v ./qa/tests/*_test.py || die "tests fail with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + newinitd "${FILESDIR}/${PN}.initd" ${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 +} diff --git a/net-misc/exabgp/files/exabgp.tmpfiles b/net-misc/exabgp/files/exabgp.tmpfiles index 158362944006..80720cbfc1f7 100644 --- a/net-misc/exabgp/files/exabgp.tmpfiles +++ b/net-misc/exabgp/files/exabgp.tmpfiles @@ -1,3 +1,3 @@ f /run/exabgp 0755 exabgp exabgp - - -p /run/exabgp//exabgp.in 0600 exabgp exabgp - - +p /run/exabgp/exabgp.in 0600 exabgp exabgp - - p /run/exabgp/exabgp.out 0600 exabgp exabgp - - -- cgit v1.2.3-65-gdbad