Accepting request 854463 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/854463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-12-12 19:27:15 +00:00 committed by Git OBS Bridge
commit cf7cde6b9c
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>

View File

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