Date: Thursday, November 12, 2020 @ 17:33:22 Author: foutrelis Revision: 752657
archrelease: copy trunk to community-staging-any Added: python-ipdb/repos/community-staging-any/ python-ipdb/repos/community-staging-any/PKGBUILD (from rev 752655, python-ipdb/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: python-ipdb/repos/community-staging-any/PKGBUILD (from rev 752655, python-ipdb/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-12 17:33:22 UTC (rev 752657) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: N30N <archli...@alunamation.com> +# Contributor: giniu <ggi...@gmail.com> + +pkgname=python-ipdb +pkgver=0.13.4 +pkgrel=2 +pkgdesc="IPython-enabled pdb" +url="https://pypi.python.org/pypi/ipdb" +arch=("any") +license=("BSD") +depends=('ipython') +makedepends=('python-setuptools') +checkdepends=('python-mock') +source=("$pkgname-$pkgver.tar.gz::https://github.com/gotcha/ipdb/archive/$pkgver.tar.gz") +sha512sums=('00106c9ead57ebd20f3ad115665c1dfb7f7fb1cd159a0f814c3e27d53a1e27812297c973868556e330e864bca11dd99bee9dbe44cd93821bb5055009194fda33') + +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 +}