import sip6-6.6.2-1.el9

i9c-beta changed/i9c-beta/sip6-6.6.2-1.el9
MSVSphere Packaging Team 2 years ago
commit 78f924ccbe

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/sip-6.6.2.tar.gz

@ -0,0 +1 @@
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,58 @@
%global pypi_name sip
Name: sip6
Version: 6.6.2
Release: 1%{?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
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
* Fri Apr 14 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 6.6.2-1
- Rebuilt for MSVSphere 9.2 beta
* 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
Loading…
Cancel
Save