summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-03-25 08:24:33 +0100
committerJeroen Roovers <jer@gentoo.org>2017-03-25 08:24:33 +0100
commit9edb0ab80a81a5e3fdbc231973a838426baa86c9 (patch)
tree97afb865d6f8313d4fdb61dd44ee9e620c5ff342
parentnet-misc/apt-cacher-ng: Version bump. (diff)
downloadgentoo-9edb0ab80a81a5e3fdbc231973a838426baa86c9.tar.gz
gentoo-9edb0ab80a81a5e3fdbc231973a838426baa86c9.tar.bz2
gentoo-9edb0ab80a81a5e3fdbc231973a838426baa86c9.zip
dev-python/pysnmp: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--dev-python/pysnmp/Manifest1
-rw-r--r--dev-python/pysnmp/pysnmp-4.3.5.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index 2721a0a3bef5..9d9936a90ff9 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -2,3 +2,4 @@ DIST pysnmp-4.2.5.tar.gz 225014 SHA256 c46e65d99a604f690b3d5800e2f6e26e1ed9a3c7f
DIST pysnmp-4.3.2.tar.gz 398593 SHA256 7c2bd81df17aa7dca0057a68e7a32284a72231309a0237d66d5b803b5c118977 SHA512 55696d03f20b37edcfc605b68d308691387dd870a6e477b6907885789d6993e00c689e866ba8170604711669bc28c0da01039e4f15d0058a6ebb5f78c3f0e450 WHIRLPOOL 2dc77e7d509a8fb31ecd4f56c418641cd77c825c008b89455ec05d0cc34e43c9c25d76b88b522f60ce1c3109f92b192f8f0d24e1be5c172a5911ede10f8b199e
DIST pysnmp-4.3.3.tar.gz 403779 SHA256 c837d35cbb2c1e067b7b8ed752d962481ef8d7ff11e4cdd8bfb0840c4a786318 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81 WHIRLPOOL f04c9f6eece5d31bb4941cfdbfa3216fb5a65b2b2b1b097bd72ca500506262c0458d6d774b99c766f2016fb46ea50bc9a8b741825f820a0a7970dac7ac934977
DIST pysnmp-4.3.4.tar.gz 404146 SHA256 216f6d3964fa120ccabf3703a3f599fb954a410bd7811ee5f717f6e54bae8dad SHA512 99f8e081d887205b097b2b0dedc5305cc6e6e0a3297f5d0bd6ffe99fede10ecdca1b160e94e1e4dbad357f26f5347863b72565129c43952fc67381caccc690bf WHIRLPOOL f1ce988eecae5b191a0139dad075318bcef8c588c5e7e7b53060eab4bfa79a3233233745eca3af567aaedbd56b76f7b3ab3df62fddfd9cee61af7dafcaef1158
+DIST pysnmp-4.3.5.tar.gz 404793 SHA256 38253fe95cea33f352fb36e85f3c2874043401724300c4888df74835161169d2 SHA512 0878ff1b42a28aaea9ed97137971d606457ae392b701eb7a2f6fd5eb59349e7d2ca1193a3d468ad83ee3eb91cd74ec160c7d90ef750164a717c0ae57fcef5784 WHIRLPOOL 5bfc88686232bdad59208984588418b3811d6d92dc58a0d5e0a18364eb44d99032981a5ee65a3f9fdbf7947e2bd6038763d44880ab19e59ff4611df824e06134
diff --git a/dev-python/pysnmp/pysnmp-4.3.5.ebuild b/dev-python/pysnmp/pysnmp-4.3.5.ebuild
new file mode 100644
index 000000000000..1e731fd14436
--- /dev/null
+++ b/dev-python/pysnmp/pysnmp-4.3.5.ebuild
@@ -0,0 +1,50 @@
+# 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.1.2[${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 "net-libs/libsmi - to dump MIBs in python format"
+}