Date: Wednesday, March 20, 2019 @ 11:29:10 Author: felixonmars Revision: 442932
archrelease: copy trunk to community-any Added: python-ipdb/repos/community-any/PKGBUILD (from rev 442931, python-ipdb/trunk/PKGBUILD) Deleted: python-ipdb/repos/community-any/PKGBUILD ----------+ PKGBUILD | 111 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-20 11:28:51 UTC (rev 442931) +++ PKGBUILD 2019-03-20 11:29:10 UTC (rev 442932) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: N30N <archli...@alunamation.com> -# Contributor: giniu <ggi...@gmail.com> - -pkgbase=python-ipdb -pkgname=(python-ipdb python2-ipdb) -pkgver=0.11 -pkgrel=2 -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=('a8398088b192af213a763432406211abceae07ecc1268f0063604727279b8b534c4b72fbff492d43b3cc28f840156d7fb70d99b97ce17554a333d37657aca584') - -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 442931, python-ipdb/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-20 11:29:10 UTC (rev 442932) @@ -0,0 +1,55 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: N30N <archli...@alunamation.com> +# Contributor: giniu <ggi...@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 +}