14
0

7 Commits

Author SHA256 Message Date
bcf4cf348a Accepting request 1310795 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1310795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-versioningit?expand=0&rev=10
2025-10-12 20:24:02 +00:00
Tejas Guruswamy
65d9726f6f - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=26
2025-10-05 00:54:20 +00:00
d96aec4195 Accepting request 1290014 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1290014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-versioningit?expand=0&rev=9
2025-07-06 14:59:29 +00:00
dade080468 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=24
2025-07-02 15:55:39 +00:00
3514bd1586 Accepting request 1219468 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-versioningit?expand=0&rev=8
2024-10-30 18:26:01 +00:00
Tejas Guruswamy
b2ded37ae2 Update python version requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=22
2024-10-12 15:52:52 +00:00
Tejas Guruswamy
f4adad9269 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=21
2024-10-12 06:05:19 +00:00
4 changed files with 34 additions and 14 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,18 +21,23 @@
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-versioningit
Version: 3.1.1
Version: 3.3.0
Release: 0
Summary: Versioning It with your Version In Git
License: MIT
URL: https://github.com/jwodder/versioningit
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 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}
@@ -45,21 +50,16 @@ 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}
Requires: alts
BuildRequires: alts
Requires: 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 or not test_end2end'
%pytest test -k 'not test_editable_mode and not test_install_from'
%pre
%python_libalternatives_reset_alternative versioningit

View File

@@ -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

Binary file not shown.