Files
guru/dev-python/openstep-plist/openstep-plist-0.3.0_p1.ebuild
Anna (cybertailor) Vyalkova 5c024a5cc3 dev-python/openstep-plist: set DISTUTILS_EXT=1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-05-04 06:59:22 +05:00

36 lines
737 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1 pypi
DESCRIPTION="ASCII plist parser written in Cython"
HOMEPAGE="
https://pypi.org/project/openstep-plist/
https://github.com/fonttools/openstep-plist
"
SRC_URI="$(pypi_sdist_url ${PN} $(pypi_translate_version ${PV}) .zip)"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
BDEPEND="
app-arch/unzip
>=dev-python/cython-0.28.5[${PYTHON_USEDEP}]
test? (
dev-python/pytest-cython[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
find "${S}" -name '*.cpp' -delete || die
distutils-r1_src_prepare
}