diff options
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r-- | abs/core/python_modules/pygtk/PKGBUILD | 15 | ||||
-rw-r--r-- | abs/core/python_modules/python-parted/PKGBUILD | 39 | ||||
-rw-r--r-- | abs/core/python_modules/python-parted/__changelog | 1 | ||||
-rw-r--r-- | abs/core/python_modules/python-pillow/PKGBUILD | 7 | ||||
-rw-r--r-- | abs/core/python_modules/python-pybluez/PKGBUILD | 33 | ||||
-rw-r--r-- | abs/core/python_modules/python-pybluez/__changelog | 1 | ||||
-rw-r--r-- | abs/core/python_modules/python-simplejson/PKGBUILD | 37 | ||||
-rw-r--r-- | abs/core/python_modules/python-simplejson/__changelog | 1 | ||||
-rw-r--r-- | abs/core/python_modules/pywebkitgtk/PKGBUILD | 14 |
9 files changed, 106 insertions, 42 deletions
diff --git a/abs/core/python_modules/pygtk/PKGBUILD b/abs/core/python_modules/pygtk/PKGBUILD index e82fdbe..9e9f145 100644 --- a/abs/core/python_modules/pygtk/PKGBUILD +++ b/abs/core/python_modules/pygtk/PKGBUILD @@ -1,29 +1,34 @@ -# $Id: PKGBUILD 148886 2012-02-05 11:54:15Z ibiru $ +# $Id$ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=pygtk pkgver=2.24.0 -pkgrel=3 +pkgrel=5 pkgdesc="Python bindings for the GTK widget set" arch=('i686' 'x86_64') license=('LGPL') depends=('libglade' 'python2-cairo' 'pygobject') makedepends=('python2-numpy' 'pygobject2-devel') optdepends=('python2-numpy') -options=('!libtool') url="http://www.pygtk.org/" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 python27.patch) sha256sums=('cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912' '39a30456cba055a452bb55c74ef1ff2f5f7bfaad22855b4dd569ab009b56b682') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" #https://bugzilla.gnome.org/show_bug.cgi?id=623965 patch -Np1 -i "${srcdir}/python27.patch" + sed -i -e 's#env python$#env python2#' examples/pygtk-demo/{,demos/}*.py +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } @@ -32,6 +37,4 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -m644 gtk/gtk-extrafuncs.defs "${pkgdir}/usr/share/pygtk/2.0/defs/" - - sed -i -e 's#env python$#env python2#' "${pkgdir}"/usr/lib/pygtk/2.0/{,demos/}*.py } diff --git a/abs/core/python_modules/python-parted/PKGBUILD b/abs/core/python_modules/python-parted/PKGBUILD index 4374e09..0e2aa3c 100644 --- a/abs/core/python_modules/python-parted/PKGBUILD +++ b/abs/core/python_modules/python-parted/PKGBUILD @@ -1,17 +1,32 @@ +# Maintainer: Nikos Skalkotos <skalkoto at gmail dot com> +# Contributor: Achilleas Pipinellis <axilleas archlinux info> +# Contributor: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: kfgz <kfgz at interia pl> +# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com> +# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com> + +_pkgname=pyparted pkgname=python-parted -__pkgname=pyparted -pkgver=3.8 -pkgrel=1 -pkgdesc="Python bindings for libparted" +pkgver=3.10.1 +pkgrel=2 +pkgdesc="Python module for GNU parted" +url="https://github.com/dcantrell/pyparted" arch=('i686' 'x86_64') -license=('LGPL' 'MPL') -depends=('python2' 'parted>=3.1' 'python-decorator') -options=('!libtool') -source=(https://fedorahosted.org/releases/p/y/pyparted/pyparted-${pkgver}.tar.gz) -url="https://fedorahosted.org/pyparted/" +license=('GPL2') +depends=('python2' 'parted>=3.0') +makedepends=('pkg-config') +conflicts=('pyparted-git') +replaces=('pyparted') +source=("https://github.com/dcantrell/${_pkgname}/archive/${_pkgname}-${pkgver}.tar.gz") build() { - cd "${srcdir}/${__pkgname}-${pkgver}" - python2 setup.py install --prefix=/usr --root="${pkgdir}" + cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build } -md5sums=('e9cd0c94c71ac17755f71a8e1561eac2') +sha512sums=('d2842ba919808ccb757f6852e17c725b7db6e94db31548366fbdf2376960f8cf6ce239cb33282b4eca02f20a94f85bd58e8fc1d40834670c9684f5903c3515e5') + diff --git a/abs/core/python_modules/python-parted/__changelog b/abs/core/python_modules/python-parted/__changelog new file mode 100644 index 0000000..3cf54c1 --- /dev/null +++ b/abs/core/python_modules/python-parted/__changelog @@ -0,0 +1 @@ +From AUR python2-pyparted diff --git a/abs/core/python_modules/python-pillow/PKGBUILD b/abs/core/python_modules/python-pillow/PKGBUILD index fc93f2d..461c4a7 100644 --- a/abs/core/python_modules/python-pillow/PKGBUILD +++ b/abs/core/python_modules/python-pillow/PKGBUILD @@ -3,10 +3,9 @@ # Contributor: minder pkgbase=python-pillow -#pkgname=(python-pillow python2-pillow) pkgname=(python2-pillow) -pkgver=2.5.3 -pkgrel=2 +pkgver=2.6.1 +pkgrel=1 _appname=Pillow _py2basever=2.7 _py3basever=3.4m @@ -16,7 +15,7 @@ url="http://python-pillow.github.io/" license=('BSD') makedepends=('python2-setuptools' 'lcms' 'libwebp' 'tk') source=("http://pypi.python.org/packages/source/P/$_appname/$_appname-$pkgver.zip") -md5sums=('9879437c28ee0ad6ea04b93d0be2c2d7') +md5sums=('f86e88a0f79f226dcdbf045b404cbdeb') build() { cd "$srcdir" diff --git a/abs/core/python_modules/python-pybluez/PKGBUILD b/abs/core/python_modules/python-pybluez/PKGBUILD index f667d66..e48f941 100644 --- a/abs/core/python_modules/python-pybluez/PKGBUILD +++ b/abs/core/python_modules/python-pybluez/PKGBUILD @@ -1,24 +1,31 @@ -# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $ +# $Id: PKGBUILD 66132 2012-02-23 01:40:38Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: cs-cam - me.at.camdaniel.com -pkgname=python-pybluez -pkgver=0.18 -pkgrel=3 +pkgbase=python-pybluez +pkgname=(python2-pybluez) +pkgver=0.20 +pkgrel=2 pkgdesc="Python wrapper for the BlueZ Bluetooth stack" arch=('i686' 'x86_64') url="http://code.google.com/p/pybluez/" license=('GPL') -provides=('pybluez') -conflicts=('pybluez') -replaces=('pybluez') -depends=('python2' 'bluez') -source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz) -md5sums=('be8c8ce615c3189fda1aaf3d568314b2') +makedepends=('python2' 'bluez-libs') +source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.zip) +md5sums=('1e7fad332d50f089bbce69070c877ef6') + +#package_python-pybluez() { +# depends=('python' 'bluez-libs') + +# cd $srcdir/PyBluez-$pkgver +# python setup.py install --root=$pkgdir +# ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python3.3/site-packages/_bluetooth.so +#} + +package_python2-pybluez() { + depends=('python2' 'bluez-libs') -build() { cd $srcdir/PyBluez-$pkgver python2 setup.py install --root=$pkgdir - ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.6/site-packages/_bluetooth.so +# ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so } - diff --git a/abs/core/python_modules/python-pybluez/__changelog b/abs/core/python_modules/python-pybluez/__changelog new file mode 100644 index 0000000..488d3cf --- /dev/null +++ b/abs/core/python_modules/python-pybluez/__changelog @@ -0,0 +1 @@ +PKGBUILD: rm py 3 stuff diff --git a/abs/core/python_modules/python-simplejson/PKGBUILD b/abs/core/python_modules/python-simplejson/PKGBUILD new file mode 100644 index 0000000..73dc754 --- /dev/null +++ b/abs/core/python_modules/python-simplejson/PKGBUILD @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: David Moore <davidm@sjsoft.com> + +pkgbase=python-simplejson +pkgname=('python2-simplejson') +pkgver=3.6.5 +pkgrel=1 +pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python' +license=('MIT') +arch=('x86_64' 'i686') +url='http://undefined.org/python/#simplejson' +makedepends=('python2-setuptools' 'git') +source=("git://github.com/simplejson/simplejson.git#tag=v$pkgver") +md5sums=('SKIP') + +#package_python-simplejson() { +# depends=('python') + +# cd simplejson +# python setup.py install --root="$pkgdir" +# install -Dm644 "$srcdir/simplejson/LICENSE.txt" \ +# "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +#} + +package_python2-simplejson() { + depends=('python2') + + cd simplejson + python2 setup.py install --root="$pkgdir" + install -Dm644 "$srcdir/simplejson/LICENSE.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/python_modules/python-simplejson/__changelog b/abs/core/python_modules/python-simplejson/__changelog new file mode 100644 index 0000000..488d3cf --- /dev/null +++ b/abs/core/python_modules/python-simplejson/__changelog @@ -0,0 +1 @@ +PKGBUILD: rm py 3 stuff diff --git a/abs/core/python_modules/pywebkitgtk/PKGBUILD b/abs/core/python_modules/pywebkitgtk/PKGBUILD index 9fec0ff..b89fc60 100644 --- a/abs/core/python_modules/pywebkitgtk/PKGBUILD +++ b/abs/core/python_modules/pywebkitgtk/PKGBUILD @@ -1,27 +1,27 @@ -# $Id: PKGBUILD 148894 2012-02-05 11:54:35Z ibiru $ +# $Id$ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Contributor: kasa <biuta.jr@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=pywebkitgtk pkgver=1.1.8 -pkgrel=2 +pkgrel=3 pkgdesc="Python bindings to the WebKit GTK+ port" arch=('i686' 'x86_64') url="http://code.google.com/p/pywebkitgtk/" license=('LGPL') -depends=('libwebkit' 'pygtk') -options=('!libtool' '!makeflags') +depends=('webkitgtk2' 'pygtk') +options=('!makeflags') source=(http://pywebkitgtk.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) md5sums=('158335385354ba38090c9324b37bf225') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } |