dev-python/autopxd2: add 4.0.2
Closes: https://github.com/gentoo-zh/overlay/issues/15264 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
1 parent
1fc79a36f3
commit
67d0fd0e7d
2 files changed
+50
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST autopxd2-4.0.1.tar.gz 95356 BLAKE2B 2477a2920d5c6cd1df86ba78cd2d26d1e50a46ee3d065cb0d9a85b8bd72480f12b306674e71d8f7778c4444c3b10ea983f2d759f3023292aa13856ecfcf28e7e SHA512 a0eef127d20a0e2289184f1175285f9a133ebd588a7a28aea8f5f87d5766c5a03fc347d6cba76cc117ff10c639e65bcbc522f6ee8c57ebc3c725966f3155e554
|
||||
DIST autopxd2-4.0.1.tar.gz.provenance 9971 BLAKE2B 02f7fa69586dee0ee8a9349e60a74596e6f77009527bc3714a2acafeb069c4eebfe0e09a54fcd18abfbc2e8d91802dcce25928b4f2e172d12d10d0ed8841fa06 SHA512 7bcb16fe517d224ca0da777d35d2398090dcbc0b8b5dbd0679ed452a421baaff28e4bece5a08fdd88db455567e6c4665304c07076086deb4537c9e0e449b89b6
|
||||
DIST autopxd2-4.0.2.gh.tar.gz 144074 BLAKE2B 1abc018d2305181dd050818fc9ce58811f913908f543111466a94aa4b1441e63402690d9503cd0fefcb102d855ece1a24436439d8bf2e9316006109de7e5a1be SHA512 708214ea87ec4f2a4841260abef969f1708f5f05cd483186304a8a736aebb30830bfaf012901bd3760921d057641819ecaf5b9ecebaa064bef6c562ea5f69d7a
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Generate Cython pxd files from C header files"
|
||||
HOMEPAGE="
|
||||
https://github.com/elijahr/python-autopxd2
|
||||
https://pypi.org/project/autopxd2/
|
||||
"
|
||||
|
||||
SRC_URI="https://github.com/elijahr/python-autopxd2/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/python-autopxd2-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/headerkit[${PYTHON_USEDEP}]
|
||||
llvm-core/clang
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-timeout )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest -m "not real_headers and not treesitter" -k "not tree-sitter"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix deprecated project.license table format (PEP 639)
|
||||
sed -i 's/^license = { file = "LICENSE" }/license = "MIT"/' pyproject.toml || die
|
||||
}
|
||||
Reference in new issue
Block a user