Compare commits

..

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/sip-6.8.2.tar.gz SOURCES/sip-6.6.2.tar.gz

@ -1 +1 @@
4084b35b0ba2e01be2e0bacc06ee5c7a008d5c1b SOURCES/sip-6.8.2.tar.gz f0e7edb9b96cfd4f5ae00ee82c42a6a36eaeb932 SOURCES/sip-6.6.2.tar.gz

@ -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)

@ -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:

@ -1,17 +1,23 @@
%global pypi_name sip %global pypi_name sip
Name: sip6 Name: sip6
Version: 6.8.2 Version: 6.6.2
Release: 3%{?dist} Release: 2%{?dist}
Summary: SIP - Python/C++ Bindings Generator Summary: SIP - Python/C++ Bindings Generator
%py_provides python3-sip6 %py_provides python3-sip6
License: GPL-2.0-only OR GPL-3.0-only # 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 URL: https://www.riverbankcomputing.com/software/sip
Source0: %{pypi_source} Source0: %{pypi_source}
BuildArch: noarch Patch0: 323d39a2d602
# Bug 2225259 - regression bug when using sub-classed C++ exceptions
Patch1: sip6-fix-exception-handling.patch
BuildRequires: gcc
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: %{py3_dist packaging ply setuptools toml}
%global _description %{expand: %global _description %{expand:
SIP is a collection of tools that makes it very easy to create Python bindings SIP is a collection of tools that makes it very easy to create Python bindings
@ -25,14 +31,11 @@ Python bindings for wxWidgets.}
%prep %prep
%autosetup -n %{pypi_name}-%{version} -p 1 %autosetup -n %{pypi_name}-%{version} -p 1
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
%install %install
%pyproject_install %py3_install
%check %check
%py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools %py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools
@ -42,85 +45,18 @@ Python bindings for wxWidgets.}
%doc README %doc README
%license LICENSE LICENSE-GPL2 LICENSE-GPL3 %license LICENSE LICENSE-GPL2 LICENSE-GPL3
%{_bindir}/sip* %{_bindir}/sip*
%{python3_sitelib}/sip-* %{python3_sitearch}/sip-*
%{python3_sitelib}/sipbuild/ %{python3_sitearch}/sipbuild/
%changelog %changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.8.2-3 * Tue Jul 25 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.2-2
- Bump release for June 2024 mass rebuild - Fixed the handling of exceptions that sub-class C++ exceptions
Resolves: bz#2225259
* 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 * Mon Oct 24 2022 Jan Grulich <jgrulich@redhat.com> - 6.6.2-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - 6.6.2
Resolves: bz#2118862
* Thu Jul 08 2021 Scott Talbert <swt@techie.net> - 6.1.1-1 * Tue Apr 19 2022 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
- Initial package. - Initial package
Resolves: bz#2071748

Loading…
Cancel
Save