From 4e801a78f2d76d1417faeb2b9435c3b803c9efd8cbb02fbb94df29070d5204fe Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 21 Jun 2023 20:14:53 +0000 Subject: [PATCH] - remove obsolete setup-remove-asterisk.patch - update to version 3.0.1: - Remove incorrect dependencies from build-system section of pyproject.toml by @mgorny in #405 - correct typo in function description of next_version by @treee111 in #406 - Improve GitHub Action by @tomschr in #408 - Add CITATION.cff for citation by @tomschr in #409 - Add Version class to __all__ export. Fix #410 by @Soneji in #411 - Configure docformatter by @tomschr in #412 - Prepare version 3.0.1 by @tomschr in #413 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=38 --- python-semver-3.0.0-dev.4-gh.tar.gz | 3 --- python-semver-3.0.1.tar.gz | 3 +++ python-semver.changes | 13 +++++++++++++ python-semver.spec | 9 +++------ setup-remove-asterisk.patch | 28 ---------------------------- 5 files changed, 19 insertions(+), 37 deletions(-) delete mode 100644 python-semver-3.0.0-dev.4-gh.tar.gz create mode 100644 python-semver-3.0.1.tar.gz delete mode 100644 setup-remove-asterisk.patch diff --git a/python-semver-3.0.0-dev.4-gh.tar.gz b/python-semver-3.0.0-dev.4-gh.tar.gz deleted file mode 100644 index 74380df..0000000 --- a/python-semver-3.0.0-dev.4-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92a8193c8013dd3d3f99fb0caf2fab8f0503388f748b6e1d903f8a752883f7d1 -size 63217 diff --git a/python-semver-3.0.1.tar.gz b/python-semver-3.0.1.tar.gz new file mode 100644 index 0000000..fa8d437 --- /dev/null +++ b/python-semver-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a13e16950222b1ff9a2154c55afcecf0a6a8069dafae5b1d650b85271879e27b +size 201999 diff --git a/python-semver.changes b/python-semver.changes index 82373e1..5e4d70a 100644 --- a/python-semver.changes +++ b/python-semver.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jun 21 20:11:42 UTC 2023 - Sebastian Wagner + +- remove obsolete setup-remove-asterisk.patch +- update to version 3.0.1: + - Remove incorrect dependencies from build-system section of pyproject.toml by @mgorny in #405 + - correct typo in function description of next_version by @treee111 in #406 + - Improve GitHub Action by @tomschr in #408 + - Add CITATION.cff for citation by @tomschr in #409 + - Add Version class to __all__ export. Fix #410 by @Soneji in #411 + - Configure docformatter by @tomschr in #412 + - Prepare version 3.0.1 by @tomschr in #413 + ------------------------------------------------------------------- Sat May 6 15:59:50 UTC 2023 - Sebastian Wagner diff --git a/python-semver.spec b/python-semver.spec index bd7462d..cb95762 100644 --- a/python-semver.spec +++ b/python-semver.spec @@ -18,15 +18,13 @@ %bcond_without test Name: python-semver -Version: 3.0.0 +Version: 3.0.1 Release: 0 Summary: Python helper for Semantic Versioning License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/python-semver/python-semver -Source: https://github.com/python-semver/python-semver/archive/refs/tags/3.0.0-dev.4.tar.gz#/%{name}-3.0.0-dev.4-gh.tar.gz -# PATCH-FIX-UPSTREAM - setup-remove-asterisk.patch -Patch0: https://github.com/python-semver/python-semver/pull/398.patch#/setup-remove-asterisk.patch +Source: https://github.com/python-semver/python-semver/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -45,8 +43,7 @@ A Python module for semantic versioning. Simplifies comparing versions. See also http://semver.org/ %prep -%setup -q -n python-semver-3.0.0-dev.4 -%patch0 -p1 +%setup -q -n python-semver-%{version} sed -i '/-cov/d' setup.cfg %build diff --git a/setup-remove-asterisk.patch b/setup-remove-asterisk.patch deleted file mode 100644 index 097a42d..0000000 --- a/setup-remove-asterisk.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 67464a70d0abb5c4a67c28369e49d112e364862b Mon Sep 17 00:00:00 2001 -From: Tom Schraitle -Date: Mon, 6 Mar 2023 11:42:34 +0100 -Subject: [PATCH] Fix #397: Remove asterisk in python_requires - -The asterisk in "python_requires = >= 3.7.*" make the -pyproject-build command fail with this exception: - - setuptools.extern.packaging.specifiers.InvalidSpecifier: Invalid specifier: '>=3.7.*' - -This fix removes the asterisk which leads to a successful build. ---- - setup.cfg | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.cfg b/setup.cfg -index 2673b0f..0ee8564 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -39,7 +39,7 @@ license = BSD - package_dir = - =src - packages = find: --python_requires = >=3.7.* -+python_requires = >=3.7 - include_package_data = True - - [options.entry_points]