mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 16:43:17 -04:00
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:
@@ -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
|
||||
|
||||
11
dev-python/compreffor/files/remove-pytest-runner.patch
Normal file
11
dev-python/compreffor/files/remove-pytest-runner.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/setup.py 2021-03-27 18:38:41.032816105 +0100
|
||||
+++ b/setup.py 2021-03-27 18:38:57.087088810 +0100
|
||||
@@ -150,7 +150,7 @@
|
||||
cmdclass={
|
||||
'build_ext': custom_build_ext,
|
||||
},
|
||||
- setup_requires=pytest_runner + wheel,
|
||||
+ setup_requires=wheel,
|
||||
tests_require=[
|
||||
'pytest>=2.8',
|
||||
],
|
||||
Reference in New Issue
Block a user