Auto sync2gitlab import of python3.11-semantic_version-2.8.4-1.el8.src.rpm

This commit is contained in:
CentOS Sources 2023-02-18 00:44:46 +00:00
parent f92f823836
commit a72fac81bb
4 changed files with 63 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/semantic_version-2.8.4.tar.gz

1
EMPTY
View File

@ -1 +0,0 @@

View File

@ -0,0 +1,61 @@
%global __python3 /usr/bin/python3.11
%global python3_pkgversion 3.11
%global pypi_name semantic_version
Name: python%{python3_pkgversion}-%{pypi_name}
Version: 2.8.4
Release: 1%{?dist}
Summary: Library implementing the 'SemVer' scheme
License: BSD
URL: https://github.com/rbarrois/python-semanticversion
Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
%global _description \
This small python library provides a few tools to handle semantic versioning\
in Python.
%description %{_description}
%prep
%autosetup -n semantic_version-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
# documentation builds due to broken symlink
# https://github.com/rbarrois/python-semanticversion/issues/20
rm docs/credits.rst
%build
%py3_build
%install
%py3_install
%check
# Seems like it's just stuck in koji
#{__python3} setup.py test
%files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSE
%doc README.rst ChangeLog
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-*.egg-info/
%changelog
* Fri Nov 11 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.8.4-1
- Initial package
- Fedora contributions by:
Davide Cavalca <dcavalca@fedoraproject.org>
Dennis Gilmore <dennis@ausil.us>
Haikel Guemar <hguemar@fedoraproject.org>
Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Javier Pena <jpena@redhat.com>
Miro Hrončok <miro@hroncok.cz>
Petr Viktorin <pviktori@redhat.com>

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (semantic_version-2.8.4.tar.gz) = 2ed9a8ae03384731865c0b160a9bc92f9c877b610a4ecf15c30969886f15e7cdf77cf384997f96126a8a77534e032c70f587c835fe288fe4ab3e9e2061cb6f47