Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-geolib for openSUSE:Factory 
checked in at 2023-09-11 21:21:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-geolib (Old)
 and      /work/SRC/openSUSE:Factory/.python-geolib.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-geolib"

Mon Sep 11 21:21:59 2023 rev:3 rq:1110198 version:1.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-geolib/python-geolib.changes      
2019-07-04 15:43:57.834174076 +0200
+++ /work/SRC/openSUSE:Factory/.python-geolib.new.1766/python-geolib.changes    
2023-09-11 21:26:31.906676950 +0200
@@ -1,0 +2,8 @@
+Mon Sep 11 05:55:24 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch fix-setup.py.patch, correct version, drop unused
+  requirements.
+- Switch to pyproject and autosetup macros.
+- Stop using greedy globs in %files.
+
+-------------------------------------------------------------------

New:
----
  fix-setup.py.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-geolib.spec ++++++
--- /var/tmp/diff_new_pack.gOnYYA/_old  2023-09-11 21:26:32.998715881 +0200
+++ /var/tmp/diff_new_pack.gOnYYA/_new  2023-09-11 21:26:32.998715881 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-geolib
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,30 +16,26 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-geolib
 Version:        1.0.7
 Release:        0
 Summary:        A library for geohash encoding, decoding and associated 
functions
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://geolib.readthedocs.io/en/latest/
-# does not include license, docs, tests: 
https://github.com/joyanujoy/geolib/issues/1
-#Source:         
https://files.pythonhosted.org/packages/source/g/geolib/geolib-%{version}.tar.gz
 Source:         
https://github.com/joyanujoy/geolib/archive/%{version}.tar.gz#/geolib-%{version}.tar.gz
+Patch0:         fix-setup.py.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module pytest}
 # /SECTION
 # SECTION docs requirements
 BuildRequires:  python3-Sphinx
 # /SECTION
 BuildRequires:  fdupes
-Requires:       python-future
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -48,10 +44,10 @@
 https://www.movable-type.co.uk/scripts/geohash.html .
 
 %prep
-%setup -q -n geolib-%{version}
+%autosetup -p1 -n geolib-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 pushd docs
 make html
 rm _build/html/.buildinfo
@@ -59,8 +55,8 @@
 popd
 
 %install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}a
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest
@@ -68,5 +64,6 @@
 %files %{python_files}
 %doc README.md docs/_build/html/
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/geolib
+%{python_sitelib}/geolib-%{version}.dist-info
 

++++++ fix-setup.py.patch ++++++
Index: geolib-1.0.7/setup.py
===================================================================
--- geolib-1.0.7.orig/setup.py
+++ geolib-1.0.7/setup.py
@@ -3,17 +3,14 @@ import setuptools
 with open("README.md", "r") as fh:
     long_description = fh.read()
 
-requires = [
-    'future'
-]
+requires = []
 test_requirements = [
-    'future',
     'pytest'
 ]
 
 setuptools.setup(
     name="geolib",
-    version="1.0.6",
+    version="1.0.7",
     author="Anu Joy",
     author_email="o...@cartographix.org",
     description="A library for geohash encoding, decoding and associated 
functions",
Index: geolib-1.0.7/requirements.txt
===================================================================
--- geolib-1.0.7.orig/requirements.txt
+++ geolib-1.0.7/requirements.txt
@@ -1 +0,0 @@
-future>=0.16.0

Reply via email to