sslcrypto: new ebuild for proxmark3 dep

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-09-11 21:17:14 -04:00
parent 7f70a0a82b
commit e386c61e59
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST sslcrypto-5.3.tar.gz 28108 BLAKE2B 36d49b20a761c90b58949f29b6f92f3550c17d3f16b4a9798b5b9e76b7346a835c912fbd461274c457a732eef616e17ed886c8e05af17a03fd069839d8ab5cf8 SHA512 3a873dc5ad38576301d7da1a78d1772ee41d45a749e5bf35146711283908947dfef6f64f67c0984d09f7a96513d3481d6c768d04a93d2ba96a0e89add16759ac

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">sslcrypto</remote-id>
</upstream>
</pkgmetadata>

View file

@ -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
}