2024-01-05 16:57:57 +01:00
|
|
|
Name: python-zope-schema
|
2024-01-05 16:57:57 +01:00
|
|
|
Version: 6.0.1
|
|
|
|
Release: 1mamba
|
2024-01-05 16:57:57 +01:00
|
|
|
Summary: zope.interface extension for defining data schemas
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
|
|
URL: http://pypi.python.org/pypi/zope.schema
|
2024-01-05 16:57:57 +01:00
|
|
|
Source: https://pypi.debian.net/zope.schema/zope.schema-%{version}.tar.gz
|
2024-01-05 16:57:57 +01:00
|
|
|
License: Zope Public License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:57:57 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:57:57 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
|
|
|
Requires: python-zope-interface
|
|
|
|
Requires: python-zope-event
|
|
|
|
Requires: python-six
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
zope.interface extension for defining data schemas.
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
%if "%?with_pyver"
|
|
|
|
%define pyver %{with_pyver}
|
|
|
|
%define pyappend py%{with_pyver}
|
|
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
|
|
|
|
|
|
|
%package py%{pyver}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: %{summary}.
|
|
|
|
Requires: python-zope-interface-%{?pyappend}
|
|
|
|
Requires: python-zope-event-%{?pyappend}
|
|
|
|
Requires: python-six-%{?pyappend}
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%description py%{pyver}
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n zope.schema-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
# remove tests
|
|
|
|
rm -rf %{buildroot}%{python_sitearch}/zope/schema/tests
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
sed -i "\,/tests/,d" %{name}.filelist
|
2024-01-05 16:57:57 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:57:57 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYRIGHT.txt LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:57:57 +01:00
|
|
|
* Tue Jan 26 2021 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-2mamba
|
|
|
|
- rebuilt without python 2.7
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sun Oct 14 2018 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 12 2018 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sat Oct 06 2018 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sat Sep 29 2018 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Thu Sep 20 2018 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Thu Sep 13 2018 Automatic Build System <autodist@mambasoft.it> 4.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Tue Sep 11 2018 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
|
|
|
|
- update to 4.6.0
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Sun Sep 07 2014 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:57:57 +01:00
|
|
|
* Thu Mar 20 2014 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu Nov 29 2012 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.0.1-2mamba
|
|
|
|
- added missing requirement
|
|
|
|
|
|
|
|
* Tue Dec 20 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.0.1-1mamba
|
|
|
|
- update to 4.0.1
|
|
|
|
|
|
|
|
* Mon May 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.8.0-1mamba
|
|
|
|
- update to 3.8.0
|
|
|
|
|
|
|
|
* Wed Oct 13 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.7.0-1mamba
|
|
|
|
- package created by autospec
|