Accepting request 1160507 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1160507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-versioningit?expand=0&rev=6
This commit is contained in:
commit
d68af54f0a
@ -1,4 +1,22 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 21 08:20:56 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.1.0
|
||||||
|
* Improve some error messages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 14 11:08:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.0.0:
|
||||||
|
* Migrated from setuptools to hatch
|
||||||
|
* Support using the `onbuild` step with Hatch
|
||||||
|
* **Breaking**: The `build_dir` argument passed to
|
||||||
|
`Versioningit.do_onbuild()`
|
||||||
|
* and `onbuild` method callables has been changed to an
|
||||||
|
`OnbuildFileProvider`
|
||||||
|
* ABC
|
||||||
|
|
||||||
|
------------------------------------------------------------------
|
||||||
Sun Feb 12 01:30:01 UTC 2023 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
|
Sun Feb 12 01:30:01 UTC 2023 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
|
||||||
|
|
||||||
- Update to version 2.2.0
|
- Update to version 2.2.0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-versioningit
|
# spec file for package python-versioningit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
%else
|
%else
|
||||||
@ -25,24 +23,24 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-versioningit
|
Name: python-versioningit
|
||||||
Version: 2.2.0
|
Version: 3.1.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 hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3 >= 3.7
|
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module packaging}
|
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
|
||||||
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: %{python_module pydantic}
|
BuildRequires: %{python_module pydantic}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module tomli >= 1.2}
|
BuildRequires: %{python_module tomli >= 1.2}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
@ -50,16 +48,17 @@ BuildRequires: mercurial
|
|||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
Requires: python-setuptools
|
|
||||||
Requires: python-tomli >= 1.2
|
Requires: python-tomli >= 1.2
|
||||||
Suggests: python-importlib-metadata >= 3.6
|
%if %{?python_version_nodots} < 310
|
||||||
|
Requires: python-importlib-metadata >= 3.6
|
||||||
|
%endif
|
||||||
Suggests: python-dataclasses
|
Suggests: python-dataclasses
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
Requires: alts
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -82,7 +81,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'
|
%pytest test -k 'not test_editable_mode or not test_end2end'
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%python_libalternatives_reset_alternative versioningit
|
%python_libalternatives_reset_alternative versioningit
|
||||||
@ -97,6 +96,7 @@ separate functions used for version extraction & calculation.
|
|||||||
%doc CHANGELOG.md README.rst
|
%doc CHANGELOG.md README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/versioningit
|
%python_alternative %{_bindir}/versioningit
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/versioningit
|
||||||
|
%{python_sitelib}/versioningit-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eb18e7ba7268a880bf1ccfe92e534e96ab34e0397f28dcbcb3fc0da4f6a5b6bd
|
|
||||||
size 742936
|
|
3
versioningit-3.1.0.tar.gz
Normal file
3
versioningit-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7aac713c31a53eb367a6bbc2e8b3de8cc2b86d10d45c5101afd651446cb10fd7
|
||||||
|
size 215117
|
Loading…
x
Reference in New Issue
Block a user