Группа :: Development/Python3
Пакет: python3-module-packaging
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name packaging
%def_with check
Name: python3-module-%pypi_name
Version: 23.1
Release: alt1
Summary: Core utilities for Python packages
License: Apache-2.0 or BSD-2-Clause
Group: Development/Python3
Url: https://pypi.org/project/packaging/
VCS: https://github.com/pypa/packaging
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata
%pyproject_builddeps_check
%endif
%description
Core utilities for Python packages.
%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_pipreqfile tests/requirements.txt
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest
%files
%doc CHANGELOG.rst README.rst
%python3_sitelibdir/packaging/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name packaging
%def_with check
Name: python3-module-%pypi_name
Version: 23.1
Release: alt1
Summary: Core utilities for Python packages
License: Apache-2.0 or BSD-2-Clause
Group: Development/Python3
Url: https://pypi.org/project/packaging/
VCS: https://github.com/pypa/packaging
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata
%pyproject_builddeps_check
%endif
%description
Core utilities for Python packages.
%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_pipreqfile tests/requirements.txt
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run_pytest
%files
%doc CHANGELOG.rst README.rst
%python3_sitelibdir/packaging/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Полный changelog можно просмотреть здесь