dev-python/starkbank-ecdsa: use PEP517, enable py3.12, py3.13

Closes: https://bugs.gentoo.org/931432
Closes: https://bugs.gentoo.org/921872
Bug: https://bugs.gentoo.org/901219
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-05-15 12:22:33 -04:00
parent a8b22ca4e4
commit 7d4882c68d

View File

@@ -0,0 +1,29 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="A lightweight and fast pure python ECDSA library"
HOMEPAGE="https://github.com/starkbank/ecdsa-python/ https://pypi.org/project/starkbank-ecdsa/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest