1 |
commit: 0e04ca42980a6642e0bd23864c994d4b19587c8c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 18:58:01 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 18:58:01 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e04ca42 |
7 |
|
8 |
dev-python/pycryptodome: Remove old |
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.16.0.ebuild | 58 ---------------------- |
14 |
2 files changed, 59 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest |
17 |
index 6920e5e656b4..bc632c79f752 100644 |
18 |
--- a/dev-python/pycryptodome/Manifest |
19 |
+++ b/dev-python/pycryptodome/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pycryptodome-3.16.0.gh.tar.gz 16548063 BLAKE2B 4adf1c3027fe593e9a01eb0ea3da1f81ddcedd731a284a3f98dd02f07ba9eaa80e906bbcea1432fe64f08f0857033cfdbe43acd415fb3081718a301fbbb5ca16 SHA512 945c5bda213a08ba12a0ace8e4bf76730461f8dfce94fa426a97dfab846234ea06e121b176ae823d0f7da9316de50aafde6507a2f17efec4d4a0629d4d68d870 |
22 |
DIST pycryptodome-3.17.0.gh.tar.gz 16714317 BLAKE2B a7a96ba4d10078ba4d9bc02b384c982ad7307065fd6c9118def43bebc073eccdfc11a766742e5d0207e9cce32aca2fe3da51f8a59964de8c15db6808cc2aae03 SHA512 c0a0754c0dd1d8138e8dd27c034e3f3469237eb5f205d86d0c5e2377fd7672c6ed0df9717292a73d380daaabe88c3be80b575ca1149f4c70f08d82aed0d4b39c |
23 |
|
24 |
diff --git a/dev-python/pycryptodome/pycryptodome-3.16.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.16.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 84307c43e468..000000000000 |
27 |
--- a/dev-python/pycryptodome/pycryptodome-3.16.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,58 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
-PYTHON_REQ_USE="threads(+)" |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="A self-contained cryptographic library for Python" |
42 |
-HOMEPAGE=" |
43 |
- https://www.pycryptodome.org/ |
44 |
- https://github.com/Legrandin/pycryptodome/ |
45 |
- https://pypi.org/project/pycryptodome/ |
46 |
-" |
47 |
-SRC_URI=" |
48 |
- https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz |
49 |
- -> ${P}.gh.tar.gz |
50 |
-" |
51 |
- |
52 |
-LICENSE="BSD-2 Unlicense" |
53 |
-SLOT="0" |
54 |
-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" |
55 |
- |
56 |
-DEPEND=" |
57 |
- dev-libs/gmp:0= |
58 |
- >=dev-libs/libtomcrypt-1.18.2-r1:= |
59 |
-" |
60 |
-BDEPEND=" |
61 |
- virtual/python-cffi[${PYTHON_USEDEP}] |
62 |
-" |
63 |
-RDEPEND=" |
64 |
- ${DEPEND} |
65 |
- ${BDEPEND} |
66 |
- !dev-python/pycrypto |
67 |
-" |
68 |
- |
69 |
-PATCHES=( |
70 |
- "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" |
71 |
-) |
72 |
- |
73 |
-python_prepare_all() { |
74 |
- # make sure we're unbundling it correctly |
75 |
- rm -r src/libtom || die |
76 |
- |
77 |
- distutils-r1_python_prepare_all |
78 |
-} |
79 |
- |
80 |
-python_test() { |
81 |
- local -x PYTHONPATH=${S}/test_vectors:${PYTHONPATH} |
82 |
- "${EPYTHON}" - <<-EOF || die |
83 |
- import sys |
84 |
- from Crypto import SelfTest |
85 |
- SelfTest.run(verbosity=2, stream=sys.stdout) |
86 |
- EOF |
87 |
-} |