2024-01-05 16:57:31 +01:00
|
|
|
Name: python-zope-interface
|
2024-01-05 16:57:32 +01:00
|
|
|
Version: 5.5.1
|
2024-01-05 16:57:31 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:57:31 +01:00
|
|
|
Summary: Python library for API definitions through interfaces
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:57:32 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:57:32 +01:00
|
|
|
URL: https://pypi.org/project/zope.interface/
|
2024-01-05 16:57:31 +01:00
|
|
|
Source: https://pypi.debian.net/zope.interface/zope.interface-%{version}.tar.gz
|
2024-01-05 16:57:31 +01:00
|
|
|
License: Zope Public License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 16:57:32 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(setuptools)
|
2024-01-05 16:57:31 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
zope.interface provides an implementation of object interfaces for Python.
|
|
|
|
Interfaces are a mechanism for labeling objects as conforming to a given API or contract.
|
|
|
|
So, this package can be considered as implementation of the Design By Contract methodology support in Python.
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n zope.interface-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__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 documentation from wrong path
|
|
|
|
rm -f %{buildroot}%{python_sitearch}/zope/interface/*.txt
|
|
|
|
|
|
|
|
# remove a C source file
|
|
|
|
rm -f %{buildroot}%{python_sitearch}/zope/interface/_zope_interface_coptimizations.c
|
|
|
|
|
|
|
|
# remove tests
|
|
|
|
rm -rf %{buildroot}%{python_sitearch}/zope/interface/{tests,common/tests}
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,\.c$,d;\,\.txt$,d;\,/tests/,d" %{name}.filelist
|
2024-01-05 16:57:31 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:57:31 +01:00
|
|
|
#-f %{name}.filelist
|
2024-01-05 16:57:31 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:57:31 +01:00
|
|
|
%dir %{python_sitearch}/zope
|
|
|
|
%dir %{python_sitearch}/zope/interface
|
|
|
|
%{python_sitearch}/zope/interface/*
|
|
|
|
%dir %{python_sitearch}/zope.interface-*-py*.egg-info
|
|
|
|
%{python_sitearch}/zope.interface-*-py*.egg-info/*
|
2024-01-05 16:57:31 +01:00
|
|
|
%{python_sitearch}/zope.interface-*-py*.pth
|
2024-01-05 16:57:31 +01:00
|
|
|
%doc COPYRIGHT.txt LICENSE.txt
|
|
|
|
#%doc CHANGES.txt README.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:57:32 +01:00
|
|
|
* Fri Nov 04 2022 Automatic Build System <autodist@mambasoft.it> 5.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 5.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:32 +01:00
|
|
|
* Thu Apr 15 2021 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:32 +01:00
|
|
|
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 5.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 15 2020 Automatic Build System <autodist@mambasoft.it> 5.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:32 +01:00
|
|
|
* Thu Apr 23 2020 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Tue Mar 31 2020 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Wed Mar 11 2020 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Fri Nov 22 2019 Automatic Build System <autodist@mambasoft.it> 4.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Thu Jan 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-2mamba
|
|
|
|
- python 3.6 support
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +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:31 +01:00
|
|
|
* Sat Sep 23 2017 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Wed Dec 14 2016 Automatic Build System <autodist@mambasoft.it> 4.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Mon Sep 05 2016 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Fri Sep 02 2016 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Wed Aug 31 2016 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Mon Jun 27 2016 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Mon Oct 05 2015 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:57:31 +01:00
|
|
|
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- update to 4.1.0
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.5-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
|
|
|
|
- update to 4.0.5
|
|
|
|
|
|
|
|
* Sat Jan 12 2013 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 29 2012 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 21 2011 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 15 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.6.1-1mamba
|
|
|
|
- update to 3.6.1
|
|
|
|
- package renamed from python-zopeinterface to python-zope-interface
|
|
|
|
|
|
|
|
* Fri May 08 2009 gil <puntogil@libero.it> 3.5.1-1mamba
|
|
|
|
- update to 3.5.1
|
|
|
|
|
|
|
|
* Sun Dec 07 2008 gil <puntogil@libero.it> 3.5.0-1mamba
|
|
|
|
- update to 3.5.0
|
|
|
|
|
|
|
|
* Thu Aug 16 2007 Tiziana Ferro <tiziana.ferro@email.it> 3.3.0-1mamba
|
|
|
|
- package created by autospec
|