forked from pool/python-zope.location
Accepting request 1241341 from home:mcalabkova:branches:devel:languages:python
- Add minimal-dependencies.patch fixing the issue with test. OBS-URL: https://build.opensuse.org/request/show/1241341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.location?expand=0&rev=16
This commit is contained in:
@@ -34,6 +34,8 @@ License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
URL: https://www.python.org/pypi/zope.location
|
||||
Source: https://files.pythonhosted.org/packages/source/z/zope.location/zope.location-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/zopefoundation/zope.location/pull/14 Add tests for minimal dependencies.
|
||||
Patch: minimal-dependencies.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module zope.schema >= 4.2.2}
|
||||
@@ -56,7 +58,7 @@ BuildRequires: %{python_module zope.testrunner}
|
||||
In Zope3, location are special objects that has a structural location.
|
||||
|
||||
%prep
|
||||
%setup -q -n zope.location-%{version}
|
||||
%autosetup -p1 -n zope.location-%{version}
|
||||
rm -rf src/zope.location.egg-info
|
||||
|
||||
%build
|
||||
@@ -70,8 +72,6 @@ rm -rf src/zope.location.egg-info
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# https://github.com/zopefoundation/zope.location/issues/12
|
||||
rm src/zope/location/tests/test_configure.py
|
||||
%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user