[arch-commits] Commit in python-ipdb/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Feb 22 15:51:25 UTC 2016
Date: Monday, February 22, 2016 @ 16:51:25
Author: fyan
Revision: 163143
archrelease: copy trunk to community-any
Added:
python-ipdb/repos/community-any/PKGBUILD
(from rev 163142, python-ipdb/trunk/PKGBUILD)
Deleted:
python-ipdb/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 56 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-22 15:51:10 UTC (rev 163142)
+++ PKGBUILD 2016-02-22 15:51:25 UTC (rev 163143)
@@ -1,38 +0,0 @@
-# $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.3
-pkgrel=1
-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}.tar.gz")
-md5sums=('6cf953a17d276bf56788392460585583')
-
-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}
-}
Copied: python-ipdb/repos/community-any/PKGBUILD (from rev 163142, python-ipdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-22 15:51:25 UTC (rev 163143)
@@ -0,0 +1,56 @@
+# $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.9.0
+pkgrel=1
+pkgdesc="IPython-enabled pdb"
+url="http://pypi.python.org/pypi/ipdb"
+makedepends=('python-setuptools' 'python2-setuptools' 'ipython' 'ipython2' 'git')
+arch=("any")
+license=("BSD")
+source=("git+https://github.com/gotcha/ipdb.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a ipdb{,-py2}
+}
+
+build() {
+ cd "$srcdir"/ipdb
+ python setup.py build
+
+ cd "$srcdir"/ipdb-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/ipdb
+ python setup.py test
+
+ cd "$srcdir"/ipdb-py2
+ python2 setup.py test
+}
+
+package_python-ipdb() {
+ depends=("ipython")
+
+ cd "$srcdir"/ipdb
+ 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 "$srcdir"/ipdb-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
+}
More information about the arch-commits
mailing list