Merge pull request #14375 from Rmys/master

python3-sip
This commit is contained in:
Rmys
2024-06-09 14:02:19 +03:00
committed by GitHub
2 changed files with 10 additions and 10 deletions
@@ -7,7 +7,7 @@
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import python3modules
from pisi.actionsapi import get from pisi.actionsapi import get
#WorkDir = "sip-%s" % get.srcVERSION() #WorkDir = "sip-%s" % get.srcVERSION()
@@ -19,22 +19,22 @@ def setup():
# 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.compile(pyVer="3") # python3modules.compile()
# shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION()) # shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
# pythonmodules.compile(pyVer="3") # python3modules.compile()
def build(): def build():
pythonmodules.compile(pyVer="3") python3modules.compile()
shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION()) # shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
pythonmodules.compile(pyVer="3") # python3modules.compile()
def install(): def install():
pythonmodules.install(pyVer="3") python3modules.install()
# autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION()) # shelltools.cd("../sip-%s-pyqt6" % get.srcVERSION())
pythonmodules.install(pyVer="3") # python3modules.install()
# autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # autotools.rawInstall("DESTDIR=%s" % get.installDIR())
@@ -16,7 +16,7 @@
<Archive sha1sum="bd9baacac815698eac2a4fe03e173140f72d5739" type="targz">https://pypi.python.org/packages/source/s/sip/sip-6.8.3.tar.gz</Archive> <Archive sha1sum="bd9baacac815698eac2a4fe03e173140f72d5739" type="targz">https://pypi.python.org/packages/source/s/sip/sip-6.8.3.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-build</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>