[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Tue Oct 27 07:28:52 UTC 2015
Date: Tuesday, October 27, 2015 @ 08:28:52
Author: fyan
Revision: 145075
addpkg: python2-faulthandler 2.4-2
Added:
python2-faulthandler/
python2-faulthandler/repos/
python2-faulthandler/trunk/
python2-faulthandler/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: python2-faulthandler/trunk/PKGBUILD
===================================================================
--- python2-faulthandler/trunk/PKGBUILD (rev 0)
+++ python2-faulthandler/trunk/PKGBUILD 2015-10-27 07:28:52 UTC (rev 145075)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
+
+pkgname=python2-faulthandler
+pkgver=2.4
+pkgrel=2
+pkgdesc="Display the Python traceback on a crash"
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/faulthandler/"
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/f/faulthandler/faulthandler-$pkgver.tar.gz")
+md5sums=('110960933b0902334e8804eb4ea20750')
+
+build() {
+ cd "${srcdir}/faulthandler-${pkgver}"
+ python2 setup.py build
+}
+
+check() {
+ cd "${srcdir}/faulthandler-${pkgver}"
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 tests.py
+}
+
+package() {
+ cd "${srcdir}/faulthandler-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
Property changes on: python2-faulthandler/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list