forked from pool/python-geomet
- update to 1.1.0:
* Move project metadata to pyproject.toml, modify build scripts
* pyproject.toml: include the full README.md as the readme
contents
* Remove dependency on `six`
* Fix geojson to esrijson conversion with custom SRID
* Add explicit support for Python3.11
* docs: Simplify release process, make patch versioning more
clear
* Add explicit support for Python3.12
* Release 1.1.0
- drop python-geomet-no-six.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geomet?expand=0&rev=10
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-geomet
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,21 +17,21 @@
|
||||
|
||||
|
||||
Name: python-geomet
|
||||
Version: 1.0.0
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: GeoJSON <-> WKT/WKB conversion utilities
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/geomet/geomet
|
||||
Source: https://github.com/geomet/geomet/archive/%{version}.tar.gz
|
||||
# https://github.com/geomet/geomet/issues/90
|
||||
Patch0: python-geomet-no-six.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-click
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click}
|
||||
@@ -47,10 +47,10 @@ GeoJSON <-> WKT/WKB conversion utilities
|
||||
|
||||
%build
|
||||
sed -i '1{/^#!/ d}' geomet/*.py
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/geomet
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -68,6 +68,6 @@ sed -i '1{/^#!/ d}' geomet/*.py
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/geomet
|
||||
%{python_sitelib}/geomet
|
||||
%{python_sitelib}/geomet-%{version}-py*.egg-info
|
||||
%{python_sitelib}/geomet-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user