[arch-commits] Commit in python2-faulthandler/repos (4 files)

Felix Yan fyan at archlinux.org
Tue Oct 27 07:29:27 UTC 2015


    Date: Tuesday, October 27, 2015 @ 08:29:27
  Author: fyan
Revision: 145076

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python2-faulthandler/repos/community-i686/
  python2-faulthandler/repos/community-i686/PKGBUILD
    (from rev 145075, python2-faulthandler/trunk/PKGBUILD)
  python2-faulthandler/repos/community-x86_64/
  python2-faulthandler/repos/community-x86_64/PKGBUILD
    (from rev 145075, python2-faulthandler/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: python2-faulthandler/repos/community-i686/PKGBUILD (from rev 145075, python2-faulthandler/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-10-27 07:29:27 UTC (rev 145076)
@@ -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"
+}

Copied: python2-faulthandler/repos/community-x86_64/PKGBUILD (from rev 145075, python2-faulthandler/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-10-27 07:29:27 UTC (rev 145076)
@@ -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"
+}



More information about the arch-commits mailing list