Group :: Development/Python3
RPM: python3-module-zope.annotation
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname zope.annotation
%def_with check
Name: python3-module-%oname
Version: 5.0
Release: alt1
Summary: Object annotation mechanism
License: ZPL-2.1
Group: Development/Python3
Url: http://pypi.python.org/pypi/zope.annotation
VCS: https://github.com/zopefoundation/zope.annotation.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.testing
BuildRequires: python3-module-zope.testrunner
BuildRequires: python3-module-zope.component
BuildRequires: python3-module-zope.location
%endif
%description
This package provides a mechanism to store additional information about
objects without need to modify object class.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%py3_requires zope.testing zope.testrunner
%description tests
This package contains tests for %oname
%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
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Full changelog you can see here
%define oname zope.annotation
%def_with check
Name: python3-module-%oname
Version: 5.0
Release: alt1
Summary: Object annotation mechanism
License: ZPL-2.1
Group: Development/Python3
Url: http://pypi.python.org/pypi/zope.annotation
VCS: https://github.com/zopefoundation/zope.annotation.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-zope.testing
BuildRequires: python3-module-zope.testrunner
BuildRequires: python3-module-zope.component
BuildRequires: python3-module-zope.location
%endif
%description
This package provides a mechanism to store additional information about
objects without need to modify object class.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%py3_requires zope.testing zope.testrunner
%description tests
This package contains tests for %oname
%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
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*.pth
%exclude %python3_sitelibdir/*/*/tests
%files tests
%python3_sitelibdir/*/*/tests
%changelog
…
Full changelog you can see here