Commit f7677b4b authored by totte's avatar totte

kdebindings-pykde: Initial fixes

parent b3197fc7
#
# KDE SC Packages for Chakra, part of chakra-project.org
# Desktop packages for Chakra, part of www.chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: H W Tovetjarn (totte) <totte@tott.es>
# Contributors: M Tortosa <manutortosa@chakra-project.org>
# A Scarpino <andrea@archlinux.org>
# include global config
# Include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=("kdebindings-pykde4-common" "kdebindings-pykde4-python2" "kdebindings-pykde4-python3")
_pkgname=pykde4
pkgbase=kdebindings-python
pkgname=('kdebindings-python-common'
'kdebindings-python2'
'kdebindings-python3')
pkgver=${_kdever}
pkgrel=5
pkgdesc="KDE bindings for python"
url="http://kde.org/"
pkgrel=7
url="https://projects.kde.org/projects/kde/kdebindings/pykde4"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('pyqt4-python2' 'qscintilla-python2' 'boost-libs' "kdepim-runtime>=${_kdever}")
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost' 'python2-sip' 'python3-sip' 'pyqt4-python2' 'pyqt4-python3' 'python-sip-common')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
makedepends=('automoc4'
'boost'
'boost-libs'
'cmake'
'kdepim-runtime>=${_kdever}'
'polkit-qt'
'python-sip-common'
'python2-pyqt4>=4.10.3-5'
'python2-sip'
'python3-pyqt4>=4.10.3-5'
'python3-sip'
'qscintilla-python2')
source=("$_mirror/pykde4-$_kdever.tar.xz")
sha1sums=(`grep pykde4-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
groups=("kde" "kdebindings" "kde-uninstall")
provides=('kdebindings-python' 'pykde4')
replaces=('kdebindings-python')
conflicts=('kdebindings-python')
options=('docs' '!header' 'debug' 'log')
#provides=('kdebindings-python' 'pykde4')
#replaces=('kdebindings-python')
#conflicts=('kdebindings-python')
prepare() {
cd "${srcdir}"
rm -rf build-python2 build-python3
......@@ -52,9 +65,9 @@ build() {
make
}
package_kdebindings-pykde4-python3() {
package_kdebindings-python3() {
pkgdesc="A set of Python 3.x bindings for KDE"
depends=('pyqt4-python3' 'qscintilla-python3' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
depends=('python3-pyqt4>=4.10.3-5' 'qscintilla-python3' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
cd "${srcdir}"/build-python3
make DESTDIR="${pkgdir}" install
......@@ -64,9 +77,9 @@ package_kdebindings-pykde4-python3() {
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-pykde4-python2() {
package_kdebindings-python2() {
pkgdesc="A set of Python 2.x bindings for KDE"
depends=('pyqt4-python2' 'qscintilla-python2' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
depends=('python2-pyqt4>=4.10.3-5' 'qscintilla-python2' 'boost-libs' "kdepim-runtime>=${_kdever}" "kdebindings-pykde4-common")
conflicts=('kdebindings-pykde4<4.11.2')
provides=('kdebindings-pykde4=${pkgver}')
replaces=('kdebindings-pykde4')
......@@ -79,7 +92,7 @@ package_kdebindings-pykde4-python2() {
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
}
package_kdebindings-pykde4-common() {
package_kdebindings-python-common() {
pkgdesc="Common files shared between python2 and python3 kdebindings-pykde"
conflicts=('kdebindings-pykde<4.11.2')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment