sip:fixed. it works
This commit is contained in:
@@ -16,7 +16,6 @@ py2dir = get.curPYTHON()
|
|||||||
py3dir = "python3.4"
|
py3dir = "python3.4"
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.4m\/Python.h/g' {} \;")
|
|
||||||
shelltools.cd("..")
|
shelltools.cd("..")
|
||||||
shelltools.makedirs("build_python3")
|
shelltools.makedirs("build_python3")
|
||||||
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
||||||
@@ -24,6 +23,7 @@ def setup():
|
|||||||
pythonmodules.run('configure.py CFLAGS+="%s" CXXFLAGS+="%s"' % (get.CFLAGS(), get.CXXFLAGS()))
|
pythonmodules.run('configure.py CFLAGS+="%s" CXXFLAGS+="%s"' % (get.CFLAGS(), get.CXXFLAGS()))
|
||||||
|
|
||||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
shelltools.cd("../build_python3/%s" % WorkDir)
|
||||||
|
shelltools.system("find . -type f -exec sed -i 's/Python.h/python3.4m\/Python.h/g' {} \;")
|
||||||
pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
pythonmodules.run('configure.py CFLAGS="%s" CXXFLAGS="%s"' % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,73 +13,36 @@
|
|||||||
<Archive sha1sum="c0a09aa63523293c5ca39444746b1cef1253a0c5" type="targz">mirrors://sourceforge/pyqt/sip-4.16.9.tar.gz</Archive>
|
<Archive sha1sum="c0a09aa63523293c5ca39444746b1cef1253a0c5" type="targz">mirrors://sourceforge/pyqt/sip-4.16.9.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="5.5.1">qt5-base-devel</Dependency>
|
<Dependency versionFrom="5.5.1">qt5-base-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>python-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
|
||||||
<!-- <Patch>no-strip.patch</Patch>
|
|
||||||
<Patch>disable-rpaths.diff</Patch>
|
|
||||||
<Patch>fix-linking.diff</Patch>
|
|
||||||
<Patch>sip-outoftree.patch</Patch>-->
|
|
||||||
</Patches>
|
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>sip</Name>
|
<Name>python-sip</Name>
|
||||||
|
<Summary>Python 2.x SIP bindings for C and C++ libraries</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>python</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin/py2sip</Path>
|
||||||
<Path fileType="data">/usr/share/licenses/sip/LICENSE</Path>
|
<Path fileType="library">/usr/lib/python2.7/</Path>
|
||||||
|
<Path fileType="header">/usr/include/python2.7</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<AdditionalFiles>
|
|
||||||
<!--<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip/disable-rpaths.diff">disable-rpaths.diff</AdditionalFile>
|
|
||||||
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip/fix-linking.diff">fix-linking.diff</AdditionalFile>-->
|
|
||||||
</AdditionalFiles>
|
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<BuildDependencies>
|
|
||||||
<Dependency>python3-devel</Dependency>
|
|
||||||
</BuildDependencies>
|
|
||||||
<Name>python3-sip</Name>
|
<Name>python3-sip</Name>
|
||||||
<Files>
|
|
||||||
<Path fileType="library">/usr/lib/python3*</Path>
|
|
||||||
<Path fileType="data">/usr/share/licenses/python3-sip/LICENSE</Path>
|
|
||||||
</Files>
|
|
||||||
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
|
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>python3</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
<Dependency release="current">sip</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>python-sip</Name>
|
|
||||||
<Summary>Python 2.x SIP bindings for C and C++ libraries</Summary>
|
|
||||||
<BuildDependencies>
|
|
||||||
<Dependency>python-devel</Dependency>
|
|
||||||
</BuildDependencies>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
<Dependency>python</Dependency>
|
|
||||||
<Dependency release="current">sip</Dependency>
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/python2.7/</Path>
|
<Path fileType="executable">/usr/bin/sip</Path>
|
||||||
<Path fileType="data">/usr/share/licenses/python2-sip/LICENSE</Path>
|
<Path fileType="library">/usr/lib/python3*</Path>
|
||||||
</Files>
|
|
||||||
<Summary>Python 2.x SIP bindings for C and C++ libraries</Summary>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>sip-devel</Name>
|
|
||||||
<Summary>Development files for sip</Summary>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency release="current">sip</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="header">/usr/include/python2.7</Path>
|
|
||||||
<Path fileType="header">/usr/include/python3.4m</Path>
|
<Path fileType="header">/usr/include/python3.4m</Path>
|
||||||
|
<Path fileType="data">/usr/share/licenses/python3-sip/LICENSE</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user