[arch-commits] Commit in python-qrcode/repos/community-any (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Wed Jan 5 08:43:55 UTC 2022


    Date: Wednesday, January 5, 2022 @ 08:43:54
  Author: alerque
Revision: 1093212

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-05 08:43:08 UTC (rev 1093211)
+++ PKGBUILD	2022-01-05 08:43:54 UTC (rev 1093212)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-# Dependency on pillow is technically optional, but if not available some
-# functionality will expect to find unlisted dependency pymaging instead;
-# see upstream issue: https://github.com/lincolnloop/python-qrcode/issues/223
-
-pkgname=python-qrcode
-pkgver=7.3
-pkgrel=7
-pkgdesc='Python library to generate QR codes'
-arch=('any')
-url='https://github.com/lincolnloop/python-qrcode'
-license=('BSD')
-depends=('python' 'python-pillow')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
-sha512sums=('1d24dd7d3c9e0cd909a780b2639d2db54e0db6bc98100b6446cb290aa78ed1b9ed6d14c4cdd8a8ddcbe7a0ae6be8724c5b26118d25985450a974d78a520b3b0e')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i \
-    -e '/pkg_resources/d' \
-    -e "/version =/s/get_distribution('qrcode').version/'$pkgver'/" \
-    qrcode/console_scripts.py
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  pytest
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-qrcode/repos/community-any/PKGBUILD (from rev 1093211, python-qrcode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-05 08:43:54 UTC (rev 1093212)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+# Dependency on pillow is technically optional, but if not available some
+# functionality will expect to find unlisted dependency pymaging instead;
+# see upstream issue: https://github.com/lincolnloop/python-qrcode/issues/223
+
+pkgname=python-qrcode
+pkgver=7.3.1
+pkgrel=1
+pkgdesc='Python library to generate QR codes'
+arch=('any')
+url='https://github.com/lincolnloop/python-qrcode'
+license=('BSD')
+depends=('python' 'python-pillow')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=($url/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('e08498e73281d850c2cf64b3371b669605dc523420180b48c4bfc5a464f6184fc36f78741358699c450937066514f21ae0e76b0b3bbbcb40a0dedf116b31838d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i \
+    -e '/pkg_resources/d' \
+    -e "/version =/s/get_distribution('qrcode').version/'$pkgver'/" \
+    qrcode/console_scripts.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  pytest
+}
+
+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