From edaa1095712c3facef79d2ec93d8bfc960b16b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 19 Jan 2021 09:42:01 +0100 Subject: [PATCH] dev-python/pycryptodomex: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pycryptodomex/Manifest | 2 - .../pycryptodome-3.9.4-parallel-make.patch | 22 -------- dev-python/pycryptodomex/metadata.xml | 16 ------ .../pycryptodomex/pycryptodomex-3.9.8.ebuild | 41 -------------- .../pycryptodomex/pycryptodomex-3.9.9.ebuild | 53 ------------------- profiles/package.mask | 8 --- 6 files changed, 142 deletions(-) delete mode 100644 dev-python/pycryptodomex/Manifest delete mode 100644 dev-python/pycryptodomex/files/pycryptodome-3.9.4-parallel-make.patch delete mode 100644 dev-python/pycryptodomex/metadata.xml delete mode 100644 dev-python/pycryptodomex/pycryptodomex-3.9.8.ebuild delete mode 100644 dev-python/pycryptodomex/pycryptodomex-3.9.9.ebuild diff --git a/dev-python/pycryptodomex/Manifest b/dev-python/pycryptodomex/Manifest deleted file mode 100644 index 27d3092aeaf78..0000000000000 --- a/dev-python/pycryptodomex/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST pycryptodome-3.9.9.tar.gz 15551299 BLAKE2B ac89bcc2bbe707cb2a9cf2496a2eb74ff5685f11017d60d67558de7ac6cad5c24c43b4074bff01e99378d7c88462e88e88f363c5329fb800e1a7872ad8a34dab SHA512 a1aad4d52256220fe3d5d7f399c2c5e7338d6eb88058da0571fe1c686d74d33ff4bc1c275d4b9373e0ff22f4ddcded75a25387e76fc65047f8612f8856c1bd4d -DIST pycryptodomex-3.9.8.tar.gz 15633485 BLAKE2B 3d7b8a74d2f7cc0f47c73f3f3d1dcf13c8b9feb9f2f532dc48751c4a73915aa081ecf273a81731076070f054f5b2037a5eba9054ca71e549aad18ed0c3148c74 SHA512 bcc5fb27a89c00e6348eacc744a23d687d0b308d5c8ad8f6d955fe2b9e84288a592206336e7fef699800948f8ea7b1ac06d2bec60df0b9ff0fa32d0a05380869 diff --git a/dev-python/pycryptodomex/files/pycryptodome-3.9.4-parallel-make.patch b/dev-python/pycryptodomex/files/pycryptodome-3.9.4-parallel-make.patch deleted file mode 100644 index 331333533f10c..0000000000000 --- a/dev-python/pycryptodomex/files/pycryptodome-3.9.4-parallel-make.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/setup.py b/setup.py -index 1d70caad..c72f64ff 100644 ---- a/setup.py -+++ b/setup.py -@@ -364,7 +364,7 @@ ext_modules = [ - Extension("Crypto.Cipher._raw_eksblowfish", - include_dirs=['src/'], - define_macros=[('EKS',None),], -- sources=["src/blowfish.c"]), -+ sources=["src/blowfish_eks.c"]), - Extension("Crypto.Cipher._raw_cast", - include_dirs=['src/'], - sources=["src/CAST.c"]), -@@ -427,7 +427,7 @@ 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'], - ), - ] - diff --git a/dev-python/pycryptodomex/metadata.xml b/dev-python/pycryptodomex/metadata.xml deleted file mode 100644 index 0bcccd6fc1e27..0000000000000 --- a/dev-python/pycryptodomex/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - chutzpah@gentoo.org - Patrick McLean - - - python@gentoo.org - Python project - - - Legrandin/pycryptodome - pycryptodomex - - diff --git a/dev-python/pycryptodomex/pycryptodomex-3.9.8.ebuild b/dev-python/pycryptodomex/pycryptodomex-3.9.8.ebuild deleted file mode 100644 index c00030d4846ce..0000000000000 --- a/dev-python/pycryptodomex/pycryptodomex-3.9.8.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} 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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD-2 Unlicense" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="dev-libs/gmp:0 - virtual/python-cffi[${PYTHON_USEDEP}] - !dev-python/pycrypto" -BDEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/pycryptodome-3.9.4-parallel-make.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 - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pycryptodomex/pycryptodomex-3.9.9.ebuild b/dev-python/pycryptodomex/pycryptodomex-3.9.9.ebuild deleted file mode 100644 index d59485bbd17db..0000000000000 --- a/dev-python/pycryptodomex/pycryptodomex-3.9.9.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -MY_P=${P/x/} -DESCRIPTION="A self-contained cryptographic library for Python" -HOMEPAGE="https://www.pycryptodome.org - https://github.com/Legrandin/pycryptodome/ - https://pypi.org/project/pycryptodomex/" -SRC_URI=" - https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2 Unlicense" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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" -BDEPEND=" - virtual/python-cffi[${PYTHON_USEDEP}]" -RDEPEND=" - ${DEPEND} - ${BDEPEND}" - -PATCHES=( - "${FILESDIR}/pycryptodome-3.9.4-parallel-make.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 - - # create the magic file to build cryptodomex from the sources - echo > .separate_namespace || die - - distutils-r1_python_prepare_all -} diff --git a/profiles/package.mask b/profiles/package.mask index 2c8fbe49c91fd..18e700b53525b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -230,14 +230,6 @@ media-gfx/wkhtmltopdf app-doc/clsync-docs dev-libs/libclsync -# Michał Górny (2020-12-22) -# Renamed version of dev-python/pycryptodome. The ebuild is missing -# fixes from the original. Maintaining and installing two copies -# of the same thing makes little sense, so we're forcing the former -# everywhere. -# Removal in 14 days. -dev-python/pycryptodomex - # Eray Aslan (2020-12-21) # Vulnerable. upgrade to >= 2.3.11.3. Masked until # mail-filter/dovecot_deleted_to_trash is treecleaned