forked from pool/python-pyudev
Accepting request 333211 from home:adra:branches:devel:languages:python
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
This commit is contained in:
committed by
Git OBS Bridge
parent
ccc2b13f2f
commit
5eaf2d6627
15
do_not_install_tests.patch
Normal file
15
do_not_install_tests.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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']),
|
||||||
|
)
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 23 18:44:41 UTC 2015 - asterios.dramis@gmail.com
|
||||||
|
|
||||||
|
- Added a patch (do_not_install_tests.patch) to not install the
|
||||||
|
tests as a module (not needed). Fixes also file conflicts in
|
||||||
|
Factory.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 15 05:47:44 UTC 2015 - hpj@urpla.net
|
Tue Sep 15 05:47:44 UTC 2015 - hpj@urpla.net
|
||||||
|
|
||||||
|
@@ -24,6 +24,8 @@ License: LGPL-2.1+
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://pyudev.readthedocs.org/
|
Url: http://pyudev.readthedocs.org/
|
||||||
Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/p/pyudev/pyudev-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-OPENSUSE do_not_install_tests.patch asterios.dramis@gmail.com -- Do not install the tests as a module
|
||||||
|
Patch0: do_not_install_tests.patch
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@@ -49,6 +51,7 @@ in modern linux systems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyudev-%{version}
|
%setup -q -n pyudev-%{version}
|
||||||
|
%patch0 -p1
|
||||||
# Disable intersphinx and issuetracker, we don't want to access the web during doc build:
|
# Disable intersphinx and issuetracker, we don't want to access the web during doc build:
|
||||||
sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
|
sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker',\\?||" doc/conf.py
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user