This commit is contained in:
commit
b70f7d8f79
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
1108
python-sip6.changes
Normal file
1108
python-sip6.changes
Normal file
File diff suppressed because it is too large
Load Diff
122
python-sip6.spec
Normal file
122
python-sip6.spec
Normal file
@ -0,0 +1,122 @@
|
||||
#
|
||||
# spec file for package python-sip6
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-sip6
|
||||
Version: 6.1.1
|
||||
Release: 0
|
||||
Summary: A Python bindings generator for C/C++ libraries
|
||||
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://www.riverbankcomputing.com/software/sip
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Summary: A Python bindings generator for C/C++ libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: c++_compiler
|
||||
Requires: python-base >= 3.6
|
||||
Requires: python-devel
|
||||
Requires: python-setuptools
|
||||
Requires: python-toml
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Conflicts: python-sip-impl
|
||||
Provides: python-sip-devel = %{version}-%{release}
|
||||
Provides: python-sip-impl = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
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.
|
||||
|
||||
This package contains all the developer tools you need to create your
|
||||
own sip bindings.
|
||||
|
||||
%package -n python-sip6-doc
|
||||
Summary: A Python bindings generator for C/C++ libraries -- common documentation
|
||||
Group: Development/Libraries/Python
|
||||
Provides: %{python_module sip6-doc = %{version}-%{release}}
|
||||
|
||||
%description -n python-sip6-doc
|
||||
SIP is a tool that makes it very easy to create Python bindings for C
|
||||
and C++ libraries. It was originally developed to create PyQt, the
|
||||
Python bindings for the Qt toolkit, but can be used to create bindings
|
||||
for any C or C++ library.
|
||||
|
||||
This package contains the documentation and example files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n sip-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-build
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-distinfo
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-install
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-module
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-sdist
|
||||
%python_clone -a %{buildroot}%{_bindir}/sip-wheel
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%fdupes -s doc
|
||||
|
||||
%post devel
|
||||
%python_install_alternative sip-build sip-distinfo sip-install sip-module sip-sdist sip-wheel
|
||||
|
||||
%postun devel
|
||||
%python_uninstall_alternative sip-build
|
||||
|
||||
%files %{python_files devel}
|
||||
%license LICENSE*
|
||||
%python_alternative %{_bindir}/sip-build
|
||||
%python_alternative %{_bindir}/sip-distinfo
|
||||
%python_alternative %{_bindir}/sip-install
|
||||
%python_alternative %{_bindir}/sip-module
|
||||
%python_alternative %{_bindir}/sip-sdist
|
||||
%python_alternative %{_bindir}/sip-wheel
|
||||
%{python_sitearch}/sipbuild
|
||||
%{python_sitearch}/sip-%{version}-py*.egg-info
|
||||
|
||||
%files -n python-sip6-doc
|
||||
%license LICENSE*
|
||||
%doc doc/
|
||||
|
||||
%changelog
|
3
sip-6.1.1.tar.gz
Normal file
3
sip-6.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:52d25af2fcd764c4e15cc9cd1350bdb0e63f52dfa2aa3c5e7679af7fde9f7e20
|
||||
size 1441692
|
Loading…
x
Reference in New Issue
Block a user