- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=15
This commit is contained in:
parent
8a70ac11ce
commit
96ebf989db
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 13 10:11:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Wed Mar 13 10:11:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -25,20 +25,20 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-versioningit
|
Name: python-versioningit
|
||||||
Version: 2.2.0
|
Version: 3.0.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 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
|
BuildRequires: python3 >= 3.7
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module pydantic < 2}
|
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}
|
||||||
@ -82,7 +82,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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eb18e7ba7268a880bf1ccfe92e534e96ab34e0397f28dcbcb3fc0da4f6a5b6bd
|
|
||||||
size 742936
|
|
3
versioningit-3.0.0.tar.gz
Normal file
3
versioningit-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e3ce47a6424d850ae9e55e1b134a020e9fcbcb895338f107f2b5c51d34c9c1b
|
||||||
|
size 203693
|
Loading…
Reference in New Issue
Block a user