summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-12-16 22:13:15 +0000
committerCoprDistGit <infra@openeuler.org>2025-12-16 22:13:15 +0000
commit09d6f01030a384a0234f765729d839445a3ddb03 (patch)
tree5f8dcdda9f61ca8d79a4b37a6d24b5a89075dbac
parent134332d9cc31fd68b5114488494ee0242f685242 (diff)
automatic import of python-PyQt6-sipopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--python-PyQt6-sip.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d6120df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyQt6_sip-13.9.0.tar.gz
diff --git a/python-PyQt6-sip.spec b/python-PyQt6-sip.spec
new file mode 100644
index 0000000..a5cebfd
--- /dev/null
+++ b/python-PyQt6-sip.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyQt6-sip
+Version: 13.9.0
+Release: 1
+Summary: The sip module support for PyQt6
+License: SIP
+URL: https://github.com/Python-SIP/sip
+Source0: https://files.pythonhosted.org/packages/e5/9e/ae81ae863dc5424b2a7f3d1dd575b6bd4a021470ff5ceae0da4c7c70f874/PyQt6_sip-13.9.0.tar.gz
+
+
+%description
+The sip extension module provides support for the PyQt6
+package.
+
+%package -n python3-PyQt6-sip
+Summary: The sip module support for PyQt6
+Provides: python-PyQt6-sip
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-PyQt6-sip
+The sip extension module provides support for the PyQt6
+package.
+
+%package help
+Summary: Development documents and examples for PyQt6-sip
+Provides: python3-PyQt6-sip-doc
+%description help
+The sip extension module provides support for the PyQt6
+package.
+
+%prep
+%autosetup -n PyQt6_sip-13.9.0
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+touch filelist.lst
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-PyQt6-sip -f filelist.lst
+%{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Dec 06 2024 Python_Bot <Python_Bot@openeuler.org> - 13.9.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..790f641
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+401d5a996c9e49e6087429085f914e0a PyQt6_sip-13.9.0.tar.gz