opps
This commit is contained in:
+82568
-82444
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
67bd4fdd30f345dac247aeb912115b2f7f0e7d6c
|
4be37de52bd3478118a2293cfe6566413cdc91f2
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
e3a4acd1cd67bb104e5c232db9b8205dcb8c833e
|
5b6418c2dd27e4a916d3204289567b7fef649993
|
||||||
@@ -12,22 +12,7 @@ from pisi.actionsapi import pisitools
|
|||||||
WorkDir="pip-%s" % get.srcVERSION()
|
WorkDir="pip-%s" % get.srcVERSION()
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.makedirs("python3")
|
|
||||||
|
|
||||||
shelltools.copytree("../pip-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
|
|
||||||
pythonmodules.compile()
|
pythonmodules.compile()
|
||||||
|
|
||||||
shelltools.cd("%s/python3" % get.workDIR())
|
|
||||||
pythonmodules.compile(pyVer = "3")
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
pythonmodules.install()
|
pythonmodules.install()
|
||||||
|
|
||||||
shelltools.cd("%s/python3" % get.workDIR())
|
|
||||||
|
|
||||||
pythonmodules.install(pyVer = "3")
|
|
||||||
pisitools.rename("/usr/bin/pip", "pip3")
|
|
||||||
|
|
||||||
shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
|
|
||||||
shelltools.system("python3 -m compileall %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,37 +16,30 @@
|
|||||||
|
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>python-setuptools</Dependency>
|
<Dependency>python-setuptools</Dependency>
|
||||||
<Dependency>python3-setuptools</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>pip</Name>
|
<Name>pip</Name>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin/pip2*</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="data">/usr/lib/python2*</Path>
|
<Path fileType="data">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>python-setuptools</Dependency>
|
<Dependency>python-setuptools</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>pip3</Name>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/usr/bin/pip</Path>
|
|
||||||
<Path fileType="executable">/usr/bin/pip3*</Path>
|
|
||||||
<Path fileType="data">/usr/lib/python3*</Path>
|
|
||||||
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
|
|
||||||
</Files>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>python3-setuptools</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2016-06-06</Date>
|
||||||
|
<Version>8.1.2</Version>
|
||||||
|
<Comment>version bump</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2016-05-30</Date>
|
<Date>2016-05-30</Date>
|
||||||
<Version>8.1.2</Version>
|
<Version>8.1.2</Version>
|
||||||
|
|||||||
@@ -12,34 +12,13 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
WorkDir = "sip-%s" % get.srcVERSION()
|
WorkDir = "sip-%s" % get.srcVERSION()
|
||||||
|
|
||||||
py2dir = get.curPYTHON()
|
|
||||||
py3dir = "python3.4"
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.cd("..")
|
|
||||||
shelltools.makedirs("build_python3")
|
|
||||||
shelltools.copytree("./%s" % WorkDir, "build_python3")
|
|
||||||
shelltools.cd(WorkDir)
|
|
||||||
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.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")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
|
||||||
autotools.make()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
pisitools.rename("/usr/bin/sip", "py2sip")
|
pisitools.rename("/usr/bin/sip", "py2sip")
|
||||||
#pisitools.insinto("/usr/lib/python2.7/site-packages", "siputils.py")
|
|
||||||
#pisitools.insinto("/usr/lib/python2.7/site-packages", "sipdistutils.py")
|
|
||||||
|
|
||||||
shelltools.cd("../build_python3/%s" % WorkDir)
|
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
||||||
#pisitools.insinto("/usr/lib/python3.4/site-packages", "siputils.py")
|
|
||||||
#pisitools.insinto("/usr/lib/python3.4/site-packages", "sipdistutils.py")
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
--- siputils.py
|
|
||||||
+++ siputils.py
|
|
||||||
@@ -737,6 +737,7 @@ class Makefile:
|
|
||||||
rpaths is the cannonical list of rpaths.
|
|
||||||
"""
|
|
||||||
flags = []
|
|
||||||
+ return flags
|
|
||||||
prefix = self.optional_string("RPATH")
|
|
||||||
|
|
||||||
if prefix:
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
--- specs/linux-g++ 2009/08/31 11:59:37 1.1
|
|
||||||
+++ specs/linux-g++ 2009/08/31 12:00:19
|
|
||||||
@@ -53,7 +53,7 @@
|
|
||||||
QMAKE_LFLAGS =
|
|
||||||
QMAKE_LFLAGS_RELEASE =
|
|
||||||
QMAKE_LFLAGS_DEBUG =
|
|
||||||
-QMAKE_LFLAGS_SHLIB = -shared
|
|
||||||
+QMAKE_LFLAGS_SHLIB = -shared -lpython2.7
|
|
||||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
||||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
|
||||||
QMAKE_LFLAGS_THREAD =
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
Index: sip-4.8.2/specs/linux-g++
|
|
||||||
===================================================================
|
|
||||||
--- sip-4.8.2.orig/specs/linux-g++
|
|
||||||
+++ sip-4.8.2/specs/linux-g++
|
|
||||||
@@ -83,7 +83,7 @@ QMAKE_COPY_DIR = $(COPY) -r
|
|
||||||
QMAKE_MOVE = mv -f
|
|
||||||
QMAKE_DEL_FILE = rm -f
|
|
||||||
QMAKE_DEL_DIR = rmdir
|
|
||||||
-QMAKE_STRIP = strip
|
|
||||||
+QMAKE_STRIP =
|
|
||||||
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
|
||||||
QMAKE_CHK_DIR_EXISTS = test -d
|
|
||||||
QMAKE_MKDIR = mkdir -p
|
|
||||||
Index: sip-4.8.2/specs/linux-lsb
|
|
||||||
===================================================================
|
|
||||||
--- sip-4.8.2.orig/specs/linux-lsb
|
|
||||||
+++ sip-4.8.2/specs/linux-lsb
|
|
||||||
@@ -83,7 +83,7 @@ QMAKE_COPY_DIR = $(COPY) -r
|
|
||||||
QMAKE_MOVE = mv -f
|
|
||||||
QMAKE_DEL_FILE = rm -f
|
|
||||||
QMAKE_DEL_DIR = rmdir
|
|
||||||
-QMAKE_STRIP = strip
|
|
||||||
+QMAKE_STRIP =
|
|
||||||
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
|
||||||
QMAKE_CHK_DIR_EXISTS = test -d
|
|
||||||
QMAKE_MKDIR = mkdir -p
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
--- sip-4.16.3/configure.py.orig 2014-09-11 19:12:51.000000000 +0200
|
|
||||||
+++ sip-4.16.3/configure.py 2014-10-27 17:54:50.981640566 +0100
|
|
||||||
@@ -47,6 +47,7 @@
|
|
||||||
sip_sip_dir = ''
|
|
||||||
sysroot = ''
|
|
||||||
src_dir = os.path.dirname(os.path.abspath(__file__))
|
|
||||||
+build_dir = os.getcwd()
|
|
||||||
sip_module_base = None
|
|
||||||
build_platform = None
|
|
||||||
|
|
||||||
--- sip-4.16.3/siputils.py.orig 2014-09-07 17:30:09.000000000 +0200
|
|
||||||
+++ sip-4.16.3/siputils.py 2014-10-27 22:19:01.287642057 +0100
|
|
||||||
@@ -202,7 +202,7 @@
|
|
||||||
def __init__(self, configuration, console=0, qt=0, opengl=0, python=0,
|
|
||||||
threaded=0, warnings=1, debug=0, dir=None,
|
|
||||||
makefile="Makefile", installs=None, universal=None,
|
|
||||||
- arch=None, deployment_target=None):
|
|
||||||
+ arch=None, deployment_target=None, src_dir=None):
|
|
||||||
"""Initialise an instance of the target. All the macros are left
|
|
||||||
unchanged allowing scripts to manipulate them at will.
|
|
||||||
|
|
||||||
@@ -264,8 +264,11 @@
|
|
||||||
else:
|
|
||||||
self.dir = os.path.curdir
|
|
||||||
|
|
||||||
- # Assume we are building in the source tree.
|
|
||||||
- self._src_dir = self.dir
|
|
||||||
+ if src_dir is not None:
|
|
||||||
+ self._src_dir = src_dir
|
|
||||||
+ else:
|
|
||||||
+ # Assume we are building in the source tree.
|
|
||||||
+ self._src_dir = self.dir
|
|
||||||
|
|
||||||
if universal is None:
|
|
||||||
self._universal = configuration.universal
|
|
||||||
@@ -381,6 +381,8 @@
|
|
||||||
defines.extend(self.optional_list("DEFINES"))
|
|
||||||
|
|
||||||
incdir = _UniqueList(["."])
|
|
||||||
+ if self.dir != self._src_dir:
|
|
||||||
+ incdir.append(self._src_dir)
|
|
||||||
incdir.extend(self.extra_include_dirs)
|
|
||||||
incdir.extend(self.optional_list("INCDIR"))
|
|
||||||
|
|
||||||
@@ -1029,7 +1031,8 @@
|
|
||||||
else:
|
|
||||||
if os.path.isabs(filename):
|
|
||||||
# We appear to be building out of the source tree.
|
|
||||||
- self._src_dir = os.path.dirname(filename)
|
|
||||||
+ if self._src_dir == self.dir:
|
|
||||||
+ self._src_dir = os.path.dirname(filename)
|
|
||||||
bfname = filename
|
|
||||||
else:
|
|
||||||
bfname = os.path.join(self.dir, filename)
|
|
||||||
@@ -1465,7 +1471,7 @@
|
|
||||||
console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0,
|
|
||||||
dir=None, makefile="Makefile", installs=None, strip=1,
|
|
||||||
export_all=0, universal=None, arch=None,
|
|
||||||
- deployment_target=None):
|
|
||||||
+ deployment_target=None, src_dir=None):
|
|
||||||
"""Initialise an instance of a module Makefile.
|
|
||||||
|
|
||||||
build_file is the file containing the target specific information. If
|
|
||||||
@@ -1479,7 +1485,7 @@
|
|
||||||
increases the size of the module and slows down module load times but
|
|
||||||
may avoid problems with modules that use exceptions. The default is 0.
|
|
||||||
"""
|
|
||||||
- Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, arch, deployment_target)
|
|
||||||
+ Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, arch, deployment_target, src_dir)
|
|
||||||
|
|
||||||
self._build = self.parse_build_file(build_file)
|
|
||||||
self._install_dir = install_dir
|
|
||||||
|
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
<Archive sha1sum="6704854bc684de3b76c9db61ce54a74e7de5cf45" type="targz">mirrors://sourceforge/pyqt/sip-4.18.tar.gz</Archive>
|
<Archive sha1sum="6704854bc684de3b76c9db61ce54a74e7de5cf45" type="targz">mirrors://sourceforge/pyqt/sip-4.18.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency versionFrom="5.6.0">qt5-base-devel</Dependency>
|
<Dependency versionFrom="5.6.0">qt5-base-devel</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -27,28 +26,21 @@
|
|||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin/py2sip</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib/python2.7/</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="header">/usr/include/python2.7</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>python3-sip</Name>
|
|
||||||
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
<Dependency>python3</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/usr/bin/sip</Path>
|
|
||||||
<Path fileType="library">/usr/lib/python3*</Path>
|
|
||||||
<Path fileType="header">/usr/include/python3.4m</Path>
|
|
||||||
<Path fileType="data">/usr/share/licenses/python3-sip/LICENSE</Path>
|
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<History>
|
||||||
|
<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">
|
<Update release="2">
|
||||||
<Date>2016-05-20</Date>
|
<Date>2016-05-20</Date>
|
||||||
<Version>4.18</Version>
|
<Version>4.18</Version>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<PISI>
|
||||||
|
<Name>programming.language.python3</Name>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/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 shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
|
WorkDir="pip-%s" % get.srcVERSION()
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
pythonmodules.compile(pyVer = "3")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pythonmodules.install(pyVer = "3")
|
||||||
|
pisitools.rename("/usr/bin/pip", "pip3")
|
||||||
|
|
||||||
|
shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
|
||||||
|
shelltools.system("python3 -m compileall %s/usr/lib/python3.4/site-packages/pip/__init__.py" % get.installDIR())
|
||||||
|
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
|
||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>pip</Name>
|
||||||
|
<Homepage>https://pypi.python.org/pypi/pip</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Yusuf Aydemir</Name>
|
||||||
|
<Email>Yusuf.aydemir@istanbul.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<Summary>The PyPA recommended tool for installing Python packages</Summary>
|
||||||
|
<Description>The PyPA recommended tool for installing Python packages</Description>
|
||||||
|
<License>MIT</License>
|
||||||
|
<Archive sha1sum="910e2dd5c533d351a7dc84bc9091893659afcbb0" type="targz">https://github.com/pypa/pip/archive/8.1.2.tar.gz</Archive>
|
||||||
|
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>pip3</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin/pip</Path>
|
||||||
|
<Path fileType="executable">/usr/bin/pip3*</Path>
|
||||||
|
<Path fileType="data">/usr/lib/python3*</Path>
|
||||||
|
<!-- <Path fileType="doc">/usr/share/doc</Path> -->
|
||||||
|
</Files>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2016-06-06</Date>
|
||||||
|
<Version>8.1.2</Version>
|
||||||
|
<Comment>version bump</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2016-05-30</Date>
|
||||||
|
<Version>8.1.2</Version>
|
||||||
|
<Comment>version bump</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2016-04-28</Date>
|
||||||
|
<Version>8.1.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
-5
@@ -10,12 +10,7 @@ from pisi.actionsapi import shelltools
|
|||||||
|
|
||||||
WorkDir="setuptools-%s" % get.srcVERSION()
|
WorkDir="setuptools-%s" % get.srcVERSION()
|
||||||
|
|
||||||
def setup():
|
|
||||||
shelltools.makedirs("python3")
|
|
||||||
shelltools.copytree("../setuptools-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("%s/python3" % get.workDIR())
|
|
||||||
pythonmodules.install(pyVer = "3")
|
pythonmodules.install(pyVer = "3")
|
||||||
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
|
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
|
||||||
#avoid python-setuptools conflict
|
#avoid python-setuptools conflict
|
||||||
+7
@@ -27,6 +27,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="5">
|
||||||
|
<Date>2016-06-06</Date>
|
||||||
|
<Version>19.6.1</Version>
|
||||||
|
<Comment>Release bump.</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="4">
|
<Update release="4">
|
||||||
<Date>2016-05-26</Date>
|
<Date>2016-05-26</Date>
|
||||||
<Version>19.6.1</Version>
|
<Version>19.6.1</Version>
|
||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/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 shelltools
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import pythonmodules
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
WorkDir = "sip-%s" % get.srcVERSION()
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
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")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>sip3</Name>
|
||||||
|
<Homepage>http://www.riverbankcomputing.co.uk/sip</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<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="6704854bc684de3b76c9db61ce54a74e7de5cf45" type="targz">mirrors://sourceforge/pyqt/sip-4.18.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency versionFrom="5.6.0">qt5-base-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-sip</Name>
|
||||||
|
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/share/licenses</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<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,17 @@
|
|||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>sip3</Name>
|
||||||
|
<Summary xml:lang="tr">C ve C++ kütüphaneleri için python bağlayıcıları oluşturan bir araç</Summary>
|
||||||
|
<Summary xml:lang="pl">Generator powiązań Pythona z bibliotekami klas C++</Summary>
|
||||||
|
<Description xml:lang="tr">SIP3 C ve C++ kütüphanelerini Python'da kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python genişletme modülüne dönüştürür.</Description>
|
||||||
|
<Description xml:lang="pl">Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3.</Description>
|
||||||
|
</Source>
|
||||||
|
<Package>
|
||||||
|
<Name>python3-sip3</Name>
|
||||||
|
</Package>
|
||||||
|
<Package>
|
||||||
|
<Name>sip3-devel</Name>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
|
|
||||||
|
<!-- By PiSiDo 2.3.1 -->
|
||||||
Reference in New Issue
Block a user