diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-12-16 22:15:29 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-12-16 22:15:29 +0000 |
| commit | cc132c65a40613e1fc4102afa672aec7ea1fc91d (patch) | |
| tree | dbfa158b7444aba12a181cfd74e7d8813275ca5e | |
| parent | 02021fbfd19b0f900682d666a323e03ab9a3457c (diff) | |
automatic import of sip6openeuler24.03_LTS
| -rw-r--r-- | sip-6.14.0.tar.gz | 3 | ||||
| -rw-r--r-- | sip-6.spec | 54 | ||||
| -rw-r--r-- | sip6.spec | 50 |
3 files changed, 57 insertions, 50 deletions
diff --git a/sip-6.14.0.tar.gz b/sip-6.14.0.tar.gz new file mode 100644 index 0000000..6c7c7dc --- /dev/null +++ b/sip-6.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:040ca52f1a9f264c9856dd3172dbaccc6f562de5e0a251917bfe881f46a7468d +size 2461525 diff --git a/sip-6.spec b/sip-6.spec new file mode 100644 index 0000000..2dafacf --- /dev/null +++ b/sip-6.spec @@ -0,0 +1,54 @@ +%global pypi_name sip + +Name: sip6 +Version: 6.14.0 +Release: 1 +Summary: SIP - Python/C++ Bindings Generator + +License: BSD-2-Clause +URL: https://github.com/Python-SIP/sip +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel >= 3.9 +BuildRequires: python3dist(packaging) >= 24.2 +BuildRequires: python3dist(pip) >= 19 +BuildRequires: python3dist(setuptools) >= 77 +BuildRequires: python3dist(setuptools-scm) >= 8 +BuildRequires: /usr/bin/pytest +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 + +%build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%pyproject_build + +%install +%pyproject_install + +%files +%doc README.md +%license LICENSE +%{_bindir}/sip* +%{python3_sitelib}/sip-* +%{python3_sitelib}/sipbuild/ + +%changelog +* Tue Oct 28 2025 Funda Wang <fundawang@yeah.net> - 6.14.0-1 +- update to 6.14.0 +- disable test as it need more tweaks of pytest + +* Wed May 28 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 6.10.0-1 +- Init package diff --git a/sip6.spec b/sip6.spec deleted file mode 100644 index 77ae9be..0000000 --- a/sip6.spec +++ /dev/null @@ -1,50 +0,0 @@ -%global pypi_name sip - -Name: sip6 -Version: 6.5.1 -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} - -BuildRequires: gcc -BuildRequires: python3-devel -BuildRequires: %{py3_dist 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 Apr 19 2022 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1 -- Initial package - Resolves: bz#2071748 |
