1 |
commit: 027aaa96de9ad77343f5d92107a86f9bc3b11a84 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 13 06:47:17 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 13 06:48:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027aaa96 |
7 |
|
8 |
dev-python/pysnmp: Version 4.4.11 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-python/pysnmp/Manifest | 1 + |
14 |
dev-python/pysnmp/pysnmp-4.4.11.ebuild | 52 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest |
18 |
index 82bd634f775..348e7df9aa7 100644 |
19 |
--- a/dev-python/pysnmp/Manifest |
20 |
+++ b/dev-python/pysnmp/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST pysnmp-4.4.10.tar.gz 438845 BLAKE2B 2ad444212d202a3e788b1cd2e4e95931ef59e758923ede9b99fe511fac9cd31b8ad02ebbd61fd2df4dec0b9f95eded2753465929aba3b070ca614353eae466d4 SHA512 ed7d705dda376bbf31366653566f1f85ffd71a8253e573ad197a8a073a60ec4fac356b28daf97ff1310121ea3a6b2fee17c843c6ca90d664916fd9095a462207 |
23 |
+DIST pysnmp-4.4.11.tar.gz 441657 BLAKE2B 2a1f14f9205ce34bdbd5cc22e1875e00aa8f34f0a3327aad37d920e3b0c2e4b5c2f0e877b23cf59ec65f803020bcfae0c7162666baa7621be19042506fdbfd26 SHA512 0f61ad0c095398b4b511c854ea7156aae78495f299457b14f4d3b50833670ec77c905e9cf4bdc30c21dd3c3e62d1c3473d7895f0352140af6345b18c1db3e7d8 |
24 |
DIST pysnmp-4.4.4.tar.gz 436318 BLAKE2B 6e6616a79fc15d457b8da2e2260c65d9d8ef29888c033d80f2f47c8de035d0cff73dc4be1eeced8ef36dac1301b7da0d845837b780815792f545b6ad18d5496e SHA512 960ac73b7356bb236d3853432c094d3aa86a343f5e211065689e6c784293748ec6f2c1c17bf9d96b4cbe2d9d476ebbacbaff4bed7d86370e5ef61e6f03ba8c0e |
25 |
DIST pysnmp-4.4.9.tar.gz 436017 BLAKE2B 4fa4d1cab4e783542164d8bc5313e2b900cad9fec42e3bd6bc37239514d279d849ee857b3c9c01021750773e02ce951da600f5fbf8676efe31c3bdf580b99f12 SHA512 0832abb4134b77d43f6c750ce6c797c976b5fb99ef02602e7aa6034e4524e229eb33ac5d5b086acfb5740893120eb5b17df648dda48decc5d038476270e5fe1e |
26 |
|
27 |
diff --git a/dev-python/pysnmp/pysnmp-4.4.11.ebuild b/dev-python/pysnmp/pysnmp-4.4.11.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..842fff13fa2 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pysnmp/pysnmp-4.4.11.ebuild |
32 |
@@ -0,0 +1,52 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python SNMP library" |
41 |
+HOMEPAGE="http://snmplabs.com/pysnmp/ https://pypi.org/project/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/pysmi[${PYTHON_USEDEP}] |
56 |
+ || ( |
57 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}] |
58 |
+ dev-python/pycrypto[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ default |
64 |
+ |
65 |
+ if use doc; then |
66 |
+ touch docs/source/conf.py |
67 |
+ emake -C docs html |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ use doc && local HTML_DOCS=( docs/build/html/* ) |
73 |
+ docinto examples |
74 |
+ use examples && dodoc -r examples/* docs/mibs |
75 |
+ |
76 |
+ distutils-r1_python_install_all |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ elog "You may also be interested in the following packages: " |
81 |
+ elog "dev-python/pysnmp-apps - example programs using pysnmp" |
82 |
+ elog "dev-python/pysnmp-mibs - IETF and other mibs" |
83 |
+ elog "dev-python/pysmi - to dump MIBs in python format" |
84 |
+} |