[arch-commits] Commit in python-ipdb/repos (2 files)
Felix Yan
fyan at archlinux.org
Sun Sep 20 03:20:16 UTC 2015
Date: Sunday, September 20, 2015 @ 05:20:16
Author: fyan
Revision: 141146
archrelease: copy trunk to community-staging-any
Added:
python-ipdb/repos/community-staging-any/
python-ipdb/repos/community-staging-any/PKGBUILD
(from rev 141145, python-ipdb/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-ipdb/repos/community-staging-any/PKGBUILD (from rev 141145, python-ipdb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-20 03:20:16 UTC (rev 141146)
@@ -0,0 +1,38 @@
+# $Id$
+# 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.8.1
+pkgrel=2
+pkgdesc="IPython-enabled pdb"
+url="http://pypi.python.org/pypi/ipdb"
+makedepends=('python-setuptools' 'python2-setuptools' 'ipython' 'ipython2')
+arch=("any")
+license=("GPL")
+source=("https://pypi.python.org/packages/source/i/ipdb/ipdb-${pkgver}.zip")
+md5sums=('dbaded677eae99ed391fccc83e737c4f')
+
+prepare() {
+ cp -a ipdb-${pkgver}{,-py2}
+}
+
+package_python-ipdb() {
+ depends=("ipython")
+
+ cd "${srcdir}/ipdb-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+
+ ln -s ipdb3 "$pkgdir/usr/bin/ipdb"
+}
+
+package_python2-ipdb() {
+ depends=("ipython2")
+
+ cd "${srcdir}/ipdb-${pkgver}-py2"
+ python2 setup.py install -O1 --root="${pkgdir}"
+
+ mv "$pkgdir/usr/bin/ipdb"{,2}
+}
More information about the arch-commits
mailing list