restore build of PtQt4 module [release 4.19.13-2mamba;Sun Jan 06 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:08 +01:00
parent 001a96d20d
commit e5cbd780ae

View File

@ -1,6 +1,6 @@
Name: python-sip Name: python-sip
Version: 4.16.4 Version: 4.19.13
Release: 1mamba Release: 2mamba
Summary: Python extension module generator for C and C++ libraries Summary: Python extension module generator for C and C++ libraries
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -53,40 +53,117 @@ SIP is an extension module generator similar to SWIG but is specifically designe
%prep %prep
%setup -q -n sip-%{version} %setup -q -n sip-%{version}
tar xf %{SOURCE0}
mv sip-%{version} PyQt5
%build %build
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \ %{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
-d %{python_sitearch} --sip-module=PyQt4.sip -d %{python_sitearch}
%make
cd PyQt5
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
--sip-module=PyQt5.sip
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%makeinstall -C PyQt5
install -d -m0755 %{buildroot}%{_datadir}/sip #install -d -m0755 %{buildroot}%{_datadir}/sip
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?with_pyver:py%{pyver}} %files %{?with_pyver:py%{pyver}}
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/*.so %{python_sitearch}/PyQt4/sip.pyi
%{python_sitearch}/PyQt4/sip.so
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
%{python_sitearch}/PyQt4_sip-%{version}.dist-info/*
%{python_sitearch}/*.py*
# for PyQt5
%{python_sitearch}/PyQt5/sip.so
%{python_sitearch}/PyQt5/sip.pyi
%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
%doc LICENSE* %doc LICENSE*
%files %{?with_pyver:py%{pyver}-}devel %files %{?with_pyver:py%{pyver}-}devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/sip %{_bindir}/sip
%dir %{_datadir}/sip
%if "%?with_pyver" %if "%?with_pyver"
%{python3_inc}/sip.h %{python_inc}/sip.h
%else %else
%{_includedir}/python%{python_version}/sip.h %{_includedir}/python%{python_version}/sip.h
%endif %endif
%{python_sitearch}/*.py
%doc NEWS README %doc NEWS README
%doc doc/* %doc doc/*
%changelog %changelog
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.13-2mamba
- restore build of PtQt4 module
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 4.19.13-1mamba
- automatic version update by autodist
* Wed Sep 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.12-2mamba
- rebuilt also with python36
* Thu Jul 19 2018 Automatic Build System <autodist@mambasoft.it> 4.19.12-1mamba
- automatic version update by autodist
* Sat Apr 14 2018 Automatic Build System <autodist@mambasoft.it> 4.19.8-1mamba
- automatic version update by autodist
* Sat Jan 27 2018 Automatic Build System <autodist@mambasoft.it> 4.19.7-1mamba
- automatic version update by autodist
* Wed Dec 27 2017 Automatic Build System <autodist@mambasoft.it> 4.19.6-1mamba
- automatic version update by autodist
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 4.19.5-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 4.19.3-1mamba
- automatic version update by autodist
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 4.19.1-1mamba
- automatic version update by autodist
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.19-1mamba
- automatic version update by autodist
* Fri Sep 23 2016 Automatic Build System <autodist@mambasoft.it> 4.18.1-1mamba
- automatic version update by autodist
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-2mamba
- automatic version update by autodist
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-1mamba
- automatic version update by autodist
* Fri Mar 11 2016 Automatic Build System <autodist@mambasoft.it> 4.17-1mamba
- automatic version update by autodist
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-2mamba
- automatic version update by autodist
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-1mamba
- automatic version update by autodist
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 4.16.7-1mamba
- automatic update by autodist
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 4.16.6-1mamba
- automatic version update by autodist
* Thu Dec 25 2014 Automatic Build System <autodist@mambasoft.it> 4.16.5-1mamba
- automatic version update by autodist
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.4-1mamba * Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.4-1mamba
- update to 4.16.4 - update to 4.16.4