Группа :: Development/Python3
Пакет: python3-module-pywlroots
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%def_with check
Name: python3-module-pywlroots
Version: 0.15.24
Release: alt2
Summary: Python binding to the wlroots library using cffi
License: NCSA
Group: Development/Python3
Url: https://github.com/flacjacket/pywlroots
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-xkbcommon
BuildRequires: python3-module-pywayland
BuildRequires: libxkbcommon-devel
BuildRequires: libwlroots10
BuildRequires: libwlroots-devel
BuildRequires: libinput-devel
BuildRequires: libxcb-devel
BuildRequires: libxcbutil-icccm-devel
%if_with check
BuildRequires: python3-module-pytest
%endif
%description
A Python binding to the wlroots library using cffi. The library uses
pywayland to provide the Wayland bindings and python-xkbcommon to
provide wlroots keyboard functionality.
%prep
%setup
%patch0 -p1
%build
# NOTE(egori): revert '2ef42bb6a2a30f6595b29619cd712d1f38d86724' before building
# with wlroots 0.16.0 see: https://github.com/flacjacket/pywlroots/pull/109
%__python3 ./wlroots/ffi_build.py
%pyproject_build
%install
%pyproject_install
# hack to drop .abi3 from binaries
find %buildroot -name '*.abi3*' -exec rename '.abi3' '' {} \;
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc LICENSE README.rst
%python3_sitelibdir/wlroots
%python3_sitelibdir/%{pyproject_distinfo pywlroots}
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-pywlroots
Version: 0.15.24
Release: alt2
Summary: Python binding to the wlroots library using cffi
License: NCSA
Group: Development/Python3
Url: https://github.com/flacjacket/pywlroots
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
BuildRequires: python3-module-xkbcommon
BuildRequires: python3-module-pywayland
BuildRequires: libxkbcommon-devel
BuildRequires: libwlroots10
BuildRequires: libwlroots-devel
BuildRequires: libinput-devel
BuildRequires: libxcb-devel
BuildRequires: libxcbutil-icccm-devel
%if_with check
BuildRequires: python3-module-pytest
%endif
%description
A Python binding to the wlroots library using cffi. The library uses
pywayland to provide the Wayland bindings and python-xkbcommon to
provide wlroots keyboard functionality.
%prep
%setup
%patch0 -p1
%build
# NOTE(egori): revert '2ef42bb6a2a30f6595b29619cd712d1f38d86724' before building
# with wlroots 0.16.0 see: https://github.com/flacjacket/pywlroots/pull/109
%__python3 ./wlroots/ffi_build.py
%pyproject_build
%install
%pyproject_install
# hack to drop .abi3 from binaries
find %buildroot -name '*.abi3*' -exec rename '.abi3' '' {} \;
%check
%tox_create_default_config
%tox_check_pyproject
%files
%doc LICENSE README.rst
%python3_sitelibdir/wlroots
%python3_sitelibdir/%{pyproject_distinfo pywlroots}
%changelog
…
Полный changelog можно просмотреть здесь