This commit is contained in:
Rmys
2020-01-20 19:14:54 +03:00
parent 0581449aea
commit 2c1e97f3dd
3 changed files with 19 additions and 8 deletions
@@ -45,6 +45,13 @@
</Package> </Package>
<History> <History>
<Update release="20">
<Date>2020-01-20</Date>
<Version>16.08.3</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="19"> <Update release="19">
<Date>2019-11-04</Date> <Date>2019-11-04</Date>
<Version>16.08.3</Version> <Version>16.08.3</Version>
@@ -4,10 +4,10 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
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 get from pisi.actionsapi import get
#WorkDir = "sip-%s" % get.srcVERSION() #WorkDir = "sip-%s" % get.srcVERSION()
@@ -17,12 +17,12 @@ def setup():
shelltools.cd("sip-%s" % get.srcVERSION()) 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-pyqt5" % get.srcVERSION())
#shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.6m\/Python.h/g' {} \;") shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.8\/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") pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION()) shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION())
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") pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s" --sip-module PyQt5.sip --no-tools' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
def build(): def build():
@@ -36,6 +36,3 @@ def install():
shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION()) shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION())
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dohtml("doc/html/*")
pisitools.dodoc("LICENSE", "README")
@@ -58,6 +58,13 @@
</Package> </Package>
<History> <History>
<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"> <Update release="13">
<Date>2020-01-14</Date> <Date>2020-01-14</Date>
<Version>4.19.20</Version> <Version>4.19.20</Version>