Группа :: Development/Python3
Пакет: python3-module-contextlib2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name contextlib2
%def_with check
Name: python3-module-%pypi_name
Version: 21.6.0
Release: alt1.1
Summary: Backports and enhancements for the contextlib module
Group: Development/Python3
License: LGPLv2+
Url: https://pypi.org/project/contextlib2/
# Source-git: https://github.com/jazzband/contextlib2.git
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%description
contextlib2 is a backport of the standard library's contextlib
module to earlier Python versions.
It also serves as a real world proving ground for possible
future enhancements to the standard library version.
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%python3_sitelibdir/contextlib2/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name contextlib2
%def_with check
Name: python3-module-%pypi_name
Version: 21.6.0
Release: alt1.1
Summary: Backports and enhancements for the contextlib module
Group: Development/Python3
License: LGPLv2+
Url: https://pypi.org/project/contextlib2/
# Source-git: https://github.com/jazzband/contextlib2.git
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
%description
contextlib2 is a backport of the standard library's contextlib
module to earlier Python versions.
It also serves as a real world proving ground for possible
future enhancements to the standard library version.
%prep
%setup
%autopatch -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%python3_sitelibdir/contextlib2/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь