From 38423c67c8a23f6a1bc42038193182e2da3116eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 11:37:10 +0100 Subject: gentoo resync : 25.04.2020 --- dev-python/pysnmp/Manifest | 4 +-- dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild | 46 +++++++++++++++++++++++++++ dev-python/pysnmp/pysnmp-4.4.12.ebuild | 52 ------------------------------- dev-python/pysnmp/pysnmp-999999.ebuild | 31 +++++++----------- 4 files changed, 60 insertions(+), 73 deletions(-) create mode 100644 dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild delete mode 100644 dev-python/pysnmp/pysnmp-4.4.12.ebuild (limited to 'dev-python/pysnmp') diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 6c2c6063db8e..dc33f3636a48 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,4 +1,4 @@ DIST pysnmp-4.4.12.tar.gz 442270 BLAKE2B 0e4e1c44d7fe1def24d8bd12bf88012eb54d432888745becacdc9c072ab5a653eb947ee418f6b7b3f84bed39d6656dac25ea00a2accfa546d7310be17b04c8ee SHA512 f22a346443cb07beea594b67b09ce587f5602a439c68148b8a655a0d2c769893848bfcfdd47b5f0002f48c650bf3a39186edddf977fb3ad2cc0d124e66f2ce94 -EBUILD pysnmp-4.4.12.ebuild 1268 BLAKE2B 0a99d54587781b655cc22d375bfd9938d32a8be5960c420c614a23e59156f4b1a5657afff9538480c87b85d22fc8a56291a09fa7f5bea996490f08649eaa4fc2 SHA512 9cbba6e0747e4e2ff1912b4f7c257b98a1967c477cb13eb57c04a93a0e7d59818e03754b2b69b7c71f64b5593f7b9f5a87bdf94f315cd350ffdcac2343de5d96 -EBUILD pysnmp-999999.ebuild 1242 BLAKE2B e2652064a3c9d7b65a777cc42a2a676258cde63c8ef12d4871454f74a495f9121e377b7295b79da288b2e6a98a65fcbd285076bdc7e1864fe63870b3618a711d SHA512 9aaf82ee479d899e8d6e2119c0075e38a098989e2e5e30da76693c4d414467a6fc610d91cc401f17b1b55e55603b7b38b3dffa8e5c3837f7200aeae3777588e7 +EBUILD pysnmp-4.4.12-r1.ebuild 1155 BLAKE2B 54888f3b915bd55dcecde45652ad723e209e95c707aa25c8e7e951ce2f9c85ff3b71ce04500a8fa0327a4cb8532605e2a63497cd9a81acc9ed270436e9d69c6d SHA512 f319562478c7eadda5ae153121efbfb96a8561ac83c0aa6c5c084478c719d8084ba087337754d461a8b7b80c1d95ae9f69343241c5173b1deeb750b838752c32 +EBUILD pysnmp-999999.ebuild 1117 BLAKE2B 042a57daa3c4d781fc18e9a8249e589570f5358aea30f3964cf3c0ae2d301f018ad1f256b251e710c8146a7a3ae44ef25e8d6cc5c71d818119a878298dd4c584 SHA512 ef40f0f43e3519b033c22678bd87b0c3442648f4bf4ed96267a5f11d2180f2ac0dc2f9d9c5159319179bdd86bec83c071d8fb0a254bb7d58f1fb6f375af741d1 MISC metadata.xml 1567 BLAKE2B bb80fc30033d338354e1b5539aa5afbb23df2ef574a55709f62ef399a67fa7d659fbbad4d3a10120d0a7cf2247e6637127c115deb3741421a73f3222b769d632 SHA512 3ec28aa833cf162493be384e095a4aa440dc9fb19941b5c503d81d1bff83428d5aa8af80dfa24c88055c573c09529c12e3fd4962dba3d171ea8d2e87a7bb7822 diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild new file mode 100644 index 000000000000..4464b7b64c02 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE="http://snmplabs.com/pysnmp/ https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86" +IUSE="doc examples" + +RDEPEND=" + >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] + dev-python/pysmi[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source + +python_prepare_all() { + touch docs/source/conf.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r examples/. docs/mibs + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + elog "You may also be interested in the following packages: " + elog "dev-python/pysnmp-apps - example programs using pysnmp" + elog "dev-python/pysnmp-mibs - IETF and other mibs" + elog "dev-python/pysmi - to dump MIBs in python format" +} diff --git a/dev-python/pysnmp/pysnmp-4.4.12.ebuild b/dev-python/pysnmp/pysnmp-4.4.12.ebuild deleted file mode 100644 index 4fd27129e43d..000000000000 --- a/dev-python/pysnmp/pysnmp-4.4.12.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} ) -inherit distutils-r1 - -DESCRIPTION="Python SNMP library" -HOMEPAGE="http://snmplabs.com/pysnmp/ https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86" -IUSE="doc examples" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" -RDEPEND=" - >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] - dev-python/pysmi[${PYTHON_USEDEP}] - || ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/pycrypto[${PYTHON_USEDEP}] - ) -" - -python_compile_all() { - default - - if use doc; then - touch docs/source/conf.py - emake -C docs html - fi -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/* ) - docinto examples - use examples && dodoc -r examples/* docs/mibs - - distutils-r1_python_install_all -} - -pkg_postinst() { - elog "You may also be interested in the following packages: " - elog "dev-python/pysnmp-apps - example programs using pysnmp" - elog "dev-python/pysnmp-mibs - IETF and other mibs" - elog "dev-python/pysmi - to dump MIBs in python format" -} diff --git a/dev-python/pysnmp/pysnmp-999999.ebuild b/dev-python/pysnmp/pysnmp-999999.ebuild index 92fe79461644..0141700d6046 100644 --- a/dev-python/pysnmp/pysnmp-999999.ebuild +++ b/dev-python/pysnmp/pysnmp-999999.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) + +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 git-r3 DESCRIPTION="Python SNMP library" @@ -11,35 +12,27 @@ EGIT_REPO_URI="https://github.com/etingof/pysnmp" LICENSE="BSD" SLOT="0" -KEYWORDS="" IUSE="doc examples" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" RDEPEND=" >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] dev-python/pysmi[${PYTHON_USEDEP}] - || ( - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/pycrypto[${PYTHON_USEDEP}] - ) + dev-python/pycryptodome[${PYTHON_USEDEP}] " -python_compile_all() { - default +distutils_enable_sphinx docs/source - if use doc; then - touch docs/source/conf.py - emake -C docs html - fi +python_prepare_all() { + touch docs/source/conf.py || die + distutils-r1_python_prepare_all } python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/* ) - docinto examples - use examples && dodoc -r examples/* docs/mibs + if use examples; then + docinto examples + dodoc -r examples/. docs/mibs + docompress -x /usr/share/doc/${PF}/examples + fi distutils-r1_python_install_all } -- cgit v1.2.3