Resolves: RHEL-109197
This commit is contained in:
Jan Grulich 2025-12-02 09:03:59 +01:00
parent 826cd06907
commit dca43245df
4 changed files with 56 additions and 3 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@
/sip-6.7.12.tar.gz
/sip-6.8.2.tar.gz
/sip-6.9.0.tar.gz
/sip-6.14.0.tar.gz

View File

@ -0,0 +1,46 @@
diff --git a/pyproject.toml b/pyproject.toml
index caeaf29..683e3f3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
# The project configuration for sip.
[build-system]
-requires = ["setuptools>=77", "setuptools_scm>=8"]
+requires = ["setuptools>=69", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
@@ -12,10 +12,8 @@ name = "sip"
description = "A Python bindings generator for C/C++ libraries"
readme = "README.md"
urls.homepage = "https://github.com/Python-SIP/sip"
-dependencies = ["packaging>=24.2", "setuptools>=75.8.1", "tomli; python_version<'3.11'"]
+dependencies = ["packaging>=24.2", "setuptools>=69", "tomli; python_version<'3.11'"]
requires-python = ">=3.9"
-license = "BSD-2-Clause"
-license-files = ["LICENSE"]
dynamic = ["version"]
[[project.authors]]
@@ -29,3 +27,7 @@ sip-build = "sipbuild.tools.build:main"
sip-install = "sipbuild.tools.install:main"
sip-sdist = "sipbuild.tools.sdist:main"
sip-wheel = "sipbuild.tools.wheel:main"
+
+[project.license]
+text = "BSD-2-Clause"
+files = ["LICENSE"]
diff --git a/sipbuild/py_versions.py b/sipbuild/py_versions.py
index c52a101..64eb4ba 100644
--- a/sipbuild/py_versions.py
+++ b/sipbuild/py_versions.py
@@ -6,7 +6,7 @@
# The minimum required version of setuptools. This is the earliest version
# that generates correct wheel names for PyPI. Remember to update
# pyproject.toml in the root directory.
-MINIMUM_SETUPTOOLS = '75.8.1'
+MINIMUM_SETUPTOOLS = '69'
# The oldest supported minor version of Python v3. Remember to update
# pyproject.toml in the root directory.

View File

@ -1,7 +1,7 @@
%global pypi_name sip
Name: sip6
Version: 6.9.0
Version: 6.14.0
Release: 1%{?dist}
Summary: SIP - Python/C++ Bindings Generator
%py_provides python3-sip6
@ -10,6 +10,8 @@ License: BSD-2-Clause
URL: https://github.com/Python-SIP/sip
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
Patch: sip6-lower-setuptools-requirement.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -40,7 +42,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%install
%pyproject_install
%check
#check
#{py3_test_envvars} {python3} -m unittest discover -v -s test
%files
@ -51,6 +53,10 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%{python3_sitelib}/sipbuild/
%changelog
* Tue Dec 02 2025 Jan Grulich <jgrulich@redhat.com> - 6.14.0-1
- 6.14.0
Resolves: RHEL-109197
* Mon Dec 09 2024 Jan Grulich <jgrulich@redhat.com> - 6.9.0-1
- 6.9.0
Resolves: RHEL-70413

View File

@ -1 +1 @@
SHA512 (sip-6.9.0.tar.gz) = 1bcd097936e5f1762588df9146467216d069000c0bbfef93fc7fc49d4775fa8917332d31391165b80e204c59109ec09be14bbd143598b12c8f77eb7c5d086195
SHA512 (sip-6.14.0.tar.gz) = 77bc52cccc9f6eb76aaf7c4e25b4a9d3deccfc02ce3f4d649c6d9f4139c7ffe250d025f7c6de130d88784e39d6294bb1236bb70e7b06cf5d90d5e10667d7d4d1