From 7784cda9739a6c14ee4a1c19f92856df4de0b577 Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 20 Jan 2020 17:48:08 +0300 Subject: [PATCH] sip --- .../language/python3/python3-sip/actions.py | 13 ++++++---- .../language/python3/python3-sip/pspec.xml | 24 ++++++++++++++----- .../python3/python3-sip/translations.xml | 12 ++++++++++ 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/programming/language/python3/python3-sip/actions.py b/programming/language/python3/python3-sip/actions.py index 5c5257f735..ccc2383a3f 100644 --- a/programming/language/python3/python3-sip/actions.py +++ b/programming/language/python3/python3-sip/actions.py @@ -4,10 +4,10 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt +from pisi.actionsapi import pythonmodules from pisi.actionsapi import shelltools from pisi.actionsapi import autotools from pisi.actionsapi import pisitools -from pisi.actionsapi import pythonmodules from pisi.actionsapi import get #WorkDir = "sip-%s" % get.srcVERSION() @@ -17,12 +17,12 @@ def setup(): shelltools.cd("sip-%s" % get.srcVERSION()) shelltools.copytree("../sip-%s" % (get.srcVERSION().replace("_", "~")), "../sip-%s-pyqt5" % get.srcVERSION()) - shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.6m\/Python.h/g' {} \;") - - pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") + #shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.6m\/Python.h/g' {} \;") + pisitools.cflags.add("-Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-cast-function-type") + pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s" LFLAGS="-Wl,-O1,--as-needed -shared -lpthread %s"' % (get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS()), pyVer = "3") shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION()) - pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s" --sip-module PyQt5.sip --no-tools' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") + pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s" LFLAGS="-Wl,-O1,--as-needed -shared -lpthread %s" --sip-module PyQt5.sip --no-tools' % (get.CFLAGS(), get.CXXFLAGS(), get.LDFLAGS()), pyVer = "3") def build(): @@ -36,3 +36,6 @@ def install(): shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION()) autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dohtml("doc/html/*") + pisitools.dodoc("LICENSE", "README") diff --git a/programming/language/python3/python3-sip/pspec.xml b/programming/language/python3/python3-sip/pspec.xml index 53c5eb6b16..8be1510d51 100644 --- a/programming/language/python3/python3-sip/pspec.xml +++ b/programming/language/python3/python3-sip/pspec.xml @@ -1,5 +1,5 @@ - + python3-sip @@ -9,12 +9,13 @@ ayhanyalcinsoy@pisilinux.org GPLv2 + programming.language.python3 app:console SIP is a tool for generating bindings for C++ classes so that they can be used by Python3 SIP is a tool for generating bindings for C and C++ libraries so that they can be used by Python3. It takes any C or C++ libraries and converts them into Python extension modules. https://www.riverbankcomputing.com/static/Downloads/sip/4.19.20/sip-4.19.20.tar.gz - qt5-base-devel + qt5-base-devel python3-devel @@ -41,17 +42,28 @@ libgcc - /usr/lib/python3.6/site-packages/PyQt5* + /usr/lib/python3*/site-packages/PyQt5* + + + + + python3-sip-docs + Documentation files for python3-sip + + python3-sip + + + /usr/share/doc/python3-sip - 2019-12-29 + 2020-01-14 4.19.20 Version bump. - Mustafa Cinasal - muscnsl@gmail.com + Blue Devil + bluedevil@sctzine.com 2019-09-13 diff --git a/programming/language/python3/python3-sip/translations.xml b/programming/language/python3/python3-sip/translations.xml index 3529eda643..1eaf948fa6 100644 --- a/programming/language/python3/python3-sip/translations.xml +++ b/programming/language/python3/python3-sip/translations.xml @@ -6,4 +6,16 @@ SIP3 C ve C++ kütüphanelerini Python'da kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python genişletme modülüne dönüştürür. Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3. + + + python3-pyqt5-sip + C ve C++ kütüphaneleri için python PyQt5 bağlayıcıları oluşturan bir araç + SIP3 C ve C++ kütüphanelerini Python'da PyQt5 ile kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python PyQt5 genişletme modülüne dönüştürür. + + + + python3-sip-docs + python3-sip için belgelendirme dosyaları + python3-sip-docs, python3-sip için belgelendirme dosyalarını içerir. +