|
|
|
@ -1,18 +1,22 @@
|
|
|
|
|
%global pypi_name sip
|
|
|
|
|
|
|
|
|
|
Name: sip6
|
|
|
|
|
Version: 6.8.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 6.9.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: SIP - Python/C++ Bindings Generator
|
|
|
|
|
%py_provides python3-sip6
|
|
|
|
|
|
|
|
|
|
License: GPL-2.0-only OR GPL-3.0-only
|
|
|
|
|
URL: https://www.riverbankcomputing.com/software/sip
|
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
# 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,
|
|
|
|
@ -26,26 +30,31 @@ Python bindings for wxWidgets.}
|
|
|
|
|
%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_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools
|
|
|
|
|
|
|
|
|
|
#{py3_test_envvars} {python3} -m unittest discover -v -s test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
|
|
|
|
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/sip*
|
|
|
|
|
%{python3_sitelib}/sip-*
|
|
|
|
|
%{python3_sitelib}/sipbuild/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|