1 |
commit: 1ff90813f6cd43f8d48cd1bf54e300019ee83780 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 19:25:43 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 19:47:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff90813 |
7 |
|
8 |
dev-python/pycryptodome: Bump to 3.11.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pycryptodome/Manifest | 1 + |
13 |
dev-python/pycryptodome/pycryptodome-3.11.0.ebuild | 45 ++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest |
17 |
index fe6034880a8..a65f0924ccc 100644 |
18 |
--- a/dev-python/pycryptodome/Manifest |
19 |
+++ b/dev-python/pycryptodome/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pycryptodome-3.10.1.tar.gz 15545471 BLAKE2B ef1922efd0b6bef6beaee76fe03a4201a6f1cf2a203abcb12b96a5ea7c8de59a34ac704fe7508a3728a214efc0755f289d66dc14a0adb3f2eac882bc8db691bf SHA512 4c7e7e989d5363064e7e184f6b00a174045e03916cdf1199626afd7fe75eb5efcd13888ecdee607b974e96faad465694b384eb6d91edb8de1d0277ad71888c52 |
22 |
DIST pycryptodome-3.10.4.tar.gz 15552675 BLAKE2B aaa6e6768d099b7b229f2b920671577800baea11b8b5a8efdd818f3d5685e46ac51d1c79d9c987f1d93cc9df98c786028137348c946da7aff35fc436ff21894c SHA512 1ee2f6c499d7ea73bdeafc94b1e91b45bf888f84ea214a01db180e030b4724264ba05e16241c465484ec13075f5300f6c489229bedb84e54b93e2852906b634f |
23 |
+DIST pycryptodome-3.11.0.tar.gz 15555515 BLAKE2B fee6a2f2ac0659c82efed2cfdaf7c4d1e4813aaa2203c41c249a7e512a4ec1c955f443022e81847fbfd095cd95f205c054b8c3ef90f4741063c679798cd8c5e5 SHA512 9a6f94a78909b236e9b9224915495f092891951b76836396706c11e8e87717ff84fd92fe04ad641d6a5a0ef1f3b339990d7f21a326e72b95b166a76169240964 |
24 |
|
25 |
diff --git a/dev-python/pycryptodome/pycryptodome-3.11.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.11.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9bf29ac5892 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pycryptodome/pycryptodome-3.11.0.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+PYTHON_REQ_USE="threads(+)" |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="A self-contained cryptographic library for Python" |
42 |
+HOMEPAGE="https://www.pycryptodome.org/ |
43 |
+ https://github.com/Legrandin/pycryptodome/ |
44 |
+ https://pypi.org/project/pycryptodome/" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD-2 Unlicense" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+IUSE="" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ dev-libs/gmp:0= |
56 |
+ >=dev-libs/libtomcrypt-1.18.2-r1:=" |
57 |
+BDEPEND=" |
58 |
+ virtual/python-cffi[${PYTHON_USEDEP}]" |
59 |
+RDEPEND=" |
60 |
+ ${DEPEND} |
61 |
+ ${BDEPEND} |
62 |
+ !dev-python/pycrypto" |
63 |
+ |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" |
66 |
+) |
67 |
+ |
68 |
+distutils_enable_tests setup.py |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ # make sure we're unbundling it correctly |
72 |
+ rm -r src/libtom || die |
73 |
+ |
74 |
+ distutils-r1_python_prepare_all |
75 |
+} |