[arch-commits] Commit in python-ipdb/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:19:25 UTC 2019
Date: Monday, November 4, 2019 @ 06:19:25
Author: felixonmars
Revision: 523360
archrelease: copy trunk to community-staging-any
Added:
python-ipdb/repos/community-staging-any/
python-ipdb/repos/community-staging-any/PKGBUILD
(from rev 523359, python-ipdb/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-ipdb/repos/community-staging-any/PKGBUILD (from rev 523359, python-ipdb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 06:19:25 UTC (rev 523360)
@@ -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.2
+pkgrel=2
+pkgdesc="IPython-enabled pdb"
+url="https://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=('b8ff11e0f133be4113cbc5b31762ecc63ddd4d3084394775b8433fdc138296e4840bd114b5aa249597e3fb9b055b9060e2599dda0a8a9a90e472e4e33b798398')
+
+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