Group :: Development/Python3
RPM: python3-module-handy-archives
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name handy-archives
# there are bugs in tests (timestamp Overflow in 32-bit, by example)
%def_without check
Name: python3-module-%pypi_name
Version: 0.1.4
Release: alt2
Summary: Some handy archive helpers for Python
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/handy-archives/
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(flit)
%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(pytest_cov)
BuildRequires: python3(pytest_timeout)
BuildRequires: python3(pytest-datadir)
BuildRequires: python3(coverage)
BuildRequires: python3(coverage-pyver-pragma)
BuildRequires: python3(tox)
BuildRequires: python3(tox-envlist)
BuildRequires: python3(coincidence)
BuildRequires: python3(test)
%endif
BuildArch: noarch
%py3_provides %pypi_name
%description
%summary
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc LICENSE README.rst
%python3_sitelibdir/handy_archives/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name handy-archives
# there are bugs in tests (timestamp Overflow in 32-bit, by example)
%def_without check
Name: python3-module-%pypi_name
Version: 0.1.4
Release: alt2
Summary: Some handy archive helpers for Python
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/handy-archives/
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(flit)
%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(pytest_cov)
BuildRequires: python3(pytest_timeout)
BuildRequires: python3(pytest-datadir)
BuildRequires: python3(coverage)
BuildRequires: python3(coverage-pyver-pragma)
BuildRequires: python3(tox)
BuildRequires: python3(tox-envlist)
BuildRequires: python3(coincidence)
BuildRequires: python3(test)
%endif
BuildArch: noarch
%py3_provides %pypi_name
%description
%summary
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc LICENSE README.rst
%python3_sitelibdir/handy_archives/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui