summaryrefslogtreecommitdiff
path: root/dev-python/autopxd/autopxd-2.5.0.ebuild
blob: f714b286481245d8d3155b8c32841f3c5bc167cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_{12..13} )
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
}