[arch-commits] Commit in python-qrcode/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:39:31 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:39:30
  Author: foutrelis
Revision: 520076

archrelease: copy trunk to community-staging-any

Added:
  python-qrcode/repos/community-staging-any/
  python-qrcode/repos/community-staging-any/PKGBUILD
    (from rev 520075, python-qrcode/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-qrcode/repos/community-staging-any/PKGBUILD (from rev 520075, python-qrcode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:39:30 UTC (rev 520076)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-qrcode
+pkgver=6.1
+pkgrel=3
+pkgdesc='Python library to generate QR codes'
+url='https://github.com/lincolnloop/python-qrcode'
+arch=('any')
+license=('custom')
+depends=('python-pillow' 'python-six' 'python-setuptools')
+source=(https://github.com/lincolnloop/python-qrcode/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
+sha512sums=('3af3b67959be8dd30b372145ff7b8aa1e20153c403b17c688d5a7189e3b25da872c6eee916e6d47e4f6545c87c0c0eb9af52e115353a0e8c0f73e4948ddc6829')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python -m unittest discover qrcode
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list