[arch-commits] Commit in python-objgraph/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:35:53 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:35:53
  Author: felixonmars
Revision: 752700

archrelease: copy trunk to community-staging-any

Added:
  python-objgraph/repos/community-staging-any/PKGBUILD
    (from rev 752698, python-objgraph/trunk/PKGBUILD)
Deleted:
  python-objgraph/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 17:35:51 UTC (rev 752699)
+++ PKGBUILD	2020-11-12 17:35:53 UTC (rev 752700)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-objgraph
-pkgname=(python-objgraph python2-objgraph)
-pkgver=3.5.0
-pkgrel=2
-pkgdesc="Draws Python object reference graphs with graphviz"
-url="https://github.com/mgedmin/objgraph"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-mock' 'python2-mock' 'graphviz')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mgedmin/objgraph/archive/$pkgver.tar.gz")
-sha512sums=('50bf1967d6696547598628d49f3c827f1535d6de032fb429881e523f144bb57e128d09f43d280b89a0f9205ca97ef10331e0da1dc86637af0214bfd7aa4cba3b')
-
-prepare() {
-  # Only for ipython support
-  sed -i "/'graphviz'/d" objgraph-$pkgver/setup.py
-
-  cp -a objgraph-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/objgraph-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/objgraph-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/objgraph-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/objgraph-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-objgraph() {
-  depends=('python')
-
-  cd objgraph-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-objgraph() {
-  depends=('python2')
-
-  cd objgraph-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-objgraph/repos/community-staging-any/PKGBUILD (from rev 752698, python-objgraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 17:35:53 UTC (rev 752700)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-objgraph
+pkgname=(python-objgraph python2-objgraph)
+pkgver=3.5.0
+pkgrel=3
+pkgdesc="Draws Python object reference graphs with graphviz"
+url="https://github.com/mgedmin/objgraph"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-mock' 'python2-mock' 'graphviz')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mgedmin/objgraph/archive/$pkgver.tar.gz")
+sha512sums=('50bf1967d6696547598628d49f3c827f1535d6de032fb429881e523f144bb57e128d09f43d280b89a0f9205ca97ef10331e0da1dc86637af0214bfd7aa4cba3b')
+
+prepare() {
+  # Only for ipython support
+  sed -i "/'graphviz'/d" objgraph-$pkgver/setup.py
+
+  cp -a objgraph-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/objgraph-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/objgraph-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/objgraph-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/objgraph-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-objgraph() {
+  depends=('python')
+
+  cd objgraph-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-objgraph() {
+  depends=('python2')
+
+  cd objgraph-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list