1 |
commit: 86cc46548dd0f5faf010190de6013de24a842a46 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 21:54:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 00:23:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86cc4654 |
7 |
|
8 |
dev-python/pycryptodome: Bump to 3.14.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.14.0.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest |
17 |
index e530c7250b25..3c9af95faa47 100644 |
18 |
--- a/dev-python/pycryptodome/Manifest |
19 |
+++ b/dev-python/pycryptodome/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pycryptodome-3.12.0.tar.gz 15130980 BLAKE2B 5eb34a03523652d990ddfdd1eebcbbacea30bffbe4838289c195b07658a98814ebec322aaffbed7b3fa564bc005d52ea1e483dedcb9f40b65d00e50c28d78582 SHA512 67f2a814d74305614fdf9dfb633c4fd9d80d2064119d0ecab24ae52fd8ce4b6de1a1e82c6ba7bcf22fb7db1a5a850adf078e22317b4c07229cd7cb8cb7f1ffd4 |
22 |
DIST pycryptodome-3.13.0.tar.gz 15306369 BLAKE2B 97ef26868fb2be2f3240960d8debd897cb82c4a6f1ea1c179fc790693eb2e37de14cbf16bd7deafe0ca1d28983e9bee8583cbe8adde2fa50533cf2bd1274108c SHA512 daafdc80ae8df7f5f282adbdd3fbd9f848b03a3de0c21739b3bb973368daf721c9cd306e56c16baceeda4a0ebc3470abbc0cddc4e8409b5e4fe4255f3d62ec2e |
23 |
+DIST pycryptodome-3.14.0.tar.gz 15339838 BLAKE2B 804ceabfb5e29775df279a00eaadced776a10301e9bd254471b234f10c65fcfce507c8e51eb5dc5387eb81f856ccfe46ff035ca96a8acebf8b4f59c960fd35a4 SHA512 2f20a3a2bfef14a0f4c05587d64da3a4be7303ae37aaee02e49a3c7ef69009fa958e4b7151c1441f2cc63833cc29642d6d13c1006fb0f215743178d36c9de802 |
24 |
|
25 |
diff --git a/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..695065661243 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pycryptodome/pycryptodome-3.14.0.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
38 |
+PYTHON_REQ_USE="threads(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A self-contained cryptographic library for Python" |
43 |
+HOMEPAGE="https://www.pycryptodome.org/ |
44 |
+ https://github.com/Legrandin/pycryptodome/ |
45 |
+ https://pypi.org/project/pycryptodome/" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD-2 Unlicense" |
51 |
+SLOT="0" |
52 |
+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" |
53 |
+IUSE="" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-libs/gmp:0= |
57 |
+ >=dev-libs/libtomcrypt-1.18.2-r1:=" |
58 |
+BDEPEND=" |
59 |
+ virtual/python-cffi[${PYTHON_USEDEP}]" |
60 |
+RDEPEND=" |
61 |
+ ${DEPEND} |
62 |
+ ${BDEPEND} |
63 |
+ !dev-python/pycrypto" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" |
67 |
+) |
68 |
+ |
69 |
+distutils_enable_tests setup.py |
70 |
+ |
71 |
+python_prepare_all() { |
72 |
+ # make sure we're unbundling it correctly |
73 |
+ rm -r src/libtom || die |
74 |
+ |
75 |
+ distutils-r1_python_prepare_all |
76 |
+} |