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

Felix Yan felixonmars at archlinux.org
Fri Nov 24 12:41:01 UTC 2017


    Date: Friday, November 24, 2017 @ 12:41:00
  Author: felixonmars
Revision: 268296

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  148 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 74 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 12:40:35 UTC (rev 268295)
+++ PKGBUILD	2017-11-24 12:41:00 UTC (rev 268296)
@@ -1,74 +0,0 @@
-# $Id: PKGBUILD 141472 2015-09-22 16:00:29Z fyan $
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hunter
-pkgname=('python-hunter' 'python2-hunter')
-pkgver=2.0.1
-pkgrel=1
-arch=('i686' '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=('672b0368bf90c09f44568c7b409ad8db5be98e5bfb5ae6583bfe39f75821718ed5ca0904cd9cf4b35328eff75c6d6b7764da8ef3997ddd38ba918133b4a35936')
-
-prepare() {
-  sed -i "s|'-mtarget'|'tests/target.py'|" python-hunter-$pkgver/tests/test_remote.py
-  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 268295, python-hunter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-24 12:41:00 UTC (rev 268296)
@@ -0,0 +1,74 @@
+# $Id: PKGBUILD 141472 2015-09-22 16:00:29Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hunter
+pkgname=('python-hunter' 'python2-hunter')
+pkgver=2.0.2
+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=('e0f6ea2e19f389228e00e5e3c31f6477ab5d9776ae31b68bcd686a96fb5c4bce2c41643695e67c3d2cec9837e0f4e0e8898b513310deaf8ddc8e7b56ad0475a2')
+
+prepare() {
+  sed -i "s|'-mtarget'|'tests/target.py'|" python-hunter-$pkgver/tests/test_remote.py
+  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