#3 Update to 4.4.0
Merged 2 years ago by lbalhar. Opened 2 years ago by lbalhar.
rpms/ lbalhar/python-geoip2 rawhide  into  rawhide

file modified
+1
@@ -14,3 +14,4 @@ 

  /GeoIP2-python-4.1.0.tar.gz

  /MaxMind-DB-cbaa463dc6950ababbf678ca85fb3833b81c76d3.tar.gz

  /GeoIP2-python-4.2.0.tar.gz

+ /GeoIP2-python-4.4.0.tar.gz

file modified
+17 -14
@@ -7,8 +7,8 @@ 

  %global test_data_rls cbaa463dc6950ababbf678ca85fb3833b81c76d3

  

  Name:           python-%{pypi_name}

- Version:        4.2.0

- Release:        3%{?dist}

+ Version:        4.4.0

+ Release:        1%{?dist}

  Summary:        MaxMind GeoIP2 API

  

  License:        ASL 2.0
@@ -18,17 +18,15 @@ 

  

  BuildArch:      noarch

  

+ BuildRequires:  python3-devel

+ BuildRequires:  pyproject-rpm-macros

+ BuildRequires:  %{_bindir}/sphinx-build

+ 

  %description

  %{desc}

  

  %package -n python3-%{pypi_name}

  Summary:        %{summary}

- BuildRequires:  python3-devel

- BuildRequires:  python3-setuptools

- BuildRequires:  python3-requests

- BuildRequires:  python3-maxminddb

- BuildRequires:  python3-requests-mock

- BuildRequires:  python3-aiohttp

  %{?python_provide:%python_provide python3-%{pypi_name}}

  

  %description -n python3-%{pypi_name}
@@ -36,7 +34,6 @@ 

  

  %package doc

  Summary:        Documentation for %{name}

- BuildRequires:  %{_bindir}/sphinx-build

  

  %description doc

  This package provides the documentation for %{pypi_name}.
@@ -46,29 +43,35 @@ 

  rmdir tests/data

  mv -f %{test_data}-%{test_data_rls} tests/data

  

+ %generate_buildrequires

+ %pyproject_buildrequires -r

+ 

  %build

- %py3_build

+ %pyproject_wheel

  sphinx-build -b html docs html

  rm -rf html/.{buildinfo,doctrees}

  

  %install

- %py3_install

+ %pyproject_install

+ %pyproject_save_files %{pypi_name}

  

  %check

  # tests/webservice_test.py requires mocket not available in Fedora

  PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest tests/database_test.py tests/models_test.py

  

- %files -n python3-%{pypi_name}

+ %files -n python3-%{pypi_name} -f %{pyproject_files}

  %doc README.rst

  %license LICENSE

- %{python3_sitelib}/%{pypi_name}/

- %{python3_sitelib}/%{pypi_name}-*.egg-info/

  

  %files doc

  %doc html/

  %license LICENSE

  

  %changelog

+ * Tue Oct 05 2021 Lumír Balhar <lbalhar@redhat.com> - 4.4.0-1

+ - Update to 4.4.0

+ Resolves#2006211

+ 

  * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

  

file modified
+1 -1
@@ -1,2 +1,2 @@ 

- SHA512 (GeoIP2-python-4.2.0.tar.gz) = e58320152c36a1bdeb509330a31b852ecdefa3ec65127e75be38d494378754af923ab0e078038674a8ecaa8e6a30c174255d5f430daabaaad33fbd7a9650df3a

+ SHA512 (GeoIP2-python-4.4.0.tar.gz) = 78bf77f59f8d7fce7ae103d4186cac37bc4388d780ad38b5e7314b34ffa72bc96793202d3b5d8104d2509733300115dcd1c9d29bcf12beee5b415dee12ee6f3c

  SHA512 (MaxMind-DB-cbaa463dc6950ababbf678ca85fb3833b81c76d3.tar.gz) = 337552c1d6524ba31c1d3df55c0b6137ca2d5115529b8c1a619c82baa198886c274bac4228e456273851bddc46ca983ad2be6329b8f19d2769b745fb2c0f96b1

no initial comment

rebased onto 7eae2b0

2 years ago

Pull-Request has been merged by lbalhar

2 years ago