[packages/python3-PyQt-builder] - new

baggins baggins at pld-linux.org
Wed Jun 23 16:39:41 CEST 2021


commit 023866078939be9578aee5aba365d5b59bc7ed8c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jun 23 16:39:23 2021 +0200

    - new

 python3-PyQt-builder.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/python3-PyQt-builder.spec b/python3-PyQt-builder.spec
new file mode 100644
index 0000000..5f85fa7
--- /dev/null
+++ b/python3-PyQt-builder.spec
@@ -0,0 +1,45 @@
+%define		pypi_name	PyQt-builder
+Summary:	The PEP 517 compliant PyQt build system
+Name:		python3-PyQt-builder
+Version:	1.10.1
+Release:	1
+License:	BSD
+#Source0Download: https://pypi.org/simple/PyQt-builder
+Source0:	https://files.pythonhosted.org/packages/source/P/PyQt-builder/%{pypi_name}-%{version}.tar.gz
+# Source0-md5:	1301fa247a5fe3cfa0da05b55100b661
+URL:		https://www.riverbankcomputing.com/software/pyqt/
+BuildRequires:	python3-devel
+BuildRequires:	python3-setuptools
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyQt-builder is the PEP 517 compliant build system for PyQt and
+projects that extend PyQt. It extends the sip build system and uses
+Qt's qmake to perform the actual compilation and installation of
+extension modules.Projects that use PyQt- builder provide an
+appropriate pyproject.toml file and an optional project.py.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%{__rm} -r PyQt_builder.egg-info
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pyqtbuild/bundle/dlls
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pyqt-bundle
+%attr(755,root,root) %{_bindir}/pyqt-qt-wheel
+%{py3_sitescriptdir}/pyqtbuild
+%{py3_sitescriptdir}/PyQt_builder-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-PyQt-builder.git/commitdiff/023866078939be9578aee5aba365d5b59bc7ed8c



More information about the pld-cvs-commit mailing list