dev-python/pycryptodome: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-04 19:12:12 +02:00
parent 91d7898225
commit b33edff084
2 changed files with 0 additions and 61 deletions

View File

@@ -1,2 +1 @@
DIST pycryptodome-3.22.0.gh.tar.gz 19700949 BLAKE2B 381aec9085ce2e54dd99061b5966409aca4e0da4315c0e7234f7620438cfbec303d1914ddc20ac529a5504bbdb3354976e56f0cb9c37030da142da33bf620798 SHA512 e997b4ffa2d003bfcd4b53af58d18e07db5aee4fea539f76c3b13c2ed92a9067d73f5bdfd19c649a2584ef143a918e9905f10e6d57a927a5d50ce19e5e95268f
DIST pycryptodome-3.23.0.gh.tar.gz 19732639 BLAKE2B 55ba3bea9d215dfd1f20262f9e333c78c126a7bb07b4f0ed795bb354a609082aea5ba1571fd29c76c716cfd7c74a6187509de7a8cc0e1eb03e27a2068c7aacb3 SHA512 564bad0257f50eaf9f4318c39bc224b79fe0051b4e2d6cff4c1070d2065cf9eb03bce661f9d21346414f9942bbc10a9f40e976eee104231718d1b9484fcbb022

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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}.gh.tar.gz
"
LICENSE="BSD-2 Unlicense"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
DEPEND="
dev-libs/gmp:=
>=dev-libs/libtomcrypt-1.18.2-r1:=
"
BDEPEND="
$(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*')
"
RDEPEND="
${DEPEND}
${BDEPEND}
"
PATCHES=(
"${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch"
)
python_prepare_all() {
# make sure we're unbundling it correctly
rm -r src/libtom || die
distutils-r1_python_prepare_all
}
python_test() {
local -x PYTHONPATH=${S}/test_vectors:${PYTHONPATH}
"${EPYTHON}" - <<-EOF || die
import sys
from Crypto import SelfTest
SelfTest.run(verbosity=2, stream=sys.stdout)
EOF
# TODO: run cmake tests from src/test?
}