From 9f364303fdc936f47f5df3a14f14b628c8b1ff5c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:52:01 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 1.12.2-2mamba;Thu Apr 07 2022] --- PyQt-builder.spec | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/PyQt-builder.spec b/PyQt-builder.spec index 04c1816..84db000 100644 --- a/PyQt-builder.spec +++ b/PyQt-builder.spec @@ -1,6 +1,6 @@ Name: PyQt-builder Version: 1.12.2 -Release: 1mamba +Release: 2mamba Summary: PEP 517 Compliant PyQt Build System Group: System/Libraries Vendor: openmamba @@ -10,9 +10,11 @@ URL: https://www.riverbankcomputing.com/software/pyqt/ Source: https://pypi.debian.net/PyQt-builder/PyQt-builder-%{version}.tar.gz License: SIP ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(packaging) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(sip) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -36,18 +38,29 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +sed -i "/^\/usr\/bin/d" %{name}.filelist + +for f in bundle qt-wheel; do + mv %{buildroot}%{_bindir}/pyqt-${f} %{buildroot}%{_bindir}/pyqt-${f}-py%{with_pyver} +%if "0%{?with_pyver}" == "03" + ln -s pyqt-${f}-py%{with_pyver} %{buildroot}%{_bindir}/pyqt-${f} +%endif +done %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%{_bindir}/pyqt-bundle* +%{_bindir}/pyqt-qt-wheel* +%dir %{python_sitearch}/PyQt_builder-%{version}-py*.egg-info +%{python_sitearch}/PyQt_builder-%{version}-py*.egg-info/* %doc LICENSE -## note: add extra documentation (if any) -# %doc ChangeLog NEWS README %changelog +* Thu Apr 07 2022 Silvan Calarco 1.12.2-2mamba +- rebuilt with python 3.10 + * Thu Oct 28 2021 Automatic Build System 1.12.2-1mamba - automatic version update by autodist