summaryrefslogtreecommitdiff
path: root/sip-6.spec
blob: 2dafacf13948aa95c6a008cebda51bc5d0c04639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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