summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-31 21:32:45 +0100
committerMichał Górny <mgorny@gentoo.org>2021-10-31 21:33:28 +0100
commit46a2594793fad37bb1568d848df0126d54183c92 (patch)
tree5100313ac252a035019369a2a0d35c371f82c4d4
parentdev-python/doc8: Remove old (diff)
downloadgentoo-46a2594793fad37bb1568d848df0126d54183c92.tar.gz
gentoo-46a2594793fad37bb1568d848df0126d54183c92.tar.bz2
gentoo-46a2594793fad37bb1568d848df0126d54183c92.zip
dev-python/pycryptodome: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/pycryptodome/Manifest2
-rw-r--r--dev-python/pycryptodome/files/pycryptodome-3.10.1-parallel-make.patch22
-rw-r--r--dev-python/pycryptodome/pycryptodome-3.10.1.ebuild54
-rw-r--r--dev-python/pycryptodome/pycryptodome-3.10.4.ebuild45
4 files changed, 0 insertions, 123 deletions
diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest
index a65f0924ccc5..33a931ee4c05 100644
--- a/dev-python/pycryptodome/Manifest
+++ b/dev-python/pycryptodome/Manifest
@@ -1,3 +1 @@
-DIST pycryptodome-3.10.1.tar.gz 15545471 BLAKE2B ef1922efd0b6bef6beaee76fe03a4201a6f1cf2a203abcb12b96a5ea7c8de59a34ac704fe7508a3728a214efc0755f289d66dc14a0adb3f2eac882bc8db691bf SHA512 4c7e7e989d5363064e7e184f6b00a174045e03916cdf1199626afd7fe75eb5efcd13888ecdee607b974e96faad465694b384eb6d91edb8de1d0277ad71888c52
-DIST pycryptodome-3.10.4.tar.gz 15552675 BLAKE2B aaa6e6768d099b7b229f2b920671577800baea11b8b5a8efdd818f3d5685e46ac51d1c79d9c987f1d93cc9df98c786028137348c946da7aff35fc436ff21894c SHA512 1ee2f6c499d7ea73bdeafc94b1e91b45bf888f84ea214a01db180e030b4724264ba05e16241c465484ec13075f5300f6c489229bedb84e54b93e2852906b634f
DIST pycryptodome-3.11.0.tar.gz 15555515 BLAKE2B fee6a2f2ac0659c82efed2cfdaf7c4d1e4813aaa2203c41c249a7e512a4ec1c955f443022e81847fbfd095cd95f205c054b8c3ef90f4741063c679798cd8c5e5 SHA512 9a6f94a78909b236e9b9224915495f092891951b76836396706c11e8e87717ff84fd92fe04ad641d6a5a0ef1f3b339990d7f21a326e72b95b166a76169240964
diff --git a/dev-python/pycryptodome/files/pycryptodome-3.10.1-parallel-make.patch b/dev-python/pycryptodome/files/pycryptodome-3.10.1-parallel-make.patch
deleted file mode 100644
index 3b8f503bb290..000000000000
--- a/dev-python/pycryptodome/files/pycryptodome-3.10.1-parallel-make.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -dupr a/setup.py b/setup.py
---- a/setup.py 2021-02-09 13:46:16.138626317 +0100
-+++ b/setup.py 2021-02-09 13:46:51.116065599 +0100
-@@ -360,7 +360,7 @@ ext_modules = [
- Extension("Crypto.Cipher._raw_eksblowfish",
- include_dirs=['src/'],
- define_macros=[('EKS',None),],
-- sources=["src/blowfish.c"],
-+ sources=["src/blowfish_eks.c"],
- py_limited_api=True),
- Extension("Crypto.Cipher._raw_cast",
- include_dirs=['src/'],
-@@ -442,7 +442,8 @@ ext_modules = [
- # Math
- Extension("Crypto.Math._modexp",
- include_dirs=['src/'],
-- sources=['src/modexp.c', 'src/siphash.c', 'src/modexp_utils.c', 'src/mont.c'],
-+ sources=['src/modexp.c', 'src/siphash.c', 'src/modexp_utils.c',
-+ 'src/mont_math.c'],
- py_limited_api=True,
- ),
- ]
diff --git a/dev-python/pycryptodome/pycryptodome-3.10.1.ebuild b/dev-python/pycryptodome/pycryptodome-3.10.1.ebuild
deleted file mode 100644
index 16d872aebcf2..000000000000
--- a/dev-python/pycryptodome/pycryptodome-3.10.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="A self-contained cryptographic library for Python"
-HOMEPAGE="https://www.pycryptodome.org/
- https://github.com/Legrandin/pycryptodome/
- https://pypi.org/project/pycryptodome/"
-SRC_URI="
- https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="BSD-2 Unlicense"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="
- dev-libs/gmp:0=
- >=dev-libs/libtomcrypt-1.18.2-r1:="
-BDEPEND="
- virtual/python-cffi[${PYTHON_USEDEP}]"
-RDEPEND="
- ${DEPEND}
- ${BDEPEND}
- !dev-python/pycrypto"
-
-PATCHES=(
- "${FILESDIR}/pycryptodome-3.10.1-parallel-make.patch"
- "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch"
-)
-
-distutils_enable_tests setup.py
-
-python_prepare_all() {
- # parallel make fixes
- # Multiple targets were compiling the same file, setuptools doesn't
- # understand this and you get race conditions where a file gets
- # overwritten while it's linking. This makes the files look like separate
- # files so this race won't happen
- ln src/blowfish.c src/blowfish_eks.c || die
- ln src/mont.c src/mont_math.c || die
-
- # make sure we're unbundling it correctly
- rm -r src/libtom || die
-
- distutils-r1_python_prepare_all
-}
diff --git a/dev-python/pycryptodome/pycryptodome-3.10.4.ebuild b/dev-python/pycryptodome/pycryptodome-3.10.4.ebuild
deleted file mode 100644
index 9bf29ac5892e..000000000000
--- a/dev-python/pycryptodome/pycryptodome-3.10.4.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="A self-contained cryptographic library for Python"
-HOMEPAGE="https://www.pycryptodome.org/
- https://github.com/Legrandin/pycryptodome/
- https://pypi.org/project/pycryptodome/"
-SRC_URI="
- https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="BSD-2 Unlicense"
-SLOT="0"
-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"
-IUSE=""
-
-DEPEND="
- dev-libs/gmp:0=
- >=dev-libs/libtomcrypt-1.18.2-r1:="
-BDEPEND="
- virtual/python-cffi[${PYTHON_USEDEP}]"
-RDEPEND="
- ${DEPEND}
- ${BDEPEND}
- !dev-python/pycrypto"
-
-PATCHES=(
- "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch"
-)
-
-distutils_enable_tests setup.py
-
-python_prepare_all() {
- # make sure we're unbundling it correctly
- rm -r src/libtom || die
-
- distutils-r1_python_prepare_all
-}