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

Eli Schwartz eschwartz at archlinux.org
Thu Jun 28 13:48:19 UTC 2018


    Date: Thursday, June 28, 2018 @ 13:48:18
  Author: eschwartz
Revision: 346799

upgpkg: python-deprecation 2.0.4-2

Enable PGP signatures.

Modified:
  python-deprecation/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-28 13:46:59 UTC (rev 346798)
+++ PKGBUILD	2018-06-28 13:48:18 UTC (rev 346799)
@@ -1,10 +1,11 @@
 # $Id$
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
+_name=deprecation
 pkgbase=python-deprecation
 pkgname=('python-deprecation' 'python2-deprecation')
 pkgver=2.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A library to handle automated deprecations"
 arch=('any')
 license=('Apache')
@@ -11,8 +12,10 @@
 url="http://deprecation.readthedocs.io"
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python2-unittest2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/briancurtin/deprecation/archive/$pkgver.tar.gz")
-sha512sums=('333a71dce7f53ed3d15ce3f92af62915e2f269f3f4b5fa021fbcc6286d191419323ebab9790df0c7f01a3e7695b214381491ba841e4b629ca80a0053fd08e5c7')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('990b200a20bc02728a68b3484ce2bc1393f8ebb0fbaacf65fa3b2548e7482b173cb65a7ebeb51ca64f21974e239a6d71d355ccbad169d3f8f8734d55d0b92ab1'
+            'SKIP')
+validpgpkeys=('E62866A3562575D95B570AF58EB71A70831B56D1') # Brian Curtin (brian.curtin) <brian at python.org>
 
 prepare() {
   cp -a deprecation-$pkgver{,-py2}



More information about the arch-commits mailing list