diff --git a/dev-python/sslcrypto/Manifest b/dev-python/sslcrypto/Manifest new file mode 100644 index 000000000..21181b1ba --- /dev/null +++ b/dev-python/sslcrypto/Manifest @@ -0,0 +1 @@ +DIST sslcrypto-5.3.tar.gz 28108 BLAKE2B 36d49b20a761c90b58949f29b6f92f3550c17d3f16b4a9798b5b9e76b7346a835c912fbd461274c457a732eef616e17ed886c8e05af17a03fd069839d8ab5cf8 SHA512 3a873dc5ad38576301d7da1a78d1772ee41d45a749e5bf35146711283908947dfef6f64f67c0984d09f7a96513d3481d6c768d04a93d2ba96a0e89add16759ac diff --git a/dev-python/sslcrypto/metadata.xml b/dev-python/sslcrypto/metadata.xml new file mode 100644 index 000000000..adc4cfca2 --- /dev/null +++ b/dev-python/sslcrypto/metadata.xml @@ -0,0 +1,8 @@ + + + + + + sslcrypto + + diff --git a/dev-python/sslcrypto/sslcrypto-5.3.ebuild b/dev-python/sslcrypto/sslcrypto-5.3.ebuild new file mode 100644 index 000000000..3f7f458ed --- /dev/null +++ b/dev-python/sslcrypto/sslcrypto-5.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="ECIES, AES and RSA OpenSSL-based implementation with fallback" +HOMEPAGE=" + https://pypi.org/project/sslcrypto/ +" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +#Missing some files in test/ ? +RESTRICT="test" + +DEPEND="dev-python/base58 + dev-python/pyaes +" +RDEPEND="${RDPEND}" + +distutils_enable_tests pytest + +src_prepare() { + #ends up stray and doesn't work anyway due to missing files + rm -rf "${S}/test" + distutils-r1_src_prepare +}