1 |
commit: 1c38b92379302b15bf02217275d5329237483592 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 4 08:07:44 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 08:19:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c38b923 |
7 |
|
8 |
dev-python/pysnmp: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild | 44 ------------------------------- |
13 |
dev-python/pysnmp/pysnmp-999999.ebuild | 43 ------------------------------ |
14 |
2 files changed, 87 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild b/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index b22b2db34bee..000000000000 |
19 |
--- a/dev-python/pysnmp/pysnmp-4.4.12-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,44 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PYTHON_COMPAT=( python3_{8..10} ) |
28 |
-inherit distutils-r1 optfeature |
29 |
- |
30 |
-DESCRIPTION="Python SNMP library" |
31 |
-HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" |
32 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="BSD" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86" |
37 |
-IUSE="doc examples" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] |
41 |
- dev-python/pycryptodome[${PYTHON_USEDEP}]" |
42 |
-PDEPEND="dev-python/pysmi[${PYTHON_USEDEP}]" |
43 |
- |
44 |
-distutils_enable_sphinx docs/source |
45 |
- |
46 |
-python_prepare_all() { |
47 |
- touch docs/source/conf.py || die |
48 |
- distutils-r1_python_prepare_all |
49 |
-} |
50 |
- |
51 |
-python_install_all() { |
52 |
- if use examples; then |
53 |
- docinto examples |
54 |
- dodoc -r examples/. docs/mibs |
55 |
- docompress -x /usr/share/doc/${PF}/examples |
56 |
- fi |
57 |
- |
58 |
- distutils-r1_python_install_all |
59 |
-} |
60 |
- |
61 |
-pkg_postinst() { |
62 |
- optfeature "Example programs using pysnmp" dev-python/pysnmp-apps |
63 |
- optfeature "IETF and other mibs" dev-python/pysnmp-mibs |
64 |
- optfeature "Dump MIBs in python format" dev-python/pysmi |
65 |
-} |
66 |
|
67 |
diff --git a/dev-python/pysnmp/pysnmp-999999.ebuild b/dev-python/pysnmp/pysnmp-999999.ebuild |
68 |
deleted file mode 100644 |
69 |
index 3e79289ba474..000000000000 |
70 |
--- a/dev-python/pysnmp/pysnmp-999999.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,43 +0,0 @@ |
73 |
-# Copyright 1999-2021 Gentoo Authors |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
- |
76 |
-EAPI=7 |
77 |
- |
78 |
-PYTHON_COMPAT=( python3_{7..10} ) |
79 |
-inherit distutils-r1 git-r3 optfeature |
80 |
- |
81 |
-DESCRIPTION="Python SNMP library" |
82 |
-HOMEPAGE="https://pypi.org/project/pysnmp/ https://github.com/etingof/pysnmp" |
83 |
-EGIT_REPO_URI="https://github.com/etingof/pysnmp" |
84 |
- |
85 |
-LICENSE="BSD" |
86 |
-SLOT="0" |
87 |
-IUSE="doc examples" |
88 |
- |
89 |
-RDEPEND=" |
90 |
- >=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}] |
91 |
- dev-python/pycryptodome[${PYTHON_USEDEP}]" |
92 |
-PDEPEND="dev-python/pysmi[${PYTHON_USEDEP}]" |
93 |
- |
94 |
-distutils_enable_sphinx docs/source |
95 |
- |
96 |
-python_prepare_all() { |
97 |
- touch docs/source/conf.py || die |
98 |
- distutils-r1_python_prepare_all |
99 |
-} |
100 |
- |
101 |
-python_install_all() { |
102 |
- if use examples; then |
103 |
- docinto examples |
104 |
- dodoc -r examples/. docs/mibs |
105 |
- docompress -x /usr/share/doc/${PF}/examples |
106 |
- fi |
107 |
- |
108 |
- distutils-r1_python_install_all |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- optfeature "Example programs using pysnmp" dev-python/pysnmp-apps |
113 |
- optfeature "IETF and other mibs" dev-python/pysnmp-mibs |
114 |
- optfeature "Dump MIBs in python format" dev-python/pysmi |
115 |
-} |