commit 3dc912a657a2d8d2f9b7ce17da3d4c816df8eaa6 Author: tigro Date: Thu Oct 5 12:26:12 2023 +0300 import PyQt-builder-1.12.2-1.el9 diff --git a/.PyQt-builder.metadata b/.PyQt-builder.metadata new file mode 100644 index 0000000..5654e2c --- /dev/null +++ b/.PyQt-builder.metadata @@ -0,0 +1 @@ +0c2363d99f86d81bf14bd9a5443ee4a1e4eedf48 SOURCES/PyQt-builder-1.12.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..015b2f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/PyQt-builder-1.12.2.tar.gz diff --git a/SPECS/PyQt-builder.spec b/SPECS/PyQt-builder.spec new file mode 100644 index 0000000..77b4af8 --- /dev/null +++ b/SPECS/PyQt-builder.spec @@ -0,0 +1,53 @@ +%global pypi_name PyQt-builder +%global srcname PyQt-builder + +Name: %{srcname} +Version: 1.12.2 +Release: 1%{?dist} +Summary: The PEP 517 compliant PyQt build system + +License: GPLv2 or GPLv3 +URL: https://www.riverbankcomputing.com/software/pyqt/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%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 +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install +# These dll files are from openssl and microsoft visiual studio +# While we can redistribute them, we don't have source and it's +# unlikely anyone will want to bundle a windows executable from linux. +rm -rf %{buildroot}/%{python3_sitelib}/pyqtbuild/bundle/dlls + +%files +%license LICENSE-GPL2 +%license LICENSE-GPL3 +%{_bindir}/pyqt-bundle +%{_bindir}/pyqt-qt-wheel +%{python3_sitelib}/pyqtbuild +%{python3_sitelib}/PyQt_builder-%{version}-py%{python3_version}.egg-info + +%changelog +* Thu Oct 05 2023 Arkady L. Shane - 1.12.2-1 +- Rebuilt for MSVSphere 9.2 + +* Mon May 09 2022 Jan Grulich - 1.12.2-1 +- Initial package + Resolves: bz#2081238