Update to new upstream release 1.14.1 (#2131649)

Modernize python packaging
This commit is contained in:
Scott Talbert 2023-01-30 22:50:54 -05:00
parent cabb4f168d
commit 90905dd98f
3 changed files with 17 additions and 7 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/PyQt-builder-1.12.1.tar.gz
/PyQt-builder-1.12.2.tar.gz
/PyQt-builder-1.13.0.tar.gz
/PyQt-builder-1.14.1.tar.gz

View File

@ -2,8 +2,8 @@
%global srcname PyQt-builder
Name: %{srcname}
Version: 1.13.0
Release: 3%{?dist}
Version: 1.14.1
Release: 1%{?dist}
Summary: The PEP 517 compliant PyQt build system
License: GPLv2 or GPLv3
@ -12,7 +12,6 @@ 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
@ -26,25 +25,35 @@ project.py.
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_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
%check
%py3_check_import pyqtbuild
%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
%{python3_sitelib}/PyQt_builder-%{version}.dist-info
%changelog
* Tue Jan 31 2023 Scott Talbert <swt@techie.net> - 1.14.1-1
- Update to new upstream release 1.14.1 (#2131649)
- Modernize python packaging
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (PyQt-builder-1.13.0.tar.gz) = dd7df6c22b4829307154a1f0f2d065249ee84676be5ca215c029887187d4fd1a30d46264e9c54e23ff2cc08675dff75d39bdf7ba269121ffa369e6f43dec38c7
SHA512 (PyQt-builder-1.14.1.tar.gz) = 4de9be2c42f38fbc22d46a31dd6da37c02620bb112a674ef846a4eb7f862715852e1d7328da1e0d0e33f78475166fe3c690e710e18bfeb48f840f137831a2182