diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-07 10:48:29 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-07 11:44:11 +0200 |
commit | 39186ccad89c583c8ed08b16af10c5cbf2803778 (patch) | |
tree | f3e87dcd4b2fce559c931a5ee6ed0d9466e47596 | |
parent | sci-electronics/klayout: Simplify; remove upstreamed patch (diff) | |
download | gentoo-39186ccad89c583c8ed08b16af10c5cbf2803778.tar.gz gentoo-39186ccad89c583c8ed08b16af10c5cbf2803778.tar.bz2 gentoo-39186ccad89c583c8ed08b16af10c5cbf2803778.zip |
dev-python/pysnmp: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
-rw-r--r-- | dev-python/pysnmp/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pysnmp/pysnmp-4.3.10.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 779156a48055..4169d914c692 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1,3 +1,4 @@ +DIST pysnmp-4.3.10.tar.gz 425950 SHA256 215191e36c8c88bf600c55a2e33afbd1dfdd6366dda42b446e1b9f099b53baa8 SHA512 3eeb0a2afe2deb918c67c7358a7d8528bc420f63a7b35561becc7cc970bc2c75e2df607ba9ee62b7ab790087e7eb6eec965f5fc163f337e8d06c094848ce957d WHIRLPOOL bc6647da861ed9375a5679af4fd91e81eb6ed7687261ec46aae60435bc281b999746ceb3ad5f86c9db64e046a409f1370443712ef06168f828a04eca2c79c9fb DIST pysnmp-4.3.3.tar.gz 403779 SHA256 c837d35cbb2c1e067b7b8ed752d962481ef8d7ff11e4cdd8bfb0840c4a786318 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81 WHIRLPOOL f04c9f6eece5d31bb4941cfdbfa3216fb5a65b2b2b1b097bd72ca500506262c0458d6d774b99c766f2016fb46ea50bc9a8b741825f820a0a7970dac7ac934977 DIST pysnmp-4.3.8.tar.gz 424591 SHA256 882c1d3edfafad83eea7c29c13f566acc757459f18582217dcb9de6cfe86ba2a SHA512 b8e5329f10f9032a6beb790b3eb7ec18f3ed3aeca011abef4a73a4cd6310e70a2a672e5028bddfc8885b8770c23b07f65f4877d06a70059822854529e7f1fd0f WHIRLPOOL 2daad771ee847824dc708b001f37f2aa47caf0ccfffcfd208a080fb8d88443eedf5ee3f42dcac0ec0e473ee44177ba8b0212ff11a0f9fb8bc4a8c47958d696d9 DIST pysnmp-4.3.9.tar.gz 425302 SHA256 59c196ce599617ad6f484d20bc61336bff64d3dca4bc99282ba06047248fc70c SHA512 b6992eed9cccb39c77527c871249e98ad758372a7e462ecc9c8b7aa476e29804aefe4974712719428ad8ba80f425f725a97ea7117e43ffd92c0bdc45605ea440 WHIRLPOOL a45695731cdced683c5af8735bbb1cea5aec67e7cf1a3e930832f3866a428c433681b97d9283e454486d362a97b54af9bebeb8a963e7805dc0933e24fb6a0d95 diff --git a/dev-python/pysnmp/pysnmp-4.3.10.ebuild b/dev-python/pysnmp/pysnmp-4.3.10.ebuild new file mode 100644 index 000000000000..237ed7a23499 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-4.3.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE="http://pysnmp.sf.net/ https://pypi.python.org/pypi/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/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" +} |