1 |
commit: 30725df77389e09c2cf7caa2f932e62360317afb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 15:05:01 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 15:09:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30725df7 |
7 |
|
8 |
dev-python/m2crypto: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/m2crypto/Manifest | 2 - |
13 |
dev-python/m2crypto/m2crypto-0.35.2-r1.ebuild | 59 ------------------------ |
14 |
dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild | 66 --------------------------- |
15 |
dev-python/m2crypto/m2crypto-0.37.1.ebuild | 64 -------------------------- |
16 |
4 files changed, 191 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest |
19 |
index 549be477b1b..7180c9ef611 100644 |
20 |
--- a/dev-python/m2crypto/Manifest |
21 |
+++ b/dev-python/m2crypto/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST M2Crypto-0.35.2.tar.gz 1117706 BLAKE2B efa15e023be7755b94c642bb23eade912edcbbb76bcdfed3414d27937cd705ec4c83069ca620fe20e58e126549ba7f98e84f6f8330b78133a8a8b953d18f467b SHA512 3608b29a8e7d0732a2359e35fcaae191447aa7c0211ca3d057eed6cee7f0819f5c1121e7d41caca8cdea3c7911f8c447ee475b1b3d125e8dc3adde2718a59f36 |
24 |
-DIST M2Crypto-0.36.0.tar.gz 1127584 BLAKE2B 5cdbbb11ff67d4ddffb2853a72383f3c7f1e1aa53ab84166aeda4fbea1b0d7f506761bb07bf8cb5b36f94bdbeb2ea2b46e0693da8355f81b4bf5c4c1c1cc18b1 SHA512 5b7d6d10c943ff0e09e0e9748d5578e7e0f7659a73de4ba49481152bca05871aef2bfbb869e1636a7cebcf2dd8b9f67fb0d299a833d1d4ebd538031c35d7bca1 |
25 |
DIST M2Crypto-0.37.1.tar.gz 1247031 BLAKE2B 3628150b8da15d7356298b6e52e0d8fa7875921a184a0eba3a97eff0588c9e0fee340c92fd486919057d900d6e3b2b711174dde9761fe247848f92ac6434df0a SHA512 9a5e0220704b4897a9ca7efa4b3b57447b9175c52e8039a85bff7bb1a43b709c69f3c8b5903df461f8de39d3f8a20f9bf494df6f5882771846adfe2c03fbea9e |
26 |
|
27 |
diff --git a/dev-python/m2crypto/m2crypto-0.35.2-r1.ebuild b/dev-python/m2crypto/m2crypto-0.35.2-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 20ad917a37b..00000000000 |
30 |
--- a/dev-python/m2crypto/m2crypto-0.35.2-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,59 +0,0 @@ |
33 |
-# Copyright 2018-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( python3_{7,8}) |
39 |
-PYTHON_REQ_USE="threads(+)" |
40 |
- |
41 |
-inherit distutils-r1 toolchain-funcs |
42 |
- |
43 |
-MY_PN="M2Crypto" |
44 |
-DESCRIPTION="A Python crypto and SSL toolkit" |
45 |
-HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/" |
46 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-libs/openssl:0= |
54 |
- $(python_gen_cond_dep ' |
55 |
- dev-python/typing[${PYTHON_USEDEP}] |
56 |
- ' -2) |
57 |
-" |
58 |
-DEPEND="${RDEPEND}" |
59 |
-BDEPEND=" |
60 |
- >=dev-lang/swig-2.0.9 |
61 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
-" |
63 |
- |
64 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
65 |
- |
66 |
-swig_define() { |
67 |
- local x |
68 |
- for x; do |
69 |
- if tc-cpp-is-true "defined(${x})"; then |
70 |
- SWIG_FEATURES+=" -D${x}" |
71 |
- fi |
72 |
- done |
73 |
-} |
74 |
- |
75 |
-python_compile() { |
76 |
- # setup.py looks at platform.machine() to determine swig options. |
77 |
- # For exotic ABIs, we need to give swig a hint. |
78 |
- local -x SWIG_FEATURES= |
79 |
- |
80 |
- # https://bugs.gentoo.org/617946 |
81 |
- swig_define __ILP32__ |
82 |
- |
83 |
- # https://bugs.gentoo.org/674112 |
84 |
- swig_define __ARM_PCS_VFP |
85 |
- |
86 |
- distutils-r1_python_compile --openssl="${ESYSROOT}"/usr |
87 |
-} |
88 |
- |
89 |
-python_test() { |
90 |
- esetup.py test |
91 |
-} |
92 |
|
93 |
diff --git a/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild b/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild |
94 |
deleted file mode 100644 |
95 |
index 221b4223b39..00000000000 |
96 |
--- a/dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild |
97 |
+++ /dev/null |
98 |
@@ -1,66 +0,0 @@ |
99 |
-# Copyright 2018-2021 Gentoo Authors |
100 |
-# Distributed under the terms of the GNU General Public License v2 |
101 |
- |
102 |
-EAPI=7 |
103 |
- |
104 |
-PYTHON_COMPAT=( python3_{7..9} ) |
105 |
-PYTHON_REQ_USE="threads(+)" |
106 |
- |
107 |
-inherit distutils-r1 toolchain-funcs |
108 |
- |
109 |
-MY_PN="M2Crypto" |
110 |
-DESCRIPTION="A Python crypto and SSL toolkit" |
111 |
-HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/" |
112 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
113 |
- |
114 |
-LICENSE="MIT" |
115 |
-SLOT="0" |
116 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
117 |
- |
118 |
-RDEPEND=" |
119 |
- dev-libs/openssl:0= |
120 |
- $(python_gen_cond_dep ' |
121 |
- dev-python/typing[${PYTHON_USEDEP}] |
122 |
- ' -2) |
123 |
-" |
124 |
-DEPEND="${RDEPEND}" |
125 |
-BDEPEND=" |
126 |
- >=dev-lang/swig-2.0.9 |
127 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
128 |
-" |
129 |
- |
130 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
131 |
- |
132 |
-swig_define() { |
133 |
- local x |
134 |
- for x; do |
135 |
- if tc-cpp-is-true "defined(${x})"; then |
136 |
- SWIG_FEATURES+=" -D${x}" |
137 |
- fi |
138 |
- done |
139 |
-} |
140 |
- |
141 |
-src_prepare() { |
142 |
- # TODO |
143 |
- sed -e 's:test_server_simple_timeouts:_&:' \ |
144 |
- -i tests/test_ssl.py || die |
145 |
- distutils-r1_src_prepare |
146 |
-} |
147 |
- |
148 |
-python_compile() { |
149 |
- # setup.py looks at platform.machine() to determine swig options. |
150 |
- # For exotic ABIs, we need to give swig a hint. |
151 |
- local -x SWIG_FEATURES= |
152 |
- |
153 |
- # https://bugs.gentoo.org/617946 |
154 |
- swig_define __ILP32__ |
155 |
- |
156 |
- # https://bugs.gentoo.org/674112 |
157 |
- swig_define __ARM_PCS_VFP |
158 |
- |
159 |
- distutils-r1_python_compile --openssl="${ESYSROOT}"/usr |
160 |
-} |
161 |
- |
162 |
-python_test() { |
163 |
- esetup.py test |
164 |
-} |
165 |
|
166 |
diff --git a/dev-python/m2crypto/m2crypto-0.37.1.ebuild b/dev-python/m2crypto/m2crypto-0.37.1.ebuild |
167 |
deleted file mode 100644 |
168 |
index e4bd5539a6b..00000000000 |
169 |
--- a/dev-python/m2crypto/m2crypto-0.37.1.ebuild |
170 |
+++ /dev/null |
171 |
@@ -1,64 +0,0 @@ |
172 |
-# Copyright 2018-2021 Gentoo Authors |
173 |
-# Distributed under the terms of the GNU General Public License v2 |
174 |
- |
175 |
-EAPI=7 |
176 |
- |
177 |
-PYTHON_COMPAT=( python3_{7..9} ) |
178 |
-PYTHON_REQ_USE="threads(+)" |
179 |
- |
180 |
-inherit distutils-r1 toolchain-funcs |
181 |
- |
182 |
-MY_PN="M2Crypto" |
183 |
-DESCRIPTION="A Python crypto and SSL toolkit" |
184 |
-HOMEPAGE="https://gitlab.com/m2crypto/m2crypto https://pypi.org/project/M2Crypto/" |
185 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
186 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
187 |
- |
188 |
-LICENSE="MIT" |
189 |
-SLOT="0" |
190 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
191 |
-IUSE="test" |
192 |
-RESTRICT="!test? ( test )" |
193 |
- |
194 |
-BDEPEND=" |
195 |
- >=dev-lang/swig-2.0.9 |
196 |
- test? ( dev-python/parameterized[${PYTHON_USEDEP}] ) |
197 |
-" |
198 |
-RDEPEND=" |
199 |
- dev-libs/openssl:0= |
200 |
-" |
201 |
-DEPEND="${RDEPEND}" |
202 |
- |
203 |
-swig_define() { |
204 |
- local x |
205 |
- for x; do |
206 |
- if tc-cpp-is-true "defined(${x})"; then |
207 |
- SWIG_FEATURES+=" -D${x}" |
208 |
- fi |
209 |
- done |
210 |
-} |
211 |
- |
212 |
-src_prepare() { |
213 |
- # TODO |
214 |
- sed -e 's:test_server_simple_timeouts:_&:' \ |
215 |
- -i tests/test_ssl.py || die |
216 |
- distutils-r1_src_prepare |
217 |
-} |
218 |
- |
219 |
-python_compile() { |
220 |
- # setup.py looks at platform.machine() to determine swig options. |
221 |
- # For exotic ABIs, we need to give swig a hint. |
222 |
- local -x SWIG_FEATURES= |
223 |
- |
224 |
- # https://bugs.gentoo.org/617946 |
225 |
- swig_define __ILP32__ |
226 |
- |
227 |
- # https://bugs.gentoo.org/674112 |
228 |
- swig_define __ARM_PCS_VFP |
229 |
- |
230 |
- distutils-r1_python_compile --openssl="${ESYSROOT}"/usr |
231 |
-} |
232 |
- |
233 |
-python_test() { |
234 |
- esetup.py test |
235 |
-} |