1
0

2 Commits

Author SHA256 Message Date
9e29f0821d Accepting request 1291519 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1291519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geographiclib?expand=0&rev=4
2025-07-10 20:10:36 +00:00
e1e22f7e66 - Update version to 2.0:
* no upstream changelog found
- Stop shipping LICENSE seperately, it is now included in the sdist.
- Use pyproject macros to build and install.
- Explicitly list files and directories in %files.

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geographiclib?expand=0&rev=9
2025-07-09 15:18:28 +00:00
5 changed files with 21 additions and 34 deletions

View File

@@ -1,23 +0,0 @@
The MIT License (MIT).
Copyright (c) 2008-2022, Charles Karney
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12bd46ee7ec25b291ea139b17aa991e7ef373e21abd053949b75c0e9ca55c632
size 33532

3
geographiclib-2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7f41c85dc3e1c2d3d935ec86660dc3b2c848c83e17f9a9e51ba9d5146a15859
size 36720

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jun 17 04:47:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update version to 2.0:
* no upstream changelog found
- Stop shipping LICENSE seperately, it is now included in the sdist.
- Use pyproject macros to build and install.
- Explicitly list files and directories in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 26 07:56:51 UTC 2023 - Andreas Schneider <asn@cryptomilk.org> Mon Jun 26 07:56:51 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-geographiclib # spec file for package python-geographiclib
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,17 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-geographiclib Name: python-geographiclib
Version: 1.50 Version: 2.0
Release: 0 Release: 0
Summary: Python geodesic routines Summary: Python geodesic routines
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://geographiclib.sourceforge.io/ URL: https://geographiclib.sourceforge.io/
Source: https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/geographiclib/geographiclib-%{version}.tar.gz
Source1: https://sourceforge.net/p/geographiclib/code/ci/release/tree/LICENSE.txt?format=raw#/LICENSE.txt
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -41,13 +42,12 @@ GeodesicLine and PolygonArea.
%prep %prep
%setup -q -n geographiclib-%{version} %setup -q -n geographiclib-%{version}
cp %{SOURCE1} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/geographiclib/test %python_expand rm -r %{buildroot}%{$python_sitelib}/geographiclib/test
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -56,7 +56,8 @@ cp %{SOURCE1} .
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE.txt %license LICENSE
%{python_sitelib}/* %{python_sitelib}/geographiclib
%{python_sitelib}/geographiclib-%{version}.dist-info
%changelog %changelog