[arch-commits] Commit in python-hunter/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jan 19 20:30:16 UTC 2019


    Date: Saturday, January 19, 2019 @ 20:30:15
  Author: felixonmars
Revision: 424861

archrelease: copy trunk to community-x86_64

Added:
  python-hunter/repos/community-x86_64/PKGBUILD
    (from rev 424860, python-hunter/trunk/PKGBUILD)
Deleted:
  python-hunter/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  146 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-19 20:29:58 UTC (rev 424860)
+++ PKGBUILD	2019-01-19 20:30:15 UTC (rev 424861)
@@ -1,73 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hunter
-pkgname=('python-hunter' 'python2-hunter')
-pkgver=2.1.0
-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-fields' 'python2-fields'
-             'python-colorama' 'python2-colorama' 'python-six' 'python2-six' 'cython' 'cython2')
-checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark' 'python-virtualenv'
-              'python2-virtualenv' 'python-pytest-runner' 'python2-pytest-runner' 'gdb'
-              'python-manhole' 'python2-manhole' 'python-process-tests' 'python2-process-tests')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-hunter/archive/v$pkgver.tar.gz")
-sha512sums=('a7a6790029ba477a492cdd3f48e84a6239d6fd6a70b3fe0c5d5dc0218ad8e397d8ddd7ba800db4ef96b73106573cd78444725bb13c7f3fcd34102ff0abd4ee55')
-
-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-fields' 'python-colorama' 'python-six')
-  optdepends=('python-manhole: for remote support'
-              '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-fields' 'python2-colorama' 'python2-six')
-  optdepends=('python2-manhole: for remote support'
-              '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 424860, python-hunter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-19 20:30:15 UTC (rev 424861)
@@ -0,0 +1,73 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hunter
+pkgname=('python-hunter' 'python2-hunter')
+pkgver=2.2.0
+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-fields' 'python2-fields'
+             'python-colorama' 'python2-colorama' 'python-six' 'python2-six' 'cython' 'cython2')
+checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark' 'python-virtualenv'
+              'python2-virtualenv' 'python-pytest-runner' 'python2-pytest-runner' 'gdb'
+              'python-manhole' 'python2-manhole' 'python-process-tests' 'python2-process-tests')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-hunter/archive/v$pkgver.tar.gz")
+sha512sums=('78dacbc0ce1c52a570a88bfb9366e9deaea06174c80076dec4341e09ed0c31d71302dfe7b34ca942c04360a398625a992cca3145a19f1fd4e008b4953e9e2702')
+
+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-fields' 'python-colorama' 'python-six')
+  optdepends=('python-manhole: for remote support'
+              '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-fields' 'python2-colorama' 'python2-six')
+  optdepends=('python2-manhole: for remote support'
+              '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