Merge branch 'master' of https://github.com/pisilinux/main
This commit is contained in:
@@ -0,0 +1,39 @@
|
|||||||
|
#!/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 get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.makedirs("build-python3")
|
||||||
|
autotools.autoreconf("-fi")
|
||||||
|
|
||||||
|
shelltools.cd("build-python3")
|
||||||
|
shelltools.system("PYTHON=python3 ../configure --prefix=/usr \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-api-docs \
|
||||||
|
--disable-html-docs \
|
||||||
|
--disable-static")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd("build-python3")
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
|
||||||
|
def check():
|
||||||
|
#autotools.make("check")
|
||||||
|
pass
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build-python3")
|
||||||
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
# remove dbus-python-common files in py3 package
|
||||||
|
pisitools.removeDir("/usr/include/")
|
||||||
|
pisitools.removeDir("/usr/lib/pkgconfig")
|
||||||
|
pisitools.removeDir("/usr/share/")
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur dbus-python-0.83.0.orig/dbus/connection.py dbus-python-0.83.0/dbus/connection.py
|
||||||
|
--- dbus-python-0.83.0.orig/dbus/connection.py 2009-04-22 13:58:33.000000000 +0300
|
||||||
|
+++ dbus-python-0.83.0/dbus/connection.py 2009-04-22 13:58:40.000000000 +0300
|
||||||
|
@@ -239,7 +239,7 @@
|
||||||
|
ProxyObjectClass = ProxyObject
|
||||||
|
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
- super(Connection, self).__init__(*args, **kwargs)
|
||||||
|
+ super(Connection, self).__init__()
|
||||||
|
|
||||||
|
# this if-block is needed because shared bus connections can be
|
||||||
|
# __init__'ed more than once
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dbus-python</Name>
|
||||||
|
<Homepage>http://dbus.freedesktop.org/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<License>AFL-2.1</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>D-Bus Python bindings</Summary>
|
||||||
|
<Description>dbus-python provides a Python module which wraps the D-Bus programming API.</Description>
|
||||||
|
<Archive sha1sum="7a00f7861d26683ab7e3f4418860bd426deed9b5" type="targz">http://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<!--<Dependency>python-devel</Dependency>-->
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
<Dependency>dbus-devel</Dependency>
|
||||||
|
<Dependency>dbus-glib-devel</Dependency>
|
||||||
|
<Dependency>glib2-devel</Dependency>
|
||||||
|
<Dependency>libpcre-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">suppress-warnings.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>dbus-python3</Name>
|
||||||
|
<PartOf>programming.language.python</PartOf>
|
||||||
|
<Summary>D-Bus Python3 bindings</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<!--<Dependency release="current">dbus-python-common</Dependency>--><!--is system.devel package, is not dependency in real -->
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
<Dependency>dbus</Dependency>
|
||||||
|
<Dependency>glib2</Dependency>
|
||||||
|
<Dependency>dbus-glib</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/python3*</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="6">
|
||||||
|
<Date>2015-06-02</Date>
|
||||||
|
<Version>1.2.0</Version>
|
||||||
|
<Comment>Release bump.</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvarice@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="5">
|
||||||
|
<Date>2014-05-11</Date>
|
||||||
|
<Version>1.2.0</Version>
|
||||||
|
<Comment>Release bump.</Comment>
|
||||||
|
<Name>Marcin Bojara</Name>
|
||||||
|
<Email>marcin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="4">
|
||||||
|
<Date>2013-10-28</Date>
|
||||||
|
<Version>1.2.0</Version>
|
||||||
|
<Comment>rebuild.</Comment>
|
||||||
|
<Name>Marcin Bojara</Name>
|
||||||
|
<Email>marcin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2013-07-23</Date>
|
||||||
|
<Version>1.2.0</Version>
|
||||||
|
<Comment>Version bump. Remove dbus-devel from runtime dependencies.</Comment>
|
||||||
|
<Name>Marcin Bojara</Name>
|
||||||
|
<Email>marcin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2013-04-25</Date>
|
||||||
|
<Version>1.1.1</Version>
|
||||||
|
<Comment>Dep Fixed.</Comment>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2012-11-10</Date>
|
||||||
|
<Version>1.1.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Marcin Bojara</Name>
|
||||||
|
<Email>marcin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>dbus-python</Name>
|
||||||
|
<Summary xml:lang="tr">D-Bus için Python bağlayıcıları</Summary>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
@@ -20,7 +20,7 @@ def setup():
|
|||||||
--sip /usr/bin/sip3 \
|
--sip /usr/bin/sip3 \
|
||||||
--qmake='/usr/lib/qt5/bin/qmake' \
|
--qmake='/usr/lib/qt5/bin/qmake' \
|
||||||
--destdir='/usr/lib/python3.4/site-packages/' \
|
--destdir='/usr/lib/python3.4/site-packages/' \
|
||||||
--sip-incdir='/usr/include/python3.4' \
|
--sip-incdir='/usr/include/python3.4m' \
|
||||||
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
||||||
|
|
||||||
shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'")
|
shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'")
|
||||||
|
|||||||
@@ -13,7 +13,8 @@
|
|||||||
<Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
|
<Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>dbus-devel</Dependency>
|
<Dependency>dbus-devel</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>dbus-python3</Dependency>
|
||||||
|
<Dependency>dbus-python-common</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
<Dependency versionFrom="4.16.6">python3-sip3</Dependency>
|
<Dependency versionFrom="4.16.6">python3-sip3</Dependency>
|
||||||
<Dependency>qt5-base-devel</Dependency>
|
<Dependency>qt5-base-devel</Dependency>
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Archive sha1sum="ceb5f6e088923beaa9885226a3e677fec089964e" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.4.2/PyQt-gpl-5.4.2.tar.gz</Archive>
|
<Archive sha1sum="ceb5f6e088923beaa9885226a3e677fec089964e" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.4.2/PyQt-gpl-5.4.2.tar.gz</Archive>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>python3-qt5-common</Name>
|
<Name>python3-qt5-common</Name>
|
||||||
<Summary>Common files shared between python-qt5 and python3-qt5</Summary>
|
<Summary>Common files shared between python-qt5 and python3-qt5</Summary>
|
||||||
@@ -48,11 +50,13 @@
|
|||||||
<Path fileType="data">/usr/share/sip/PyQt5</Path>
|
<Path fileType="data">/usr/share/sip/PyQt5</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>python3-qt5</Name>
|
<Name>python3-qt5</Name>
|
||||||
<Summary>A set of Python 3.x bindings for the Qt 5.x Toolkit</Summary>
|
<Summary>A set of Python 3.x bindings for the Qt 5.x Toolkit</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>dbus</Dependency>
|
||||||
<Dependency>python3</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
<Dependency release="current">python3-qt5-common</Dependency>
|
<Dependency release="current">python3-qt5-common</Dependency>
|
||||||
<Dependency>qt5-base</Dependency>
|
<Dependency>qt5-base</Dependency>
|
||||||
@@ -70,6 +74,7 @@
|
|||||||
<Path fileType="library">/usr/lib/qt5/plugins</Path>
|
<Path fileType="library">/usr/lib/qt5/plugins</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>python3-qt5-docs</Name>
|
<Name>python3-qt5-docs</Name>
|
||||||
<Summary>Documentation for python-qt5 bindings</Summary>
|
<Summary>Documentation for python-qt5 bindings</Summary>
|
||||||
@@ -80,11 +85,12 @@
|
|||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2015-06-14</Date>
|
<Date>2015-09-07</Date>
|
||||||
<Version>5.4.2</Version>
|
<Version>5.4.2</Version>
|
||||||
<Comment>First release</Comment>
|
<Comment>Version bump.</Comment>
|
||||||
<Name>Ayhan Yalçınsoy</Name>
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
</Update>
|
</Update>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import pythonmodules
|
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()
|
||||||
py3dir = "python3.4"
|
py3dir = "python3.4"
|
||||||
|
|
||||||
@@ -16,7 +17,7 @@ def setup():
|
|||||||
pythonmodules.run('configure.py \
|
pythonmodules.run('configure.py \
|
||||||
-b /usr/bin \
|
-b /usr/bin \
|
||||||
-d /usr/lib/%s/site-packages/ \
|
-d /usr/lib/%s/site-packages/ \
|
||||||
-e /usr/include/%s/ \
|
-e /usr/include/%sm/ \
|
||||||
CFLAGS="%s" CXXFLAGS="%s"' % (py3dir, py3dir, get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
CFLAGS="%s" CXXFLAGS="%s"' % (py3dir, py3dir, get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
@@ -27,6 +28,3 @@ def install():
|
|||||||
|
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
pisitools.rename("/usr/bin/sip", "sip3")
|
pisitools.rename("/usr/bin/sip", "sip3")
|
||||||
|
|
||||||
|
|
||||||
# By PiSiDo 2.3.1
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
<Patch level="1">sip-outoftree.patch</Patch>
|
<Patch level="1">sip-outoftree.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>sip3</Name>
|
<Name>sip3</Name>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -37,6 +38,7 @@
|
|||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>python3-sip3</Name>
|
<Name>python3-sip3</Name>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -53,6 +55,7 @@
|
|||||||
<Dependency release="current">sip3</Dependency>
|
<Dependency release="current">sip3</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>sip3-devel</Name>
|
<Name>sip3-devel</Name>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -68,6 +71,7 @@
|
|||||||
<Dependency release="current">sip3</Dependency>
|
<Dependency release="current">sip3</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2015-06-14</Date>
|
<Date>2015-06-14</Date>
|
||||||
|
|||||||
Reference in New Issue
Block a user