[arch-commits] Commit in pyprof2calltree/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Thu May 14 13:12:30 UTC 2020


    Date: Thursday, May 14, 2020 @ 13:12:29
  Author: jelle
Revision: 627934

archrelease: copy trunk to community-any

Added:
  pyprof2calltree/repos/community-any/PKGBUILD
    (from rev 627933, pyprof2calltree/trunk/PKGBUILD)
Deleted:
  pyprof2calltree/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   75 +++++++++++++++++++++++--------------------------------------
 1 file changed, 29 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-14 13:12:18 UTC (rev 627933)
+++ PKGBUILD	2020-05-14 13:12:29 UTC (rev 627934)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Florian Bruhin (The Compiler) <archlinux.org at the-compiler.org>
-# Contributor: Brecht Machiels <brecht at mos6581 dot org>
-
-pkgbase=pyprof2calltree
-pkgname=(pyprof2calltree python2-pyprof2calltree)
-pkgver=1.4.5
-pkgrel=1
-pkgdesc="Help visualize profiling data from cProfile with kcachegrind"
-url="https://pypi.python.org/pypi/pyprof2calltree/"
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/p/pyprof2calltree/pyprof2calltree-$pkgver.tar.gz")
-sha512sums=('9ad50a5c00881cbd8c361726b16fcb407c899c8dfe201769eddf10c3541531491f49cd5a08658b70d1e85e4c00d9a89801d600ab4f7d9906d357a0de82784f9e')
-
-prepare() {
-  sed -n '/# Copyright/,/# THE SOFTWARE\./p' pyprof2calltree-$pkgver/pyprof2calltree.py > LICENSE
-  cp -a pyprof2calltree-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pyprof2calltree-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyprof2calltree-$pkgver-py2
-  python setup.py build
-}
-
-package_pyprof2calltree() {
-  depends=('python-setuptools')
-
-  cd pyprof2calltree-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pyprof2calltree() {
-  depends=('python2-setuptools')
-
-  cd pyprof2calltree-$pkgver-py2
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir/usr/bin/pyprof2calltree"{,2}
-}

Copied: pyprof2calltree/repos/community-any/PKGBUILD (from rev 627933, pyprof2calltree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-14 13:12:29 UTC (rev 627934)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Bruhin (The Compiler) <archlinux.org at the-compiler.org>
+# Contributor: Brecht Machiels <brecht at mos6581 dot org>
+
+pkgname=pyprof2calltree
+pkgver=1.4.5
+pkgrel=2
+pkgdesc="Help visualize profiling data from cProfile with kcachegrind"
+url="https://pypi.python.org/pypi/pyprof2calltree/"
+arch=('any')
+license=('BSD')
+depends=('python-setuptools')
+source=("https://pypi.io/packages/source/p/pyprof2calltree/pyprof2calltree-$pkgver.tar.gz")
+sha512sums=('9ad50a5c00881cbd8c361726b16fcb407c899c8dfe201769eddf10c3541531491f49cd5a08658b70d1e85e4c00d9a89801d600ab4f7d9906d357a0de82784f9e')
+
+prepare() {
+  sed -n '/# Copyright/,/# THE SOFTWARE\./p' pyprof2calltree-$pkgver/pyprof2calltree.py > LICENSE
+}
+
+build() {
+  cd "$srcdir"/pyprof2calltree-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pyprof2calltree-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list