forked from pool/python-semver
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
8e06e2145b
commit
4e801a78f2
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92a8193c8013dd3d3f99fb0caf2fab8f0503388f748b6e1d903f8a752883f7d1
|
||||
size 63217
|
3
python-semver-3.0.1.tar.gz
Normal file
3
python-semver-3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a13e16950222b1ff9a2154c55afcecf0a6a8069dafae5b1d650b85271879e27b
|
||||
size 201999
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 20:11:42 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
- 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 <sebix@sebix.at>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,28 +0,0 @@
|
||||
From 67464a70d0abb5c4a67c28369e49d112e364862b Mon Sep 17 00:00:00 2001
|
||||
From: Tom Schraitle <tomschr@users.noreply.github.com>
|
||||
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]
|
Reference in New Issue
Block a user