mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/openstep-plist: set DISTUTILS_EXT=1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -5,6 +5,7 @@ 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"
|
||||
@@ -19,8 +20,8 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
>=dev-python/cython-0.28.5[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
@@ -29,11 +30,6 @@ BDEPEND="
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
find "${S}" -name '*.cpp' -delete || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
distutils-r1_src_configure
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="$(pypi_translate_version ${PV})"
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user