Date: Saturday, September 24, 2016 @ 01:10:28 Author: tredaelli Revision: 190225
archrelease: copy trunk to community-any Added: python2-qrcode/repos/community-any/PKGBUILD (from rev 190224, python2-qrcode/trunk/PKGBUILD) Deleted: python2-qrcode/repos/community-any/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-09-24 01:10:21 UTC (rev 190224) +++ PKGBUILD 2016-09-24 01:10:28 UTC (rev 190225) @@ -1,28 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Francois Boulogne <fboulogne at april dot org> - -pkgname=python2-qrcode -pkgver=5.1 -pkgrel=2 -pkgdesc="Python library to generate QR codes" -arch=('any') -url="https://github.com/lincolnloop/python-qrcode" -license=('custom') -depends=('python2-pillow' 'python2-six' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/q/qrcode/qrcode-${pkgver}.tar.gz) - -prepare() { - find "qrcode-$pkgver" -type f -exec sed -i 's#/usr/bin/python#/usr/bin/python2#g' {} + - find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#g' {} + -} - -package() { - cd "qrcode-$pkgver" - python2 setup.py install --root="${pkgdir}" --optimize=1 - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} - -# vim:ts=2:sw=2:et: -md5sums=('1f20223419bbf992208ada0c12ed4577') Copied: python2-qrcode/repos/community-any/PKGBUILD (from rev 190224, python2-qrcode/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-09-24 01:10:28 UTC (rev 190225) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Francois Boulogne <fboulogne at april dot org> + +pkgname=python2-qrcode +pkgver=5.3 +pkgrel=1 +pkgdesc="Python library to generate QR codes" +arch=('any') +url="https://github.com/lincolnloop/python-qrcode" +license=('custom') +depends=('python2-pillow' 'python2-six' 'python2-setuptools') +source=(https://pypi.org/packages/source/q/qrcode/qrcode-${pkgver}.tar.gz) + +prepare() { + find "qrcode-$pkgver" -type f -exec sed -i 's#/usr/bin/python#/usr/bin/python2#g' {} + + find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#g' {} + +} + +package() { + cd "qrcode-$pkgver" + python2 setup.py install --root="${pkgdir}" --optimize=1 + + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +# vim:ts=2:sw=2:et: +md5sums=('af41b650a3675d0a0366f842de9786b9')