Compare commits
No commits in common. "c10s" and "c9" have entirely different histories.
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,17 +1 @@
|
||||
/sip-6.1.1.tar.gz
|
||||
/sip-6.2.0.tar.gz
|
||||
/sip-6.3.0.tar.gz
|
||||
/sip-6.3.1.tar.gz
|
||||
/sip-6.4.0.tar.gz
|
||||
/sip-6.5.0.tar.gz
|
||||
/sip-6.5.1.tar.gz
|
||||
/sip-6.6.2.tar.gz
|
||||
/sip-6.7.5.tar.gz
|
||||
/sip-6.7.6.tar.gz
|
||||
/sip-6.7.7.tar.gz
|
||||
/sip-6.7.9.tar.gz
|
||||
/sip-6.7.11.tar.gz
|
||||
/sip-6.7.12.tar.gz
|
||||
/sip-6.8.2.tar.gz
|
||||
/sip-6.9.0.tar.gz
|
||||
/sip-6.14.0.tar.gz
|
||||
SOURCES/sip-6.6.2.tar.gz
|
||||
|
||||
1
.sip6.metadata
Normal file
1
.sip6.metadata
Normal file
@ -0,0 +1 @@
|
||||
f0e7edb9b96cfd4f5ae00ee82c42a6a36eaeb932 SOURCES/sip-6.6.2.tar.gz
|
||||
22
SOURCES/323d39a2d602
Normal file
22
SOURCES/323d39a2d602
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
# HG changeset patch
|
||||
# User Phil Thompson <phil@riverbankcomputing.com>
|
||||
# Date 1658047276 -3600
|
||||
# Node ID 323d39a2d6020e224e82f894c694add0621714ee
|
||||
# Parent 1430b279a3c90da85f2cadd97ec833deae14f446
|
||||
Fixed the instantiation of template values.
|
||||
|
||||
diff -r 1430b279a3c9 -r 323d39a2d602 sipbuild/generator/parser/instantiations.py
|
||||
--- a/sipbuild/generator/parser/instantiations.py Sun Jun 26 10:01:41 2022 +0100
|
||||
+++ b/sipbuild/generator/parser/instantiations.py Sun Jul 17 09:41:16 2022 +0100
|
||||
@@ -434,7 +434,8 @@
|
||||
proto_name = proto_value.value.result.definition
|
||||
|
||||
if proto_name.is_simple:
|
||||
- i_name = ScopedName.parse(template_string(proto_name, expansions))
|
||||
+ i_name = ScopedName.parse(
|
||||
+ template_string(proto_name.base_name, expansions))
|
||||
i_result = Argument(type=ArgumentType.DEFINED, definition=i_name)
|
||||
i_fcall = FunctionCall(result=i_result,
|
||||
args=proto_value.value.args)
|
||||
|
||||
12
SOURCES/sip6-fix-exception-handling.patch
Normal file
12
SOURCES/sip6-fix-exception-handling.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/sipbuild/generator/parser/rules.py b/sipbuild/generator/parser/rules.py
|
||||
index c221ad7..e79e1b8 100644
|
||||
--- a/sipbuild/generator/parser/rules.py
|
||||
+++ b/sipbuild/generator/parser/rules.py
|
||||
@@ -2293,6 +2293,7 @@ def p_opt_base_exception(p):
|
||||
|
||||
if len(p) == 4:
|
||||
base = p[2]
|
||||
+ base.make_absolute()
|
||||
|
||||
# See if it is a project-defined exception.
|
||||
for xd in p.parser.pm.spec.exceptions:
|
||||
62
SPECS/sip6.spec
Normal file
62
SPECS/sip6.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%global pypi_name sip
|
||||
|
||||
Name: sip6
|
||||
Version: 6.6.2
|
||||
Release: 2%{?dist}
|
||||
Summary: SIP - Python/C++ Bindings Generator
|
||||
%py_provides python3-sip6
|
||||
|
||||
# code_generator/parser.{c.h} is GPLv2+ with exceptions (bison)
|
||||
License: (GPLv2 or GPLv3) and (GPLv2+ with exceptions)
|
||||
URL: https://www.riverbankcomputing.com/software/sip
|
||||
Source0: %{pypi_source}
|
||||
Patch0: 323d39a2d602
|
||||
|
||||
# Bug 2225259 - regression bug when using sub-classed C++ exceptions
|
||||
Patch1: sip6-fix-exception-handling.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: %{py3_dist packaging ply setuptools toml}
|
||||
|
||||
%global _description %{expand:
|
||||
SIP is a collection of tools that makes it very easy to create Python bindings
|
||||
for C and C++ libraries. It was originally developed in 1998 to create PyQt,
|
||||
the Python bindings for the Qt toolkit, but can be used to create bindings for
|
||||
any C or C++ library. For example it is also used to generate wxPython, the
|
||||
Python bindings for wxWidgets.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version} -p 1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools
|
||||
|
||||
|
||||
%files
|
||||
%doc README
|
||||
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
||||
%{_bindir}/sip*
|
||||
%{python3_sitearch}/sip-*
|
||||
%{python3_sitearch}/sipbuild/
|
||||
|
||||
%changelog
|
||||
* Tue Jul 25 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.2-2
|
||||
- Fixed the handling of exceptions that sub-class C++ exceptions
|
||||
Resolves: bz#2225259
|
||||
|
||||
* Mon Oct 24 2022 Jan Grulich <jgrulich@redhat.com> - 6.6.2-1
|
||||
- 6.6.2
|
||||
Resolves: bz#2118862
|
||||
|
||||
* Tue Apr 19 2022 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
|
||||
- Initial package
|
||||
Resolves: bz#2071748
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
||||
@ -1,46 +0,0 @@
|
||||
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.
|
||||
145
sip6.spec
145
sip6.spec
@ -1,145 +0,0 @@
|
||||
%global pypi_name sip
|
||||
|
||||
Name: sip6
|
||||
Version: 6.14.0
|
||||
Release: 1%{?dist}
|
||||
Summary: SIP - Python/C++ Bindings Generator
|
||||
%py_provides python3-sip6
|
||||
|
||||
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
|
||||
|
||||
# For tests
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%global _description %{expand:
|
||||
SIP is a collection of tools that makes it very easy to create Python bindings
|
||||
for C and C++ libraries. It was originally developed in 1998 to create PyQt,
|
||||
the Python bindings for the Qt toolkit, but can be used to create bindings for
|
||||
any C or C++ library. For example it is also used to generate wxPython, the
|
||||
Python bindings for wxWidgets.}
|
||||
|
||||
%description %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version} -p 1
|
||||
|
||||
%generate_buildrequires
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
#check
|
||||
#{py3_test_envvars} {python3} -m unittest discover -v -s test
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/sip*
|
||||
%{python3_sitelib}/sip-*
|
||||
%{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
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.8.2-4
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.8.2-3
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Mon Feb 12 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.2-2
|
||||
- Rebuild (fixed SPDX license)
|
||||
|
||||
* Thu Jan 25 2024 Scott Talbert <swt@techie.net> - 6.8.2-1
|
||||
- Update to new upstream release 6.8.2 (#2252260)
|
||||
|
||||
* Mon Oct 16 2023 Jan Grulich <jgrulich@redhat.com> - 6.7.12-1
|
||||
- 6.7.12
|
||||
|
||||
* Wed Aug 02 2023 Scott Talbert <swt@techie.net> - 6.7.11-1
|
||||
- Update to new upstream release 6.7.11 (#2225117)
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 6.7.9-2
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Wed Apr 26 2023 Scott Talbert <swt@techie.net> - 6.7.9-1
|
||||
- Update to new upstream release 6.7.9 (#2185559)
|
||||
|
||||
* Tue Feb 07 2023 Scott Talbert <swt@techie.net> - 6.7.7-1
|
||||
- Update to new upstream release 6.7.7 (#2167385)
|
||||
|
||||
* Tue Jan 31 2023 Scott Talbert <swt@techie.net> - 6.7.6-1
|
||||
- Update to new upstream release 6.7.6 (#2165207)
|
||||
- Modernize python packaging
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Dec 02 2022 Scott Talbert <swt@techie.net> - 6.7.5-1
|
||||
- Update to new upstream release 6.7.5 (#2131647)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jul 19 2022 Scott Talbert <swt@techie.net> - 6.6.2-1
|
||||
- Update to new upstream release 6.6.2 (#2074712)
|
||||
|
||||
* Wed Jun 15 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 6.5.1-3
|
||||
- Add patch for Python 3.11 compatibility
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.5.1-2
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Feb 18 2022 Scott Talbert <swt@techie.net> - 6.5.1-1
|
||||
- Update to new upstream release 6.5.1 (#2049172)
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Dec 14 2021 Scott Talbert <swt@techie.net> - 6.5.0-1
|
||||
- Update to new upstream release 6.5.0 (#2028405)
|
||||
|
||||
* Sat Oct 30 2021 Scott Talbert <swt@techie.net> - 6.4.0-1
|
||||
- Update to new upstream release 6.4.0 (#2018175)
|
||||
|
||||
* Wed Oct 13 2021 Scott Talbert <swt@techie.net> - 6.3.1-1
|
||||
- Update to new upstream release 6.3.1 (#2013781)
|
||||
|
||||
* Tue Oct 12 2021 Scott Talbert <swt@techie.net> - 6.3.0-1
|
||||
- Update to new upstream release 6.3.0 (#2013274)
|
||||
|
||||
* Mon Oct 04 2021 Scott Talbert <swt@techie.net> - 6.2.0-1
|
||||
- Update to new upstream release 6.2.0 (#2010059)
|
||||
|
||||
* Wed Aug 04 2021 Scott Talbert <swt@techie.net> - 6.1.1-3
|
||||
- Fix handling of Unicode docstrings
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jul 08 2021 Scott Talbert <swt@techie.net> - 6.1.1-1
|
||||
- Initial package.
|
||||
Loading…
Reference in New Issue
Block a user