Accepting request 854405 from home:bnavigator:branches:Application:Geo

- replace deprecated setup.py test call by pyunittest macro so that
  pip does not try to download stuff

OBS-URL: https://build.opensuse.org/request/show/854405
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=14
This commit is contained in:
Paolo Stivanin 2020-12-10 07:43:01 +00:00 committed by Git OBS Bridge
parent 08f62bbdfc
commit 7acdab65c0
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 10 01:27:35 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- replace deprecated setup.py test call by pyunittest macro so that
pip does not try to download stuff
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 4 15:56:32 UTC 2020 - Paolo Stivanin <info@paolostivanin.com> Wed Nov 4 15:56:32 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -62,11 +62,12 @@ The API also works with MaxMind's free GeoLite2 databases.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %pyunittest tests/*_test.py -v
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst HISTORY.rst %doc README.rst HISTORY.rst
%{python_sitelib}/* %{python_sitelib}/geoip2
%{python_sitelib}/geoip2-%{version}*-info
%changelog %changelog