Group :: Development/Python3
RPM: python3-module-looseversion
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define pypi_name looseversion
%def_with check
Name: python3-module-%pypi_name
Version: 1.2.0
Release: alt2
Summary: A backwards/forwards-compatible fork of distutils.version.LooseVersion
License: Python-2.0
Group: Development/Python3
URL: https://github.com/effigies/looseversion
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
BuildRequires: python3-module-hatchling python3-module-tomli
BuildArch: noarch
Source: %pypi_name-%version.tar
%description
%summary
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.md
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Full changelog you can see here
%def_with check
Name: python3-module-%pypi_name
Version: 1.2.0
Release: alt2
Summary: A backwards/forwards-compatible fork of distutils.version.LooseVersion
License: Python-2.0
Group: Development/Python3
URL: https://github.com/effigies/looseversion
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
BuildRequires: python3-module-hatchling python3-module-tomli
BuildArch: noarch
Source: %pypi_name-%version.tar
%description
%summary
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.md
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Full changelog you can see here