forked from pool/python-setuptools-git-versioning
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
965e7eb8ac | ||
|
ccd12dcfee | ||
|
10e5d5b347 |
19
_service
19
_service
@ -1,19 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service mode="disabled" name="obs_scm">
|
|
||||||
<param name="url">https://github.com/dolfinus/setuptools-git-versioning.git</param>
|
|
||||||
<param name="scm">git</param>
|
|
||||||
<param name="revision">@PARENT_TAG@</param>
|
|
||||||
<param name="package-meta">yes</param>
|
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="tar">
|
|
||||||
<param name="package-meta">yes</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="recompress">
|
|
||||||
<param name="file">*.tar</param>
|
|
||||||
<param name="compression">xz</param>
|
|
||||||
</service>
|
|
||||||
<service mode="disabled" name="set_version"/>
|
|
||||||
</services>
|
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 28 08:08:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.1.0:
|
||||||
|
* [breaking] Drop get_branch_tags function which was deprecated
|
||||||
|
since 1.8.0.
|
||||||
|
* [breaking] version_file option now have precedence over any tags in
|
||||||
|
the current branch.
|
||||||
|
* [breaking] Drop version_config keyword from setup.py, which was
|
||||||
|
deprecated since 1.8.0.
|
||||||
|
* [breaking] Does not allow passing setuptools_git_versioning=False
|
||||||
|
and setuptools_git_versioning=True to config. Always use
|
||||||
|
setuptools_git_versioning={"enabled": True}.
|
||||||
|
* [feature] Test Python 3.13 compatibility
|
||||||
|
* [feature] Test Python 3.12 compatibility
|
||||||
|
* [feature] Remove useless warning if tag_filter, tag_formatter or
|
||||||
|
branch_formatter is a regexp instead of function reference.
|
||||||
|
* [bugfix] Replace outdated toml package with modern tomli.
|
||||||
|
- Rip out _service and all of its gubbins, we can successfully test with
|
||||||
|
the GitHub tarball, so switch to that.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 25 11:20:47 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Mon Dec 25 11:20:47 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-setuptools-git-versioning
|
# spec file for package python-setuptools-git-versioning
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-setuptools-git-versioning
|
Name: python-setuptools-git-versioning
|
||||||
Version: 1.13.5
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Use git repo data for building a version number according PEP-440
|
Summary: Use git repo data for building a version number according PEP-440
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://setuptools-git-versioning.readthedocs.io
|
URL: https://setuptools-git-versioning.readthedocs.io
|
||||||
# SourceDist: https://github.com/dolfinus/setuptools-git-versioning
|
# SourceDist: https://github.com/dolfinus/setuptools-git-versioning
|
||||||
# the sdist on PyPI does not have the tests, we needs full git metadata for bootstrap, run osc service runall to update
|
Source: https://github.com/dolfinus/setuptools-git-versioning/archive/refs/tags/v2.1.0.tar.gz#/setuptools-git-versioning-%{version}.tar.gz
|
||||||
Source: setuptools-git-versioning-%{version}.tar.xz
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@ -35,12 +34,9 @@ Requires: git-core
|
|||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Provides: python-setuptools_git_versioning = %{version}-%{release}
|
Provides: python-setuptools_git_versioning = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{python_version_nodots} < 311
|
|
||||||
Requires: python-toml >= 0.10.2
|
|
||||||
%endif
|
|
||||||
# SECTION test
|
# SECTION test
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
@ -65,10 +61,9 @@ version number according PEP440.
|
|||||||
- Templates support a lot of substitutions including git and environment information
|
- Templates support a lot of substitutions including git and environment information
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n setuptools-git-versioning-%{version}
|
%autosetup -p1 -n setuptools-git-versioning-%{version}
|
||||||
# avoid dirty version
|
# Set version
|
||||||
echo '_build*' >> .git/info/exclude
|
echo "Version: %{version}" > PKG-INFO
|
||||||
echo _current_flavor >> .git/info/exclude
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@ -94,7 +89,7 @@ donttest="test_substitution_env"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%python_alternative %{_bindir}/setuptools-git-versioning
|
%python_alternative %{_bindir}/setuptools-git-versioning
|
||||||
%{python_sitelib}/setuptools_git_versioning.py*
|
%{python_sitelib}/setuptools_git_versioning.py*
|
||||||
%{python_sitelib}/setuptools_git_versioning-%{version}*-info
|
%{python_sitelib}/setuptools_git_versioning-%{version}.dist-info
|
||||||
%pycache_only %{python_sitelib}/__pycache__/setuptools_git_versioning*.pyc
|
%pycache_only %{python_sitelib}/__pycache__/setuptools_git_versioning*.pyc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
setuptools-git-versioning-1.13.5.tar.xz
(Stored with Git LFS)
BIN
setuptools-git-versioning-1.13.5.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
setuptools-git-versioning-2.1.0.tar.gz
Normal file
3
setuptools-git-versioning-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:36a5c9bd91d75f12faba2c6fd87b1b1807cb9eabeca2ce0951f14ad4f47642e0
|
||||||
|
size 44315
|
@ -1,4 +0,0 @@
|
|||||||
name: setuptools-git-versioning
|
|
||||||
version: 1.13.5
|
|
||||||
mtime: 1691491394
|
|
||||||
commit: 3cd11bcd38f15e2e9b25bee7485e81840f3e16dd
|
|
Loading…
Reference in New Issue
Block a user