diff --git a/dev-python/openstep-plist/openstep-plist-0.3.0_p1.ebuild b/dev-python/openstep-plist/openstep-plist-0.3.0_p1.ebuild index 02f114b22f..f956d1f190 100644 --- a/dev-python/openstep-plist/openstep-plist-0.3.0_p1.ebuild +++ b/dev-python/openstep-plist/openstep-plist-0.3.0_p1.ebuild @@ -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 }