Группа :: Development/Python3
Пакет: python3-module-z3c.zcmlhook
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname z3c.zcmlhook
%def_with check
Name: python3-module-%oname
Version: 2.0
Release: alt1
Summary: Easily hook into the ZCML processing machinery
License: ZPL-2.1
Group: Development/Python3
Url: https://pypi.org/project/z3c.zcmlhook/
Vcs: https://github.com/zopefoundation/z3c.zcmlhook
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.component
BuildRequires: python3-module-zope.component-tests
BuildRequires: python3-module-zope.testrunner
%endif
%description
This package provides means of hooking into the Zope (ZCML)
configuration process.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
This package provides means of hooking into the Zope (ZCML)
configuration process.
This package contains tests for z3c.zcmlhook.
%prep
%setup
%build
%python3_build
%install
%python3_install
%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
install -d %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/* \
%buildroot%python3_sitelibdir/
%endif
%check
%tox_check
%files
%doc *.txt *.rst *.md
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 2.0
Release: alt1
Summary: Easily hook into the ZCML processing machinery
License: ZPL-2.1
Group: Development/Python3
Url: https://pypi.org/project/z3c.zcmlhook/
Vcs: https://github.com/zopefoundation/z3c.zcmlhook
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.component
BuildRequires: python3-module-zope.component-tests
BuildRequires: python3-module-zope.testrunner
%endif
%description
This package provides means of hooking into the Zope (ZCML)
configuration process.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
This package provides means of hooking into the Zope (ZCML)
configuration process.
This package contains tests for z3c.zcmlhook.
%prep
%setup
%build
%python3_build
%install
%python3_install
%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
install -d %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/* \
%buildroot%python3_sitelibdir/
%endif
%check
%tox_check
%files
%doc *.txt *.rst *.md
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь