!1 Init package python-versioneer of version v0.29.

From: @mengzhaoa 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-08-17 10:25:02 +00:00 committed by Gitee
commit 3d2c9a4f6f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 49 additions and 0 deletions

49
python-versioneer.spec Normal file
View File

@ -0,0 +1,49 @@
%global _description %{expand:
Versioneer is a tool to automatically update version strings (in setup.py and
the conventional 'from PROJECT import _version' pattern) by asking your
version-control system about the current tree.}
Name: python-versioneer
Version: 0.29
Release: 1
Summary: Easy VCS-based management of project version strings
License: Unlicense
URL: https://github.com/warner/python-versioneer
Source0: %{pypi_source versioneer}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description %_description
%package -n python3-versioneer
Summary: %{summary}
%description -n python3-versioneer %_description
%prep
%autosetup -n versioneer-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-versioneer
%doc README.md
%doc details.md
%{python3_sitelib}/versioneer-*.dist-info/
%{python3_sitelib}/__pycache__/
%{python3_sitelib}/versioneer.py
%{_bindir}/versioneer
%changelog
* Thu Aug 17 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.29-1
- Init package of python-versioneer

BIN
versioneer-0.29.tar.gz Normal file

Binary file not shown.