1 %define pypi_name PyQt-builder
2 Summary: The PEP 517 compliant PyQt build system
3 Name: python3-PyQt-builder
7 #Source0Download: https://pypi.org/simple/PyQt-builder
8 Source0: https://files.pythonhosted.org/packages/source/P/PyQt-builder/%{pypi_name}-%{version}.tar.gz
9 # Source0-md5: 1301fa247a5fe3cfa0da05b55100b661
10 URL: https://www.riverbankcomputing.com/software/pyqt/
11 BuildRequires: python3-devel
12 BuildRequires: python3-setuptools
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 PyQt-builder is the PEP 517 compliant build system for PyQt and
18 projects that extend PyQt. It extends the sip build system and uses
19 Qt's qmake to perform the actual compilation and installation of
20 extension modules.Projects that use PyQt- builder provide an
21 appropriate pyproject.toml file and an optional project.py.
24 %setup -q -n %{pypi_name}-%{version}
26 %{__rm} -r PyQt_builder.egg-info
32 rm -rf $RPM_BUILD_ROOT
35 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pyqtbuild/bundle/dlls
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/pyqt-bundle
43 %attr(755,root,root) %{_bindir}/pyqt-qt-wheel
44 %{py3_sitescriptdir}/pyqtbuild
45 %{py3_sitescriptdir}/PyQt_builder-%{version}-py*.egg-info