dev-python/compreffor: patch instead of sed

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-03-27 18:42:51 +01:00
parent eee1e847dd
commit b310ce46eb
2 changed files with 13 additions and 12 deletions

View File

@@ -25,16 +25,6 @@ BDEPEND="
app-arch/unzip
dev-python/cython[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/remove-pytest-runner.patch" )
distutils_enable_tests pytest
src_prepare() {
#undesired dependency
sed -i "s|setup_requires=pytest_runner + wheel,|setup_requires=wheel,|" setup.py
default
}
python_test() {
distutils_install_for_testing
default
}
distutils_enable_tests --install pytest