[arch-commits] Commit in (4 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Fri Mar 14 15:30:07 UTC 2014
Date: Friday, March 14, 2014 @ 16:30:07
Author: flexiondotorg
Revision: 107211
Added python-qrencode
Added:
python-qrencode/
python-qrencode/repos/
python-qrencode/trunk/
python-qrencode/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Added: python-qrencode/trunk/PKGBUILD
===================================================================
--- python-qrencode/trunk/PKGBUILD (rev 0)
+++ python-qrencode/trunk/PKGBUILD 2014-03-14 15:30:07 UTC (rev 107211)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Martin Wimpress <code at flexion.org>
+
+pkgname=python-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=('python-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}"
+ python setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+
Property changes on: python-qrencode/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list