forked from pool/python-versioningit
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bcf4cf348a | |||
|
|
65d9726f6f | ||
| d96aec4195 | |||
| dade080468 | |||
| 3514bd1586 | |||
|
|
b2ded37ae2 | ||
|
|
f4adad9269 |
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 5 00:53:26 UTC 2025 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
|
||||||
|
|
||||||
|
- update to 3.3.0:
|
||||||
|
* Added {normalized_version} to the fields available to the write and onbuild steps
|
||||||
|
* Support reading configuration from a versioningit.toml file instead of pyproject.toml (contributed by @b-sturgeon)
|
||||||
|
* Added NoConfigFileError and NoConfigSectionError subclasses of NotVersioningitError
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 2 09:30:14 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 12 06:04:22 UTC 2024 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
|
||||||
|
|
||||||
|
- update to 3.1.2:
|
||||||
|
* Drop support for Python 3.7
|
||||||
|
* Bugfix: When using versioningit with Hatch, don't run the onbuild step for editable builds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 2 22:04:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu May 2 22:04:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-versioningit
|
# spec file for package python-versioningit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -21,18 +21,23 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-versioningit
|
Name: python-versioningit
|
||||||
Version: 3.1.1
|
Version: 3.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Versioning It with your Version In Git
|
Summary: Versioning It with your Version In Git
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jwodder/versioningit
|
URL: https://github.com/jwodder/versioningit
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/versioningit/versioningit-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/versioningit/versioningit-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-packaging
|
||||||
|
Requires: python-tomli >= 1.2
|
||||||
|
Suggests: python-dataclasses
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
|
||||||
@@ -45,21 +50,16 @@ BuildRequires: %{python_module tomli >= 1.2}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires: python-packaging
|
|
||||||
Requires: python-tomli >= 1.2
|
|
||||||
%if %{?python_version_nodots} < 310
|
%if %{?python_version_nodots} < 310
|
||||||
Requires: python-importlib-metadata >= 3.6
|
Requires: python-importlib-metadata >= 3.6
|
||||||
%endif
|
%endif
|
||||||
Suggests: python-dataclasses
|
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -80,7 +80,7 @@ separate functions used for version extraction & calculation.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/versioningit
|
%python_clone -a %{buildroot}%{_bindir}/versioningit
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest test -k 'not test_editable_mode or not test_end2end'
|
%pytest test -k 'not test_editable_mode and not test_install_from'
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative versioningit
|
%python_libalternatives_reset_alternative versioningit
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b0ba586e5af08b87dbe3354082910a1d0502c36202d496e1ae60ef3b41ee29c1
|
|
||||||
size 212882
|
|
||||||
BIN
versioningit-3.3.0.tar.gz
LFS
Normal file
BIN
versioningit-3.3.0.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user