1 |
commit: d79ad316c52e0feb104abc05c4427095e2f47527 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 4 20:50:03 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 21:21:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79ad316 |
7 |
|
8 |
dev-python/pysnmp: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-python/pysnmp/Manifest | 1 + |
13 |
dev-python/pysnmp/pysnmp-4.3.7.ebuild | 50 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest |
17 |
index bfae0a2371a..9d2fbd54ac9 100644 |
18 |
--- a/dev-python/pysnmp/Manifest |
19 |
+++ b/dev-python/pysnmp/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pysnmp-4.3.3.tar.gz 403779 SHA256 c837d35cbb2c1e067b7b8ed752d962481ef8d7ff11e4cdd8bfb0840c4a786318 SHA512 4b3e4a1785a852eb0b03266d2efbc586c01030f4653482bfea91b64a78098554589e76d38fe43c6b2d734ea3624a42878a2e3b6b7cfbf883e8bf8ad07ff43f81 WHIRLPOOL f04c9f6eece5d31bb4941cfdbfa3216fb5a65b2b2b1b097bd72ca500506262c0458d6d774b99c766f2016fb46ea50bc9a8b741825f820a0a7970dac7ac934977 |
22 |
DIST pysnmp-4.3.5.tar.gz 404793 SHA256 38253fe95cea33f352fb36e85f3c2874043401724300c4888df74835161169d2 SHA512 0878ff1b42a28aaea9ed97137971d606457ae392b701eb7a2f6fd5eb59349e7d2ca1193a3d468ad83ee3eb91cd74ec160c7d90ef750164a717c0ae57fcef5784 WHIRLPOOL 5bfc88686232bdad59208984588418b3811d6d92dc58a0d5e0a18364eb44d99032981a5ee65a3f9fdbf7947e2bd6038763d44880ab19e59ff4611df824e06134 |
23 |
+DIST pysnmp-4.3.7.tar.gz 424464 SHA256 fd0e139bf3768eaaa1e2b339c23c19a74c8086fe4307252e2e5b4c3a070d89db SHA512 c6c5f8927b9e142cfd0731ad2e2fc0b9e479b9e2e177acdd2e49e9e8744dd248a0dc79e05066389ad16ca869a88abc44cde1e987fa5ec2ee92f5d2ffb02c8560 WHIRLPOOL 590ac6f51407ba9f66ee108d7dccbe6d362a0b0f57bf2fba1c0d30b7e02a8006f80e8c8a98f88435722fe1928e919967eecd0c628a632e23e1ff212a8c22b254 |
24 |
|
25 |
diff --git a/dev-python/pysnmp/pysnmp-4.3.7.ebuild b/dev-python/pysnmp/pysnmp-4.3.7.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0b3d4e9fa7d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pysnmp/pysnmp-4.3.7.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python SNMP library" |
41 |
+HOMEPAGE="http://pysnmp.sf.net/ https://pypi.python.org/pypi/pysnmp" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" |
47 |
+IUSE="doc examples" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
52 |
+" |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] |
55 |
+ dev-python/pycrypto[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+ |
58 |
+python_compile_all() { |
59 |
+ default |
60 |
+ |
61 |
+ if use doc; then |
62 |
+ touch docs/source/conf.py |
63 |
+ emake -C docs html |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ use doc && local HTML_DOCS=( docs/build/html/* ) |
69 |
+ docinto examples |
70 |
+ use examples && dodoc -r examples/* docs/mibs |
71 |
+ |
72 |
+ distutils-r1_python_install_all |
73 |
+} |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ elog "You may also be interested in the following packages: " |
77 |
+ elog "dev-python/pysnmp-apps - example programs using pysnmp" |
78 |
+ elog "dev-python/pysnmp-mibs - IETF and other mibs" |
79 |
+ elog "net-libs/libsmi - to dump MIBs in python format" |
80 |
+} |