dev-python/autopxd: new package, add 2.5.0

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Wu, Zhenyu
2024-12-03 15:20:41 +08:00
parent 8272b6d03b
commit 69b1d547a8
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 )
PYPI_PN="${PN}2"
inherit distutils-r1 pypi
DESCRIPTION="generates .pxd files automatically from .h files"
HOMEPAGE="
https://github.com/elijahr/python-autopxd2
https://pypi.org/project/autopxd2
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
EPYTEST_XDIST=1
distutils_enable_tests pytest
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/pycparser[${PYTHON_USEDEP}]
"
python_test() {
epytest
}