[arch-commits] Commit in python-gnupg/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 20 17:32:51 UTC 2020


    Date: Monday, April 20, 2020 @ 17:32:50
  Author: dvzrv
Revision: 617062

upgpkg: python-gnupg 0.4.6-1: Upgrading to 0.4.6.

Using pytest in check() instead of calling a script with intransparent output.
Cleaning up source array.

Modified:
  python-gnupg/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-20 17:32:35 UTC (rev 617061)
+++ PKGBUILD	2020-04-20 17:32:50 UTC (rev 617062)
@@ -1,19 +1,19 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
 # Contributor: Sven Klomp <mail at klomp.eu>
 
 pkgname=python-gnupg
 pkgdesc="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)"
-pkgver=0.4.5
-pkgrel=2
+pkgver=0.4.6
+pkgrel=1
 url="https://pythonhosted.org/python-gnupg/"
 license=('BSD')
 arch=('any')
 depends=('gnupg' 'python')
 makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/p/python-gnupg/${pkgname}-${pkgver}.tar.gz"
-        "https://pypi.io/packages/source/p/python-gnupg/${pkgname}-${pkgver}.tar.gz.asc")
-sha512sums=('441b49e1f87a7e8e3abf2d6e90f677dc33f1b66a36483787f972378127f31308bacc5e200ae254dd75942191d2fabd61ca5a2f200cf5400be70957942f889ca4'
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('33b98bdd1c7d211d31173bbea2358fdfd2dabdbd5e70d4b33035a0edbf666bdba7319ffc847c8617f2626d1bf5a91102f1103c0bfe651fcd709d51ee821be104'
             'SKIP')
 validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip (CODE SIGNING KEY) <vinay_sajip at yahoo.co.uk>
 
@@ -25,7 +25,7 @@
 check() {
   cd "${pkgname}-${pkgver}"
   export NO_EXTERNAL_TESTS='true'
-  python test_gnupg.py
+  pytest -v
 }
 
 package() {



More information about the arch-commits mailing list