[arch-commits] Commit in python-qrcode/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 20:03:40 UTC 2021
Date: Thursday, December 2, 2021 @ 20:03:39
Author: felixonmars
Revision: 1062476
archrelease: copy trunk to community-staging-any
Added:
python-qrcode/repos/community-staging-any/PKGBUILD
(from rev 1062475, python-qrcode/trunk/PKGBUILD)
Deleted:
python-qrcode/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 20:03:36 UTC (rev 1062475)
+++ PKGBUILD 2021-12-02 20:03:39 UTC (rev 1062476)
@@ -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=6
-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-staging-any/PKGBUILD (from rev 1062475, python-qrcode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 20:03:39 UTC (rev 1062476)
@@ -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
+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
+}
More information about the arch-commits
mailing list