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 @@
DIST autopxd2-2.5.0.tar.gz 109511 BLAKE2B 599ac008291d60a5734de034ff7341048b83114c835056525b08efbce20b9fd087e211cd00debd35ff2b050d9304e2218e48402ee12b47a731ed94be9dfaa009 SHA512 e1eecf7742d0520e62d850eff98904635507d75aaf1c6180d85d606050dfa216d5acd3e955a252db51986c11726f6e48b1ab8d2d9ea0893b0f5827332edd7ce0

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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>wuzhenyu@ustc.edu</email>
<name>Wu, Zhenyu</name>
</maintainer>
<upstream>
<remote-id type="pypi">autopxd2</remote-id>
<remote-id type="github">elijahr/python-autopxd2</remote-id>
</upstream>
</pkgmetadata>