From cd3cacc689ec95d3f9562d1cfcf1d7749a2b3b973994da143cf5d6cb584ee6da Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Jun 2024 07:47:40 +0000 Subject: [PATCH 1/2] - update to 4.0.3: * Prepare for Python 3.13. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uritools?expand=0&rev=9 --- python-uritools.changes | 6 ++++++ python-uritools.spec | 4 ++-- uritools-4.0.2.tar.gz | 3 --- uritools-4.0.3.tar.gz | 3 +++ 4 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 uritools-4.0.2.tar.gz create mode 100644 uritools-4.0.3.tar.gz diff --git a/python-uritools.changes b/python-uritools.changes index 95382a4..9d5b541 100644 --- a/python-uritools.changes +++ b/python-uritools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 10 07:47:32 UTC 2024 - Dirk Müller + +- update to 4.0.3: + * Prepare for Python 3.13. + ------------------------------------------------------------------- Mon Dec 4 11:29:49 UTC 2023 - Dirk Müller diff --git a/python-uritools.spec b/python-uritools.spec index aba9817..ff5f4be 100644 --- a/python-uritools.spec +++ b/python-uritools.spec @@ -1,7 +1,7 @@ # # spec file for package python-uritools # -# 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 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-uritools -Version: 4.0.2 +Version: 4.0.3 Release: 0 Summary: URI parsing, classification and composition License: MIT diff --git a/uritools-4.0.2.tar.gz b/uritools-4.0.2.tar.gz deleted file mode 100644 index 7da8b82..0000000 --- a/uritools-4.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573 -size 23673 diff --git a/uritools-4.0.3.tar.gz b/uritools-4.0.3.tar.gz new file mode 100644 index 0000000..8325d68 --- /dev/null +++ b/uritools-4.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee06a182a9c849464ce9d5fa917539aacc8edd2a4924d1b7aabeeecabcae3bc2 +size 24184 From 667e1630de618c4b9054bcee433bb269e2d3da41c5cf9fa3e98af774da5cf491 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Jun 2024 07:48:57 +0000 Subject: [PATCH 2/2] - use PEP 517 build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uritools?expand=0&rev=10 --- python-uritools.changes | 1 + python-uritools.spec | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-uritools.changes b/python-uritools.changes index 9d5b541..ed68ee6 100644 --- a/python-uritools.changes +++ b/python-uritools.changes @@ -3,6 +3,7 @@ Mon Jun 10 07:47:32 UTC 2024 - Dirk Müller - update to 4.0.3: * Prepare for Python 3.13. +- use PEP 517 build ------------------------------------------------------------------- Mon Dec 4 11:29:49 UTC 2023 - Dirk Müller diff --git a/python-uritools.spec b/python-uritools.spec index ff5f4be..e94d95b 100644 --- a/python-uritools.spec +++ b/python-uritools.spec @@ -25,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/tkem/uritools/ Source: https://files.pythonhosted.org/packages/source/u/uritools/uritools-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +40,10 @@ URI parsing, classification and composition. %setup -q -n uritools-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -50,6 +52,7 @@ URI parsing, classification and composition. %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/uritools +%{python_sitelib}/uritools-%{version}.dist-info %changelog