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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 14:31:53 UTC 2019


    Date: Tuesday, April 2, 2019 @ 14:31:52
  Author: felixonmars
Revision: 447792

archrelease: copy trunk to community-any

Added:
  python-ipdb/repos/community-any/PKGBUILD
    (from rev 447791, python-ipdb/trunk/PKGBUILD)
Deleted:
  python-ipdb/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++---------------------------------------
 1 file changed, 32 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 14:31:33 UTC (rev 447791)
+++ PKGBUILD	2019-04-02 14:31:52 UTC (rev 447792)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: N30N <archlinux at alunamation.com>
-# Contributor: giniu <gginiu at gmail.com>
-
-pkgbase=python-ipdb
-pkgname=(python-ipdb python2-ipdb)
-pkgver=0.12
-pkgrel=1
-pkgdesc="IPython-enabled pdb"
-url="http://pypi.python.org/pypi/ipdb"
-makedepends=('python-setuptools' 'python2-setuptools' 'ipython' 'ipython2')
-arch=("any")
-license=("BSD")
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/gotcha/ipdb/archive/$pkgver.tar.gz")
-sha512sums=('00df9861f586b70fa9ef75ac09ab2e60c9785c9472ba2a5b10a546bfc5834e38f78538dd27f080251f6236c2b7b5af46b16d587b2777424d84d240abc8b59788')
-
-prepare() {
-  cp -a ipdb-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/ipdb-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/ipdb-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/ipdb-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/ipdb-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-ipdb() {
-  depends=("ipython")
-
-  cd ipdb-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-
-  ln -s ipdb3 "$pkgdir"/usr/bin/ipdb
-  install -Dm644 COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING.txt
-}
-
-package_python2-ipdb() {
-  depends=("ipython2")
-
-  cd ipdb-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-
-  mv "$pkgdir"/usr/bin/ipdb{,2}
-  install -Dm644 COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING.txt
-}

Copied: python-ipdb/repos/community-any/PKGBUILD (from rev 447791, python-ipdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 14:31:52 UTC (rev 447792)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: N30N <archlinux at alunamation.com>
+# Contributor: giniu <gginiu at gmail.com>
+
+pkgname=python-ipdb
+pkgver=0.12
+pkgrel=2
+pkgdesc="IPython-enabled pdb"
+url="http://pypi.python.org/pypi/ipdb"
+depends=("ipython")
+makedepends=('python-setuptools')
+arch=("any")
+license=("BSD")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gotcha/ipdb/archive/$pkgver.tar.gz")
+sha512sums=('00df9861f586b70fa9ef75ac09ab2e60c9785c9472ba2a5b10a546bfc5834e38f78538dd27f080251f6236c2b7b5af46b16d587b2777424d84d240abc8b59788')
+
+build() {
+  cd ipdb-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd ipdb-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd ipdb-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  ln -s ipdb3 "$pkgdir"/usr/bin/ipdb
+  install -Dm644 COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/COPYING.txt
+}


More information about the arch-commits mailing list