commit:     56f301d4b1412be25e294db48265deaaf6e4d8b6
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 12:29:15 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 12:29:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f301d4

dev-python/pysnmp: Version bump.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/pysnmp/Manifest            |  1 +
 dev-python/pysnmp/pysnmp-4.4.3.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest
index a8867248597..cb3a3b666f8 100644
--- a/dev-python/pysnmp/Manifest
+++ b/dev-python/pysnmp/Manifest
@@ -1,3 +1,4 @@
 DIST pysnmp-4.3.3.tar.gz 403779 BLAKE2B 
6698d622be9e5f0e85c64f6773bc7e1657c167e572d84b9339fd626d81cfe0db1f38837fb419da5e26057d843e7e7df62c8734e81c1d72f0f4e46aab820c5b95
 SHA512 
4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81
 DIST pysnmp-4.4.1.tar.gz 430623 BLAKE2B 
393890a0172e23fa65584f299b41bcce0309c4973133cf01169ed0117cc8a1842762c09688e7da28af10c2baa27b5e0a9d6dcc441db16b95d329ebc78dd9e789
 SHA512 
aeaff03ef224233cad5a29b5183f7aed46bb52501728878b3e3e98334a3194d25c0bb0cbace57b15bb13eb8753a3a410b4792027b44b5c5d8f62d607e4c98e75
 DIST pysnmp-4.4.2.tar.gz 436711 BLAKE2B 
c9e727539e6176bd5d67f78dc63008fc4c5cb22a8a94225e53f94208e45c832c6dfd55470f78e1d97b9dd171c86e194d3961453b99879634b237b26b5f2aab0a
 SHA512 
546c7b40ba9c3b05db67847e0849d99b4c678e83571a84c8bedb884256e57cbaa312e3d3b27f440b2948c1b3ce7cf00e7710cf4cfce027a88bd0b009b22ea72c
+DIST pysnmp-4.4.3.tar.gz 436351 BLAKE2B 
6278c0a35fc27392624bf72e2f0446e5a8e7f365b12e23c880c5df31f104185630ec97036346ca0353498a3c8b01ed3e14fac78a2bad4c638b01b6969547eb14
 SHA512 
5d2edb34d4c15d5dc19121240a7d12eaa9d86c3c8deaa10f9f76b96669c8292ba668537851e54a2a403221e5099ab3635cc31bb16be5972029fc2f7a5bc1b908

diff --git a/dev-python/pysnmp/pysnmp-4.4.3.ebuild 
b/dev-python/pysnmp/pysnmp-4.4.3.ebuild
new file mode 100644
index 00000000000..44be982305b
--- /dev/null
+++ b/dev-python/pysnmp/pysnmp-4.4.3.ebuild
@@ -0,0 +1,52 @@
+# 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://snmplabs.com/pysnmp/ 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/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"
+}

Reply via email to