update to 4.19.25
remove PyQt5 support [release 4.19.25-1mamba;Mon Nov 08 2021]
This commit is contained in:
parent
b221012c51
commit
a21dbaa78f
@ -1,6 +1,6 @@
|
|||||||
Name: python-sip4
|
Name: python-sip4
|
||||||
Version: 4.19.24
|
Version: 4.19.25
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
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
|
||||||
@ -13,7 +13,7 @@ License: GPL
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpython3-devel >= 3.7.4
|
BuildRequires: libpython3-devel >= 3.7.4
|
||||||
@ -22,7 +22,6 @@ Provides: python-sip
|
|||||||
Obsoletes: python-sip
|
Obsoletes: python-sip
|
||||||
Provides: python-sip-devel
|
Provides: python-sip-devel
|
||||||
Obsoletes: python-sip-devel
|
Obsoletes: python-sip-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
@ -44,8 +43,8 @@ This package provides the sip tool and documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sip-%{version}
|
%setup -q -n sip-%{version}
|
||||||
tar xf %{SOURCE0}
|
#tar xf %{SOURCE0}
|
||||||
mv sip-%{version} PyQt5
|
#mv sip-%{version} PyQt5
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||||
@ -53,16 +52,16 @@ mv sip-%{version} PyQt5
|
|||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
cd PyQt5
|
#cd PyQt5
|
||||||
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
#% {__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||||
--sip-module=PyQt5.sip
|
# --sip-module=PyQt5.sip
|
||||||
|
#
|
||||||
%make
|
#% make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%makeinstall -C PyQt5
|
#% makeinstall -C PyQt5
|
||||||
|
|
||||||
#install -d -m0755 %{buildroot}%{_datadir}/sip
|
#install -d -m0755 %{buildroot}%{_datadir}/sip
|
||||||
|
|
||||||
@ -77,11 +76,11 @@ cd PyQt5
|
|||||||
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
%dir %{python_sitearch}/PyQt4_sip-%{version}.dist-info
|
||||||
%{python_sitearch}/PyQt4_sip-%{version}.dist-info/*
|
%{python_sitearch}/PyQt4_sip-%{version}.dist-info/*
|
||||||
%{python_sitearch}/*.py*
|
%{python_sitearch}/*.py*
|
||||||
# for PyQt5
|
## for PyQt5
|
||||||
%{python_sitearch}/PyQt5/sip.so
|
#%{python_sitearch}/PyQt5/sip.so
|
||||||
%{python_sitearch}/PyQt5/sip.pyi
|
#%{python_sitearch}/PyQt5/sip.pyi
|
||||||
%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
|
#%dir %{python_sitearch}/PyQt5_sip-%{version}.dist-info
|
||||||
%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
|
#%{python_sitearch}/PyQt5_sip-%{version}.dist-info/*
|
||||||
%if "%?with_pyver"
|
%if "%?with_pyver"
|
||||||
%{python_inc}/sip.h
|
%{python_inc}/sip.h
|
||||||
%else
|
%else
|
||||||
@ -96,6 +95,10 @@ cd PyQt5
|
|||||||
#%doc doc/*
|
#%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.25-1mamba
|
||||||
|
- update to 4.19.25
|
||||||
|
- remove PyQt5 support
|
||||||
|
|
||||||
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.24-2mamba
|
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.24-2mamba
|
||||||
- obsolete python-sip4 (python 2.7)
|
- obsolete python-sip4 (python 2.7)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user