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

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 16 09:00:35 UTC 2022


    Date: Tuesday, August 16, 2022 @ 09:00:34
  Author: felixonmars
Revision: 1266558

upgpkg: python-profilestats 2.0-11: update url

Modified:
  python-profilestats/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-16 08:53:12 UTC (rev 1266557)
+++ PKGBUILD	2022-08-16 09:00:34 UTC (rev 1266558)
@@ -2,22 +2,21 @@
 
 pkgname=python-profilestats
 pkgver=2.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Decorator for profiling individual functions and converting profiling data to the kcachegrind/qcachegrind format."
 arch=('any')
 license=('BSD')
-url="https://pypi.python.org/pypi/profilestats"
+url="https://github.com/hannosch/profilestats"
 depends=('python-setuptools' 'pyprof2calltree')
-makedepends=('git')
-source=("git+https://github.com/hannosch/profilestats.git#tag=$pkgver")
-sha512sums=('SKIP')
+source=("https://github.com/hannosch/profilestats/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('918d23df8f076dc6b0be0dc70e8899f638d6a911472193624e6a7594a1b1c82975f0090dddbcdadcb0c6a0c11b2bb6f22fad11561322cdf962c719854663b23a')
 
 build() {
-  cd "$srcdir"/profilestats
+  cd profilestats-$pkgver
   python setup.py build
 }
 
 package() {
-  cd profilestats
+  cd profilestats-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list