Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| db50b908d0 |
BIN
pyqt_builder-1.18.1.tar.gz
LFS
BIN
pyqt_builder-1.18.1.tar.gz
LFS
Binary file not shown.
BIN
pyqt_builder-1.18.2.tar.gz
LFS
Normal file
BIN
pyqt_builder-1.18.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 7 10:07:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 9 16:44:10 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.18.2
|
||||
* The licensing information in `pyproject.toml` now conforms to
|
||||
PEP 639. This means that the minimum setuptools version is v77.
|
||||
That in itself means that the wheel name conforms to the
|
||||
current PyPI requirements.
|
||||
* The wheels created by `pyqt-qt-wheel` now have lower case
|
||||
names.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 01:13:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -16,29 +16,43 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyqt-builder
|
||||
Version: 1.18.1
|
||||
Version: 1.18.2
|
||||
Release: 0
|
||||
Summary: The PEP 517 compliant PyQt build system
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/Python-PyQt/PyQt-builder
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyQt-builder/pyqt_builder-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pyqt_builder/pyqt_builder-%{version}.tar.gz
|
||||
Source99: python-pyqt-builder.rpmlintrc
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 64}
|
||||
# Technically >= 8, but we make it compatible in prep.
|
||||
BuildRequires: %{python_module setuptools_scm >= 7}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging
|
||||
Requires: python-sip-devel >= 6.7
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Provides: python-PyQt-builder = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} < 1600
|
||||
BuildRequires: %{python_module setuptools >= 64}
|
||||
BuildRequires: %{python_module setuptools_scm >= 7}
|
||||
%else
|
||||
BuildRequires: %{python_module setuptools >= 77}
|
||||
BuildRequires: %{python_module setuptools_scm >= 8}
|
||||
%endif
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
# SECTION Test Requirements
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module sip-devel >= 6.7}
|
||||
@@ -56,9 +70,12 @@ sip-install or pip can then be used to build and install the project.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pyqt_builder-%{version}
|
||||
# Make it work with setuptools_scm < 8
|
||||
%if 0%{suse_version} < 1600
|
||||
sed -i s/version_file/write_to/ pyproject.toml
|
||||
# Make it work with setuptools < 77 and setuptools_scm < 8
|
||||
%if 0%{?suse_version} < 1600
|
||||
sed -i pyproject.toml \
|
||||
-e 's/version_file/write_to/' \
|
||||
-e 's/license = .*/license = { file = "LICENSE" }/' \
|
||||
-e '/license-files/d'
|
||||
%endif
|
||||
|
||||
%build
|
||||
@@ -68,6 +85,7 @@ sed -i s/version_file/write_to/ pyproject.toml
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyqt-bundle
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyqt-qt-wheel
|
||||
%python_group_libalternatives pyqt-bundle pyqt-qt-wheel
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -84,8 +102,12 @@ $python -c 'import pyqtbuild'
|
||||
%postun
|
||||
%python_uninstall_alternative pyqt-bundle
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative pyqt-bundle
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md LICENSE
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%python_alternative %{_bindir}/pyqt-bundle
|
||||
%python_alternative %{_bindir}/pyqt-qt-wheel
|
||||
%{python_sitelib}/pyqtbuild
|
||||
|
||||
Reference in New Issue
Block a user