[arch-commits] Commit in python-qrencode/repos (4 files)

Felix Yan fyan at archlinux.org
Sun Sep 20 03:33:26 UTC 2015


    Date: Sunday, September 20, 2015 @ 05:33:26
  Author: fyan
Revision: 141156

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-qrencode/repos/community-staging-i686/
  python-qrencode/repos/community-staging-i686/PKGBUILD
    (from rev 141155, python-qrencode/trunk/PKGBUILD)
  python-qrencode/repos/community-staging-x86_64/
  python-qrencode/repos/community-staging-x86_64/PKGBUILD
    (from rev 141155, python-qrencode/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: python-qrencode/repos/community-staging-i686/PKGBUILD (from rev 141155, python-qrencode/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-20 03:33:26 UTC (rev 141156)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Martin Wimpress <code at flexion.org>
+
+pkgbase=python-qrencode
+pkgname=(python-qrencode python2-qrencode)
+pkgver=1.01
+pkgrel=9
+pkgdesc="A simple wrapper for the C qrencode library"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/qrencode"
+license=('Apache')
+makedepends=('gcc' 'python' 'python2' 'python-pillow' 'python2-pillow' 'qrencode')
+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_python-qrencode() {
+    depends=('python' 'python-pillow' 'qrencode')
+    cd "${srcdir}/qrencode-${pkgver}"
+    python setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+package_python2-qrencode() {
+    depends=('python2' 'python2-pillow' 'qrencode')
+    cd "${srcdir}/qrencode-${pkgver}"
+    python2 setup.py install --prefix=/usr --root="${pkgdir}"
+}
+

Copied: python-qrencode/repos/community-staging-x86_64/PKGBUILD (from rev 141155, python-qrencode/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-20 03:33:26 UTC (rev 141156)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Martin Wimpress <code at flexion.org>
+
+pkgbase=python-qrencode
+pkgname=(python-qrencode python2-qrencode)
+pkgver=1.01
+pkgrel=9
+pkgdesc="A simple wrapper for the C qrencode library"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/qrencode"
+license=('Apache')
+makedepends=('gcc' 'python' 'python2' 'python-pillow' 'python2-pillow' 'qrencode')
+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_python-qrencode() {
+    depends=('python' 'python-pillow' 'qrencode')
+    cd "${srcdir}/qrencode-${pkgver}"
+    python setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+package_python2-qrencode() {
+    depends=('python2' 'python2-pillow' 'qrencode')
+    cd "${srcdir}/qrencode-${pkgver}"
+    python2 setup.py install --prefix=/usr --root="${pkgdir}"
+}
+



More information about the arch-commits mailing list