Date: Friday, March 14, 2014 @ 16:31:09 Author: flexiondotorg Revision: 107214
Added python2-qrencode Added: python2-qrencode/ python2-qrencode/repos/ python2-qrencode/trunk/ python2-qrencode/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: python2-qrencode/trunk/PKGBUILD =================================================================== --- python2-qrencode/trunk/PKGBUILD (rev 0) +++ python2-qrencode/trunk/PKGBUILD 2014-03-14 15:31:09 UTC (rev 107214) @@ -0,0 +1,24 @@ +# $Id$ +# Maintainer: Martin Wimpress <c...@flexion.org> + +pkgname=python2-qrencode +pkgver=1.01 +pkgrel=5 +pkgdesc="A simple wrapper for the C qrencode library" +arch=('i686' 'x86_64') +url="http://pypi.python.org/pypi/qrencode" +license=('Apache') +depends=('python2-pillow' 'qrencode') +makedepends=('gcc') +source=("http://pypi.python.org/packages/source/q/qrencode/qrencode-${pkgver}.tar.gz") +sha256sums=('fd8cdabd743e2db7a1ad332d4f0fe037e5a7807cb2f1d32da3e39439088bb610') + +prepare() { + cd "${srcdir}/qrencode-${pkgver}" + sed -i 's/import Image/from PIL import Image/' qrencode/__init__.py +} + +package() { + cd "${srcdir}/qrencode-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" +} Property changes on: python2-qrencode/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property