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

Felix Yan felixonmars at archlinux.org
Fri Mar 22 19:00:33 UTC 2019


    Date: Friday, March 22, 2019 @ 19:00:32
  Author: felixonmars
Revision: 443195

upgpkg: python-py-cpuinfo 5.0.0-2

Modified:
  python-py-cpuinfo/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-22 18:47:07 UTC (rev 443194)
+++ PKGBUILD	2019-03-22 19:00:32 UTC (rev 443195)
@@ -3,8 +3,7 @@
 pkgbase=python-py-cpuinfo
 pkgname=('python-py-cpuinfo' 'python2-py-cpuinfo')
 pkgver=5.0.0
-_commit=202e2fe4a362c9558cae074e7dbff1173d030437
-pkgrel=1
+pkgrel=2
 arch=('any')
 pkgdesc='Get CPU info with pure Python 2 & 3'
 url='https://github.com/workhorsy/py-cpuinfo'
@@ -11,11 +10,10 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/workhorsy/py-cpuinfo/archive/$_commit.tar.gz")
-sha512sums=('149605f71b360938aa17e94ab0e8a0474750bd90deb73dc16fe032674f147fe65e5db79920299b4be32234221dca3bca1cb4ac297c625570a166c99b596d9ca2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/workhorsy/py-cpuinfo/archive/v$pkgver.tar.gz")
+sha512sums=('186bae1745c927b613ac852819e046ef43b9b9322e4455d9fb0ce94d4ab7d3239a25d7bb01347f3a5a9dc80a0cc047feeb3af97ab85e5e995ff19a5f8b7a8129')
 
 prepare() {
-  mv py-cpuinfo-{$_commit,$pkgver}
   cp -a py-cpuinfo-$pkgver{,-py2}
 }
 


More information about the arch-commits mailing list