]> git.pld-linux.org Git - packages/python3-PyQt-builder.git/commitdiff
- new auto/th/python3-PyQt-builder-1.10.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 23 Jun 2021 14:39:23 +0000 (16:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 23 Jun 2021 14:39:23 +0000 (16:39 +0200)
python3-PyQt-builder.spec [new file with mode: 0644]

diff --git a/python3-PyQt-builder.spec b/python3-PyQt-builder.spec
new file mode 100644 (file)
index 0000000..5f85fa7
--- /dev/null
@@ -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
This page took 0.151388 seconds and 4 git commands to generate.