Группа :: Development/Python3
Пакет: python3-module-zope.tales
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname zope.tales
%def_with check
Name: python3-module-%oname
Version: 5.0.2
Release: alt1
Summary: Zope Template Application Language Expression Syntax (TALES)
License: ZPLv2.1
Group: Development/Python3
# Source-git https://github.com/zopefoundation/zope.tales.git
Url: http://pypi.python.org/pypi/zope.tales
Source: %oname-%version.tar
Patch0: fix-import.patch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.testrunner
BuildRequires: python3-module-zope.testing
BuildRequires: python3-module-six
BuildRequires: python3-module-zope.tales
BuildRequires: python3-module-zope.tales-tests
%endif
%py3_requires zope.interface six
%description
Template Attribute Language - Expression Syntax.
%package tests
Summary: Tests for zope.tales (Python 3)
Group: Development/Python3
Requires: python3-module-%oname = %EVR
%py3_requires zope.testrunner
%description tests
This package contains tests for %oname
%prep
%setup -q -n %oname-%version
%patch0 -p2
%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
%if 0
zope-testrunner3 --test-path=src -vv
%endif
%files
%doc *.txt *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь
%define oname zope.tales
%def_with check
Name: python3-module-%oname
Version: 5.0.2
Release: alt1
Summary: Zope Template Application Language Expression Syntax (TALES)
License: ZPLv2.1
Group: Development/Python3
# Source-git https://github.com/zopefoundation/zope.tales.git
Url: http://pypi.python.org/pypi/zope.tales
Source: %oname-%version.tar
Patch0: fix-import.patch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.testrunner
BuildRequires: python3-module-zope.testing
BuildRequires: python3-module-six
BuildRequires: python3-module-zope.tales
BuildRequires: python3-module-zope.tales-tests
%endif
%py3_requires zope.interface six
%description
Template Attribute Language - Expression Syntax.
%package tests
Summary: Tests for zope.tales (Python 3)
Group: Development/Python3
Requires: python3-module-%oname = %EVR
%py3_requires zope.testrunner
%description tests
This package contains tests for %oname
%prep
%setup -q -n %oname-%version
%patch0 -p2
%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
%if 0
zope-testrunner3 --test-path=src -vv
%endif
%files
%doc *.txt *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Полный changelog можно просмотреть здесь