forked from pool/python-pyudev
Added a patch (do_not_install_tests.patch) to not install the tests as a module. Fixes also file conflicts in Factory OBS-URL: https://build.opensuse.org/request/show/333211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=19
16 lines
495 B
Diff
16 lines
495 B
Diff
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: pyudev-0.17/setup.py
|
|
===================================================================
|
|
--- pyudev-0.17.orig/setup.py
|
|
+++ pyudev-0.17/setup.py
|
|
@@ -52,5 +52,5 @@ setuptools.setup(
|
|
'Topic :: System :: Hardware',
|
|
'Topic :: System :: Operating System Kernels :: Linux',
|
|
],
|
|
- packages=setuptools.find_packages(),
|
|
+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']),
|
|
)
|