[arch-commits] Commit in python-hunter/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 14 16:47:08 UTC 2019
Date: Monday, October 14, 2019 @ 16:47:08
Author: felixonmars
Revision: 515749
archrelease: copy trunk to community-x86_64
Added:
python-hunter/repos/community-x86_64/PKGBUILD
(from rev 515748, python-hunter/trunk/PKGBUILD)
Deleted:
python-hunter/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 16:46:54 UTC (rev 515748)
+++ PKGBUILD 2019-10-14 16:47:08 UTC (rev 515749)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hunter
-pkgname=('python-hunter' 'python2-hunter')
-pkgver=3.0.1
-pkgrel=1
-arch=('x86_64')
-pkgdesc='Hunter is a flexible code tracing toolkit'
-license=('BSD')
-url='https://github.com/ionelmc/python-hunter'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-manhole' 'python2-manhole'
- 'python-colorama' 'python2-colorama' 'cython' 'cython2')
-checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark' 'python-virtualenv'
- 'python2-virtualenv' 'python-pytest-runner' 'python2-pytest-runner' 'gdb'
- 'python-process-tests' 'python2-process-tests' 'python-aspectlib' 'python2-aspectlib')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-hunter/archive/v$pkgver.tar.gz")
-sha512sums=('865ab939a4bda9dd0f86bf3f4bd403be0b2a1c1128965e6ea2ab219aa3ddbc6508b5e3611f44a5f37ada28f3b28057784762ba2117e004fe5bf74ca1f8f73596')
-
-prepare() {
- rm python-hunter-$pkgver/src/hunter/*.c
- cp -a python-hunter-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-hunter-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-hunter-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack to process .pth files properly
- # ptrace needed to pass the remote tests
-
- cd "$srcdir"/python-hunter-$pkgver
- virtualenv "$srcdir/pyvenv" --system-site-packages
- (
- . "$srcdir/pyvenv/bin/activate"
- python setup.py install
- python setup.py pytest
- ) || warning "Tests failed"
-
- cd "$srcdir"/python-hunter-$pkgver-py2
- virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
- (
- . "$srcdir/pyvenv-py2/bin/activate"
- python2 setup.py install
- python2 setup.py pytest
- ) || warning "Tests failed"
-}
-
-package_python-hunter() {
- depends=('python-manhole' 'python-colorama')
- optdepends=('gdb: for remote support')
-
- cd python-hunter-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-hunter() {
- depends=('python2-manhole' 'python2-colorama')
- optdepends=('gdb: for remote support')
-
- cd python-hunter-$pkgver-py2
- python2 setup.py install --root "$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- mv "$pkgdir"/usr/bin/hunter-trace{,2}
-}
Copied: python-hunter/repos/community-x86_64/PKGBUILD (from rev 515748, python-hunter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-14 16:47:08 UTC (rev 515749)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hunter
+pkgname=('python-hunter' 'python2-hunter')
+pkgver=3.0.3
+pkgrel=1
+arch=('x86_64')
+pkgdesc='Hunter is a flexible code tracing toolkit'
+license=('BSD')
+url='https://github.com/ionelmc/python-hunter'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-manhole' 'python2-manhole'
+ 'python-colorama' 'python2-colorama' 'cython' 'cython2')
+checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark' 'python-virtualenv'
+ 'python2-virtualenv' 'python-pytest-runner' 'python2-pytest-runner' 'gdb'
+ 'python-process-tests' 'python2-process-tests' 'python-aspectlib' 'python2-aspectlib')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-hunter/archive/v$pkgver.tar.gz")
+sha512sums=('366346c7029ad2a5885ff6f1a374f26c351a1a3a57e045cb9752a30b80766876487497ee311e5350295e5eb540e99d038fa775722c3bf7e5291b707200d8b1c0')
+
+prepare() {
+ rm python-hunter-$pkgver/src/hunter/*.c
+ cp -a python-hunter-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-hunter-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-hunter-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack to process .pth files properly
+ # ptrace needed to pass the remote tests
+
+ cd "$srcdir"/python-hunter-$pkgver
+ virtualenv "$srcdir/pyvenv" --system-site-packages
+ (
+ . "$srcdir/pyvenv/bin/activate"
+ python setup.py install
+ python setup.py pytest
+ ) || warning "Tests failed"
+
+ cd "$srcdir"/python-hunter-$pkgver-py2
+ virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
+ (
+ . "$srcdir/pyvenv-py2/bin/activate"
+ python2 setup.py install
+ python2 setup.py pytest
+ ) || warning "Tests failed"
+}
+
+package_python-hunter() {
+ depends=('python-manhole' 'python-colorama')
+ optdepends=('gdb: for remote support')
+
+ cd python-hunter-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-hunter() {
+ depends=('python2-manhole' 'python2-colorama')
+ optdepends=('gdb: for remote support')
+
+ cd python-hunter-$pkgver-py2
+ python2 setup.py install --root "$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/bin/hunter-trace{,2}
+}
More information about the arch-commits
mailing list