1
0
mirror of synced 2024-12-22 12:50:33 +01:00

dev-python/pycryptodomex: new package (DANDI stack)

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2021-09-27 06:41:18 -04:00
parent 7fc5e96547
commit 65cba594f3
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,5 @@
*pycryptodomex-3.10.4 (27 Sep 2021)
27 Sep 2021; <chymera@gentoo.org> +metadata.xml,
+pycryptodomex-3.10.4.ebuild:
dev-python/pycryptodomex: new package (DANDI stack)

View File

@ -0,0 +1 @@
DIST pycryptodomex-3.10.4.tar.gz 3797210 SHA256 acd3498a8ccf8ad20ce7daa5f7f5e6521465eeceb026f28a6adb0228dd9fcc6e SHA512 38a24f8a51c6b3d03e6fc7226921956bfaea4d8839a1e308de417d76931eedc969d913b62d7001bf2116ab613c31e6802194127af25cee2ff83971f871a62111 WHIRLPOOL 60786c71df0a9ca92ebb7a7633676bc6aaf19ebdb69f68a99058252e715462067f53b12cb83277d82d16e3ab4b49c594061e2e0c73a1bddd976b1f51877b626a

View File

@ -0,0 +1,26 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@chymera.eu</email>
<name>Horea Christian</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives. It is a fork of PyCrypto, and brings
numerous enhancements with respect to the official versions of
PyCrypto, such as Authenticated encryption modes (GCM, CCM, EAX,
SIV, OCB), Accelerated AES on Intel platforms via AES-NI, Elliptic
curves cryptography (NIST P-256, P-384 and P-521 curves only),
SHA-3 (including SHAKE XOFs), truncated SHA-512 and BLAKE2 hash
algorithms, and many more. PyCryptodome is not a wrapper to a
separate C library like OpenSSL. To the largest possible extent,
algorithms are implemented in pure Python. Only the pieces that
are extremely critical to performance (e.g. block ciphers) are
implemented as C extensions.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,34 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Cryptographic library for Python"
HOMEPAGE="https://www.pycryptodome.org https://pypi.org/project/pycryptodomex/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="test"
# Numerous tests fail, reported upstream https://github.com/Legrandin/pycryptodome/issues/549
DOCS="README.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}