python3-pyqt6-sip new package

This commit is contained in:
Rmys
2022-10-13 12:15:08 +03:00
parent 4472ca2d28
commit 6d8de57aeb
11 changed files with 636 additions and 265 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# 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 pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE*", "README*")
@@ -0,0 +1,177 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pyqt5-sip</Name>
<Homepage>https://www.riverbankcomputing.com/news</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<PartOf>programming.language.python3</PartOf>
<IsA>app:console</IsA>
<Summary>The sip module support for PyQt5</Summary>
<Description>The sip module support for PyQt5</Description>
<Archive sha1sum="c366f424c8e0e6f9ac01d4d156b55fa9f2a02b05" type="targz">https://pypi.python.org/packages/source/P/PyQt5-sip/PyQt5_sip-12.11.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-pyqt5-sip</Name>
<Summary>Python 3.x pyqt6 SIP bindings for C and C++ libraries</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*/site-packages/PyQt5*</Path>
<Path fileType="doc">/usr/share/doc/python3-pyqt5-sip</Path>
</Files>
</Package>
<History>
<Update release="20">
<Date>2022-10-13</Date>
<Version>12.11.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="19">
<Date>2021-10-22</Date>
<Version>4.19.25</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="18">
<Date>2020-12-19</Date>
<Version>4.19.24</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="17">
<Date>2020-09-10</Date>
<Version>4.19.24</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="16">
<Date>2020-04-04</Date>
<Version>4.19.22</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="15">
<Date>2020-03-01</Date>
<Version>4.19.21</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="14">
<Date>2020-01-14</Date>
<Version>4.19.20</Version>
<Comment>Rebuild bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="13">
<Date>2020-01-14</Date>
<Version>4.19.20</Version>
<Comment>Version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="12">
<Date>2019-09-13</Date>
<Version>4.19.19</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="11">
<Date>2019-07-13</Date>
<Version>4.19.18</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="10">
<Date>2019-04-14</Date>
<Version>4.19.14</Version>
<Comment>Rebuild pyqt6 sip.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2019-01-14</Date>
<Version>4.19.12</Version>
<Comment>Rebuild pyqt6 sip.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2018-08-06</Date>
<Version>4.19.12</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="7">
<Date>2018-01-10</Date>
<Version>4.19.6</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2017-03-02</Date>
<Version>4.19.1</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2016-06-18</Date>
<Version>4.18</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2016-06-11</Date>
<Version>4.18</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2016-06-06</Date>
<Version>4.18</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-05-20</Date>
<Version>4.18</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-05-08</Date>
<Version>4.16.9</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,16 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# 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 pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE*", "README*")
@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pyqt6-sip</Name>
<Homepage>https://riverbankcomputing.com/software/pyqt/intro</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app</IsA>
<Summary>The sip module support for PyQt6</Summary>
<Icon>python3-pyqt6-sip</Icon>
<Description>The sip module support for PyQt6</Description>
<Archive sha1sum="ec4ba2015a799bbe6968a0b1f9a7bae301da1b21" type="targz">https://pypi.python.org/packages/source/P/PyQt6-sip/PyQt6_sip-13.4.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-pyqt6-sip.patch</Patch>
<Patch level="1">python3-pyqt6-sip.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-pyqt6-sip</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-10-08</Date>
<Version>13.4.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-pyqt6-sip</Name>
<Summary xml:lang="tr">The sip module support for PyQt6</Summary>
<Description xml:lang="tr">The sip module support for PyQt6</Description>
</Source>
</PISI>
@@ -15,24 +15,26 @@ from pisi.actionsapi import get
def setup():
shelltools.cd("%s" % get.workDIR())
shelltools.cd("sip-%s" % get.srcVERSION())
shelltools.copytree("../sip-%s" % (get.srcVERSION().replace("_", "~")), "../sip-%s-pyqt5" % get.srcVERSION())
shelltools.copytree("../sip-%s" % (get.srcVERSION().replace("_", "~")), "../sip-%s-pyqt6" % get.srcVERSION())
shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.9\/Python.h/g' {} \;")
# shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.9\/Python.h/g' {} \;")
pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
# pythonmodules.compile(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")
# shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
# pythonmodules.compile(pyVer="3")
def build():
autotools.make()
pythonmodules.compile(pyVer="3")
shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION())
autotools.make()
shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
pythonmodules.compile(pyVer="3")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pythonmodules.install(pyVer="3")
# autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
pythonmodules.install(pyVer="3")
# autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -13,10 +13,9 @@
<IsA>app:console</IsA>
<Summary>SIP is a tool for generating bindings for C++ classes so that they can be used by Python3</Summary>
<Description>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.</Description>
<Archive sha1sum="dea579470269fabeb920976c405fa7f5e67cd4bd" type="targz">https://www.riverbankcomputing.com/static/Downloads/sip/4.19.25/sip-4.19.25.tar.gz</Archive>
<Archive sha1sum="2a428d0dcb895e153114bb1fc614fcb74460f0ee" type="targz">https://pypi.python.org/packages/source/s/sip/sip-6.7.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<!-- <Dependency versionFrom="5.14.2">qt5-base-devel</Dependency> -->
</BuildDependencies>
</Source>
@@ -26,6 +25,9 @@
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency>python3-PLY</Dependency>
<Dependency>python3-pyparsing</Dependency>
<Dependency>python3-packaging</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -34,18 +36,7 @@
<Path fileType="data">/usr/share/licenses</Path>
</Files>
</Package>
<Package>
<Name>python3-pyqt5-sip</Name>
<Summary>Python 3.x pyqt5 SIP bindings for C and C++ libraries</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*/site-packages/PyQt5*</Path>
</Files>
</Package>
<Package>
<Name>python3-sip-docs</Name>
<Summary>Documentation files for python3-sip</Summary>
@@ -58,6 +49,13 @@
</Package>
<History>
<Update release="20">
<Date>2022-10-13</Date>
<Version>6.7.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="19">
<Date>2021-10-22</Date>
<Version>4.19.25</Version>
@@ -124,14 +122,14 @@
<Update release="10">
<Date>2019-04-14</Date>
<Version>4.19.14</Version>
<Comment>Rebuild pyqt5 sip.</Comment>
<Comment>Rebuild pyqt6 sip.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2019-01-14</Date>
<Version>4.19.12</Version>
<Comment>Rebuild pyqt5 sip.</Comment>
<Comment>Rebuild pyqt6 sip.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>