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