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

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 19:42:25 UTC 2022


    Date: Tuesday, August 30, 2022 @ 19:42:25
  Author: felixonmars
Revision: 1288956

upgpkg: python-hunter 3.4.3-1

Modified:
  python-hunter/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 19:37:54 UTC (rev 1288955)
+++ PKGBUILD	2022-08-30 19:42:25 UTC (rev 1288956)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-hunter
-pkgver=3.4.2
+pkgver=3.4.3
 pkgrel=1
 arch=('x86_64')
 pkgdesc='Hunter is a flexible code tracing toolkit'
@@ -9,11 +9,11 @@
 url='https://github.com/ionelmc/python-hunter'
 depends=('python-colorama' 'python-cymem' 'python-manhole')
 optdepends=('gdb: for remote support')
-makedepends=('python-pip' 'python-wheel' 'cython')
+makedepends=('python-setuptools-scm' 'python-wheel' 'cython')
 checkdepends=('python-pytest-benchmark' 'python-virtualenv' 'python-pytest' 'gdb'
               'python-process-tests' 'python-aspectlib')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-hunter/archive/v$pkgver.tar.gz")
-sha512sums=('f2543de4a278f9506bf8f85a62655776693635d9bb60764e79a6dc4cb6e914b90687c92467e226731ce0ed941a37cabf4ee0a4b2bad0f9b7ce4abc0605f24556')
+sha512sums=('921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7')
 
 prepare() {
   cd python-hunter-$pkgver
@@ -25,7 +25,7 @@
 }
 
 build() {
-  cd "$srcdir"/python-hunter-$pkgver
+  cd python-hunter-$pkgver
   python setup.py build
 }
 
@@ -33,7 +33,7 @@
   # Hack to process .pth files properly
   # ptrace needed to pass the remote tests
 
-  cd "$srcdir"/python-hunter-$pkgver
+  cd python-hunter-$pkgver
   python tests/setup.py build_ext --inplace
   virtualenv "$srcdir/pyvenv" --system-site-packages
   (
@@ -43,11 +43,11 @@
   ) || :
 
   # Clean up to prevent it from being installed
-  rm build/lib.linux-$CARCH-3.10/*.so
+  rm build/lib.linux-$CARCH-cpython-310/*.so
 }
 
 package() {
   cd python-hunter-$pkgver
   python setup.py install --root "$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list