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