]> git.pld-linux.org Git - packages/sip5.git/commitdiff
- new auto/th/sip5-5.5.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 23 Jun 2021 14:22:19 +0000 (16:22 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 23 Jun 2021 14:22:19 +0000 (16:22 +0200)
python3.10.patch [new file with mode: 0644]
sip5.spec [new file with mode: 0644]

diff --git a/python3.10.patch b/python3.10.patch
new file mode 100644 (file)
index 0000000..04c5b64
--- /dev/null
@@ -0,0 +1,9 @@
+diff -up sip-5.5.0/sipbuild/py_versions.py.py310 sip-5.5.0/sipbuild/py_versions.py
+--- sip-5.5.0/sipbuild/py_versions.py.py310    2020-11-23 08:21:33.000000000 -0500
++++ sip-5.5.0/sipbuild/py_versions.py  2021-06-14 22:08:07.070489670 -0400
+@@ -23,4 +23,4 @@
+ # The first and last supported minor versions of Python v3.
+ FIRST_SUPPORTED_MINOR = 5
+-LAST_SUPPORTED_MINOR = 9
++LAST_SUPPORTED_MINOR = 10
diff --git a/sip5.spec b/sip5.spec
new file mode 100644 (file)
index 0000000..98c3465
--- /dev/null
+++ b/sip5.spec
@@ -0,0 +1,58 @@
+Summary:       SIP - Python/C++ Bindings Generator
+Name:          sip5
+Version:       5.5.0
+Release:       1
+License:       GPL v2
+#Source0Download:        https://pypi.org/project/sip/
+Source0:       https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
+# Source0-md5: 657c52aff0a180fc0f481e210bc9a2ba
+URL:           https://www.riverbankcomputing.com/software/sip
+Patch0:                python3.10.patch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%prep
+%setup -q -n sip-%{version}
+%patch0 -p1
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/sipbuild/module/source
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/sip*
+%dir %{py3_sitedir}/sipbuild
+%{py3_sitedir}/sip-%{version}-py*.egg-info
+%{py3_sitedir}/sipbuild/*.py
+%attr(755,root,root) %{py3_sitedir}/sipbuild/*.so
+%{py3_sitedir}/sipbuild/__pycache__
+%dir %{py3_sitedir}/sipbuild/distinfo
+%{py3_sitedir}/sipbuild/distinfo/*.py
+%{py3_sitedir}/sipbuild/distinfo/__pycache__
+%dir %{py3_sitedir}/sipbuild/legacy
+%{py3_sitedir}/sipbuild/legacy/*.py
+%{py3_sitedir}/sipbuild/legacy/__pycache__
+%dir %{py3_sitedir}/sipbuild/module
+%{py3_sitedir}/sipbuild/module/*.py
+%{py3_sitedir}/sipbuild/module/__pycache__
+%dir %{py3_sitedir}/sipbuild/tools
+%{py3_sitedir}/sipbuild/tools/*.py
+%{py3_sitedir}/sipbuild/tools/__pycache__
This page took 0.118266 seconds and 4 git commands to generate.