mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-python/pure-protobuf: patch exclude variable in setup.py
we used the python_foreach_impl function wrong
python_install is already run with python_foreach_impl,
thus the function should not be used inside python_install
for this there is python_install_all, but this is run after
python_foreach_impl python_install so we again get the
'${P} installs tests' error. Instead I just patched
a fix, this fix is also already in upstream master
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index deb6c95..2ae6c69 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -9,7 +9,7 @@ setup(
|
||||
author='Pavel Perestoronin',
|
||||
author_email='eigenein@gmail.com',
|
||||
url='https://github.com/eigenein/protobuf',
|
||||
- packages=find_packages(exclude=['tests']),
|
||||
+ packages=find_packages(exclude=['tests*']),
|
||||
zip_safe=True,
|
||||
install_requires=[
|
||||
'dataclasses>=0.6,<1.0; python_version < "3.7"',
|
||||
Reference in New Issue
Block a user