Группа :: Development/Python3
Пакет: python3-module-uharfbuzz
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname uharfbuzz
%def_with check
Name: python3-module-%oname
Version: 0.30.0
Release: alt1
Summary: An opinionated HarfBuzz Python binding
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.org/project/uharfbuzz
Packager: Grigory Ustinov <grenka at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++
BuildRequires: python3-module-Cython
BuildRequires: python3-module-setuptools_scm
%if_with check
BuildRequires: python3-module-pytest
%endif
%description
%summary
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc *.md
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 0.30.0
Release: alt1
Summary: An opinionated HarfBuzz Python binding
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.org/project/uharfbuzz
Packager: Grigory Ustinov <grenka at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++
BuildRequires: python3-module-Cython
BuildRequires: python3-module-setuptools_scm
%if_with check
BuildRequires: python3-module-pytest
%endif
%description
%summary
%prep
%setup
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc *.md
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь