[arch-commits] Commit in kdebindings-python/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Sat Jan 19 11:28:39 UTC 2013
Date: Saturday, January 19, 2013 @ 06:28:38
Author: andrea
Revision: 175547
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdebindings-python/repos/kde-unstable-i686/PKGBUILD
(from rev 175546, kdebindings-python/kde-unstable/PKGBUILD)
kdebindings-python/repos/kde-unstable-x86_64/PKGBUILD
(from rev 175546, kdebindings-python/kde-unstable/PKGBUILD)
Deleted:
kdebindings-python/repos/kde-unstable-i686/PKGBUILD
kdebindings-python/repos/kde-unstable-i686/fix.patch
kdebindings-python/repos/kde-unstable-x86_64/PKGBUILD
kdebindings-python/repos/kde-unstable-x86_64/fix.patch
-------------------------------+
kde-unstable-i686/PKGBUILD | 179 +++++++++++++++++++---------------------
kde-unstable-i686/fix.patch | 29 ------
kde-unstable-x86_64/PKGBUILD | 179 +++++++++++++++++++---------------------
kde-unstable-x86_64/fix.patch | 29 ------
4 files changed, 174 insertions(+), 242 deletions(-)
Deleted: kde-unstable-i686/PKGBUILD
===================================================================
--- kde-unstable-i686/PKGBUILD 2013-01-19 11:27:56 UTC (rev 175546)
+++ kde-unstable-i686/PKGBUILD 2013-01-19 11:28:38 UTC (rev 175547)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=kdebindings-python
-pkgname=('kdebindings-python'
- 'kdebindings-python2'
- 'kdebindings-python-common')
-pkgver=4.9.97
-pkgrel=2
-url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kdebindings')
-makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
- 'pyqt' 'qscintilla' 'python2-sip' 'python-sip' 'mesa')
-source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz"
- 'fix.patch')
-sha1sums=('3e8aef059de39184be505718094e67aa0d84273e'
- 'eb42111e9a1458519d0ecc5e8944ac49ae1f3340')
-
-build() {
- export PYTHONDONTWRITEBYTECODE="TRUE"
-
- cd pykde4-${pkgver}
- # KDEBUG#312618
- patch -p1 -i "${srcdir}"/fix.patch
- cd ../
-
- mkdir build
- cd build
- cmake ../pykde4-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
- -DPYKDEUIC4_ALTINSTALL=TRUE
- make
- cd ..
-
- mkdir build-python2
- cd build-python2
- cmake ../pykde4-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DPYKDEUIC4_ALTINSTALL=TRUE
- make
-}
-
-package_kdebindings-python() {
- pkgdesc="A set of Python 3.x bindings for KDE"
- depends=('kdepim-runtime' 'pyqt' 'kdebindings-python-common')
-
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-
- # Provided by kdebindings-python-common
- rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
- rm -r "${pkgdir}"/usr/share/sip/PyKDE4
-
- ln -s /usr/bin/pykdeuic4-3.3 "${pkgdir}"/usr/bin/pykdeuic4
-}
-
-package_kdebindings-python2() {
- pkgdesc="A set of Python 2.x bindings for KDE"
- depends=('kdepim-runtime' 'python2-pyqt' 'kdebindings-python-common')
- conflicts=('kdebindings-python<4.8.1-2')
-
- cd "${srcdir}"/build-python2
- make DESTDIR="${pkgdir}" install
-
- # Provided by kdebindings-python-common
- rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
- rm -r "${pkgdir}"/usr/share/sip/PyKDE4
-
- # pykdeuic4 should point to the python3 version
- #rm "${pkgdir}"/usr/bin/pykdeuic4
-
- # Use the python2 executable
- find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
-}
-
-package_kdebindings-python-common() {
- pkgdesc="Common files shared between python2 and python3 kdebindings"
- depends=('qscintilla')
- conflicts=('kdebindings-python<4.8.1-2')
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- rm -r "${pkgdir}"/usr/{bin,lib}
-}
Copied: kdebindings-python/repos/kde-unstable-i686/PKGBUILD (from rev 175546, kdebindings-python/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2013-01-19 11:28:38 UTC (rev 175547)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdebindings-python
+pkgname=('kdebindings-python'
+ 'kdebindings-python2'
+ 'kdebindings-python-common')
+pkgver=4.9.98
+pkgrel=1
+url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kdebindings')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
+ 'pyqt' 'qscintilla' 'python2-sip' 'python-sip' 'mesa')
+ source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz")
+sha1sums=('0d3558e6fb79f7be8b5c07dabc891f5a1d58fb78')
+
+build() {
+ export PYTHONDONTWRITEBYTECODE="TRUE"
+
+ mkdir build
+ cd build
+ cmake ../pykde4-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ make
+ cd ..
+
+ mkdir build-python2
+ cd build-python2
+ cmake ../pykde4-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ make
+}
+
+package_kdebindings-python() {
+ pkgdesc="A set of Python 3.x bindings for KDE"
+ depends=('kdepim-runtime' 'pyqt' 'kdebindings-python-common')
+
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+
+ # Provided by kdebindings-python-common
+ rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
+ rm -r "${pkgdir}"/usr/share/sip/PyKDE4
+
+ ln -s /usr/bin/pykdeuic4-3.3 "${pkgdir}"/usr/bin/pykdeuic4
+}
+
+package_kdebindings-python2() {
+ pkgdesc="A set of Python 2.x bindings for KDE"
+ depends=('kdepim-runtime' 'python2-pyqt' 'kdebindings-python-common')
+ conflicts=('kdebindings-python<4.8.1-2')
+
+ cd "${srcdir}"/build-python2
+ make DESTDIR="${pkgdir}" install
+
+ # Provided by kdebindings-python-common
+ rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
+ rm -r "${pkgdir}"/usr/share/sip/PyKDE4
+
+ # pykdeuic4 should point to the python3 version
+ #rm "${pkgdir}"/usr/bin/pykdeuic4
+
+ # Use the python2 executable
+ find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
+}
+
+package_kdebindings-python-common() {
+ pkgdesc="Common files shared between python2 and python3 kdebindings"
+ depends=('qscintilla')
+ conflicts=('kdebindings-python<4.8.1-2')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ rm -r "${pkgdir}"/usr/{bin,lib}
+}
Deleted: kde-unstable-i686/fix.patch
===================================================================
--- kde-unstable-i686/fix.patch 2013-01-19 11:27:56 UTC (rev 175546)
+++ kde-unstable-i686/fix.patch 2013-01-19 11:28:38 UTC (rev 175547)
@@ -1,29 +0,0 @@
-From: Luca Beltrame <lbeltrame at kde.org>
-Date: Mon, 07 Jan 2013 19:34:41 +0000
-Subject: Fix unresolved symbols appearing in PyKDE4.
-X-Git-Url: http://quickgit.kde.org/?p=pykde4.git&a=commitdiff&h=bdab774f1f0874d7f0a6e14d7885d73c8101b3e9
----
-Fix unresolved symbols appearing in PyKDE4.
-
-Apparently the CMake policy responsible for this is getting set back
-somewhere in the build system.
-
-Reporter, please close the bug if the issue is no longer applicable. I
-can't reproduce it.
-
-CCBUG: 312618
----
-
-
---- a/kpythonpluginfactory/CMakeLists.txt
-+++ b/kpythonpluginfactory/CMakeLists.txt
-@@ -4,7 +4,7 @@
- kpythonpluginfactory.cpp)
-
- GET_FILENAME_COMPONENT(LIB_PYTHON ${PYTHON_LIBRARIES} NAME)
--ADD_DEFINITIONS(-DLIB_PYTHON="\\"${LIB_PYTHON}\\"")
-+ADD_DEFINITIONS(-DLIB_PYTHON="${LIB_PYTHON}")
- ADD_DEFINITIONS(-DKDE_DEFAULT_DEBUG_AREA=15000)
-
- kde4_add_plugin(kpythonpluginfactory ${kpythonpluginfactory_SRCS})
-
Deleted: kde-unstable-x86_64/PKGBUILD
===================================================================
--- kde-unstable-x86_64/PKGBUILD 2013-01-19 11:27:56 UTC (rev 175546)
+++ kde-unstable-x86_64/PKGBUILD 2013-01-19 11:28:38 UTC (rev 175547)
@@ -1,92 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=kdebindings-python
-pkgname=('kdebindings-python'
- 'kdebindings-python2'
- 'kdebindings-python-common')
-pkgver=4.9.97
-pkgrel=2
-url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kdebindings')
-makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
- 'pyqt' 'qscintilla' 'python2-sip' 'python-sip' 'mesa')
-source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz"
- 'fix.patch')
-sha1sums=('3e8aef059de39184be505718094e67aa0d84273e'
- 'eb42111e9a1458519d0ecc5e8944ac49ae1f3340')
-
-build() {
- export PYTHONDONTWRITEBYTECODE="TRUE"
-
- cd pykde4-${pkgver}
- # KDEBUG#312618
- patch -p1 -i "${srcdir}"/fix.patch
- cd ../
-
- mkdir build
- cd build
- cmake ../pykde4-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
- -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
- -DPYKDEUIC4_ALTINSTALL=TRUE
- make
- cd ..
-
- mkdir build-python2
- cd build-python2
- cmake ../pykde4-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DPYKDEUIC4_ALTINSTALL=TRUE
- make
-}
-
-package_kdebindings-python() {
- pkgdesc="A set of Python 3.x bindings for KDE"
- depends=('kdepim-runtime' 'pyqt' 'kdebindings-python-common')
-
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-
- # Provided by kdebindings-python-common
- rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
- rm -r "${pkgdir}"/usr/share/sip/PyKDE4
-
- ln -s /usr/bin/pykdeuic4-3.3 "${pkgdir}"/usr/bin/pykdeuic4
-}
-
-package_kdebindings-python2() {
- pkgdesc="A set of Python 2.x bindings for KDE"
- depends=('kdepim-runtime' 'python2-pyqt' 'kdebindings-python-common')
- conflicts=('kdebindings-python<4.8.1-2')
-
- cd "${srcdir}"/build-python2
- make DESTDIR="${pkgdir}" install
-
- # Provided by kdebindings-python-common
- rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
- rm -r "${pkgdir}"/usr/share/sip/PyKDE4
-
- # pykdeuic4 should point to the python3 version
- #rm "${pkgdir}"/usr/bin/pykdeuic4
-
- # Use the python2 executable
- find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
-}
-
-package_kdebindings-python-common() {
- pkgdesc="Common files shared between python2 and python3 kdebindings"
- depends=('qscintilla')
- conflicts=('kdebindings-python<4.8.1-2')
-
- cd build
- make DESTDIR="${pkgdir}" install
-
- rm -r "${pkgdir}"/usr/{bin,lib}
-}
Copied: kdebindings-python/repos/kde-unstable-x86_64/PKGBUILD (from rev 175546, kdebindings-python/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-01-19 11:28:38 UTC (rev 175547)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdebindings-python
+pkgname=('kdebindings-python'
+ 'kdebindings-python2'
+ 'kdebindings-python-common')
+pkgver=4.9.98
+pkgrel=1
+url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kdebindings')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
+ 'pyqt' 'qscintilla' 'python2-sip' 'python-sip' 'mesa')
+ source=("http://download.kde.org/unstable/${pkgver}/src/pykde4-${pkgver}.tar.xz")
+sha1sums=('0d3558e6fb79f7be8b5c07dabc891f5a1d58fb78')
+
+build() {
+ export PYTHONDONTWRITEBYTECODE="TRUE"
+
+ mkdir build
+ cd build
+ cmake ../pykde4-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython3.3m.so.1.0 \
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ make
+ cd ..
+
+ mkdir build-python2
+ cd build-python2
+ cmake ../pykde4-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYKDEUIC4_ALTINSTALL=TRUE
+ make
+}
+
+package_kdebindings-python() {
+ pkgdesc="A set of Python 3.x bindings for KDE"
+ depends=('kdepim-runtime' 'pyqt' 'kdebindings-python-common')
+
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+
+ # Provided by kdebindings-python-common
+ rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
+ rm -r "${pkgdir}"/usr/share/sip/PyKDE4
+
+ ln -s /usr/bin/pykdeuic4-3.3 "${pkgdir}"/usr/bin/pykdeuic4
+}
+
+package_kdebindings-python2() {
+ pkgdesc="A set of Python 2.x bindings for KDE"
+ depends=('kdepim-runtime' 'python2-pyqt' 'kdebindings-python-common')
+ conflicts=('kdebindings-python<4.8.1-2')
+
+ cd "${srcdir}"/build-python2
+ make DESTDIR="${pkgdir}" install
+
+ # Provided by kdebindings-python-common
+ rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
+ rm -r "${pkgdir}"/usr/share/sip/PyKDE4
+
+ # pykdeuic4 should point to the python3 version
+ #rm "${pkgdir}"/usr/bin/pykdeuic4
+
+ # Use the python2 executable
+ find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
+}
+
+package_kdebindings-python-common() {
+ pkgdesc="Common files shared between python2 and python3 kdebindings"
+ depends=('qscintilla')
+ conflicts=('kdebindings-python<4.8.1-2')
+
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ rm -r "${pkgdir}"/usr/{bin,lib}
+}
Deleted: kde-unstable-x86_64/fix.patch
===================================================================
--- kde-unstable-x86_64/fix.patch 2013-01-19 11:27:56 UTC (rev 175546)
+++ kde-unstable-x86_64/fix.patch 2013-01-19 11:28:38 UTC (rev 175547)
@@ -1,29 +0,0 @@
-From: Luca Beltrame <lbeltrame at kde.org>
-Date: Mon, 07 Jan 2013 19:34:41 +0000
-Subject: Fix unresolved symbols appearing in PyKDE4.
-X-Git-Url: http://quickgit.kde.org/?p=pykde4.git&a=commitdiff&h=bdab774f1f0874d7f0a6e14d7885d73c8101b3e9
----
-Fix unresolved symbols appearing in PyKDE4.
-
-Apparently the CMake policy responsible for this is getting set back
-somewhere in the build system.
-
-Reporter, please close the bug if the issue is no longer applicable. I
-can't reproduce it.
-
-CCBUG: 312618
----
-
-
---- a/kpythonpluginfactory/CMakeLists.txt
-+++ b/kpythonpluginfactory/CMakeLists.txt
-@@ -4,7 +4,7 @@
- kpythonpluginfactory.cpp)
-
- GET_FILENAME_COMPONENT(LIB_PYTHON ${PYTHON_LIBRARIES} NAME)
--ADD_DEFINITIONS(-DLIB_PYTHON="\\"${LIB_PYTHON}\\"")
-+ADD_DEFINITIONS(-DLIB_PYTHON="${LIB_PYTHON}")
- ADD_DEFINITIONS(-DKDE_DEFAULT_DEBUG_AREA=15000)
-
- kde4_add_plugin(kpythonpluginfactory ${kpythonpluginfactory_SRCS})
-
More information about the arch-commits
mailing list