python3-pyqt6-sip new package
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user