17
0

5 Commits

4 changed files with 12 additions and 20 deletions

View File

@@ -1,11 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-versioningit
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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
@@ -23,7 +23,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-versioningit
Version: 3.3.0
Version: 3.1.2
Release: 0
Summary: Versioning It with your Version In Git
License: MIT
@@ -32,12 +32,7 @@ Source: https://files.pythonhosted.org/packages/source/v/versioningit/ve
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-packaging
Requires: python-tomli >= 1.2
Suggests: python-dataclasses
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module build}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
@@ -50,16 +45,21 @@ BuildRequires: %{python_module tomli >= 1.2}
BuildRequires: %{python_module wheel}
BuildRequires: git-core
# /SECTION
BuildRequires: fdupes
Requires: python-packaging
Requires: python-tomli >= 1.2
%if %{?python_version_nodots} < 310
Requires: python-importlib-metadata >= 3.6
%endif
Suggests: python-dataclasses
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -80,7 +80,7 @@ separate functions used for version extraction & calculation.
%python_clone -a %{buildroot}%{_bindir}/versioningit
%check
%pytest test -k 'not test_editable_mode and not test_install_from'
%pytest test -k 'not test_editable_mode or not test_end2end'
%pre
%python_libalternatives_reset_alternative versioningit

BIN
versioningit-3.1.2.tar.gz LFS Normal file

Binary file not shown.

Binary file not shown.