Group :: Development/Python3
RPM: python3-module-mesonpy
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define pypi_name mesonpy
%def_with check
Name: python3-module-%pypi_name
Version: 0.14.0
Release: alt1
Summary: Meson PEP 517 Python build backend
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/meson-python
vCS: https://github.com/mesonbuild/meson-python
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-packaging
BuildRequires: python3-module-pyproject-metadata
BuildRequires: meson
%if_with check
BuildRequires: git
BuildRequires: patchelf
BuildRequires: python3-module-Cython
BuildRequires: python3-module-pytest-mock
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
meson-python is a Python build backend built on top of the Meson build system.
It enables to use Meson for the configuration and build steps of Python packages.
Meson is an open source build system meant to be both extremely fast, and, even
more importantly, as user friendly as possible. meson-python is best suited for
building Python packages containing extension modules implemented in languages
such as C, C++, Cython, Fortran, Pythran, or Rust. Consult the documentation
for more details.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject -- -k'not test_pep518'
%files
%doc LICENSE *.rst
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo meson_python}
%changelog
…
Todas as alterações você pod ver aqui
%def_with check
Name: python3-module-%pypi_name
Version: 0.14.0
Release: alt1
Summary: Meson PEP 517 Python build backend
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/meson-python
vCS: https://github.com/mesonbuild/meson-python
Packager: Grigory Ustinov <grenka at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-packaging
BuildRequires: python3-module-pyproject-metadata
BuildRequires: meson
%if_with check
BuildRequires: git
BuildRequires: patchelf
BuildRequires: python3-module-Cython
BuildRequires: python3-module-pytest-mock
%endif
BuildArch: noarch
Source: %name-%version.tar
%description
meson-python is a Python build backend built on top of the Meson build system.
It enables to use Meson for the configuration and build steps of Python packages.
Meson is an open source build system meant to be both extremely fast, and, even
more importantly, as user friendly as possible. meson-python is best suited for
building Python packages containing extension modules implemented in languages
such as C, C++, Cython, Fortran, Pythran, or Rust. Consult the documentation
for more details.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_create_default_config
%tox_check_pyproject -- -k'not test_pep518'
%files
%doc LICENSE *.rst
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo meson_python}
%changelog
…
Todas as alterações você pod ver aqui