[arch-commits] Commit in python2-faulthandler/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Apr 24 17:11:21 UTC 2018
Date: Tuesday, April 24, 2018 @ 17:11:20
Author: felixonmars
Revision: 317594
archrelease: copy trunk to community-x86_64
Added:
python2-faulthandler/repos/community-x86_64/PKGBUILD
(from rev 317593, python2-faulthandler/trunk/PKGBUILD)
Deleted:
python2-faulthandler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++----------------------------------
1 file changed, 33 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-24 17:10:54 UTC (rev 317593)
+++ PKGBUILD 2018-04-24 17:11:20 UTC (rev 317594)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
-
-pkgname=python2-faulthandler
-pkgver=3.0
-pkgrel=1
-pkgdesc="Display the Python traceback on a crash"
-arch=('x86_64')
-url="https://pypi.python.org/pypi/faulthandler/"
-license=('BSD')
-depends=('python2')
-makedepends=('python2-setuptools')
-source=("https://pypi.io/packages/source/f/faulthandler/faulthandler-$pkgver.tar.gz"
- https://github.com/vstinner/faulthandler/commit/67b661ebdbbf4067bd173af4d61ba815b9d49616.patch)
-sha512sums=('9e31682338e572e77e22a510637877c3e27440bc451854a898c5e58238d28a1bbf824cb2b44d1f1f11d8a4f491ddc299982a3d452eebec38bc2a03a824bac392'
- 'c34bee68fbf3066ce2bccc85118c1a55090a550d154bdc34d80340067678b38f1bf820d5d6220a436c871a6874b6613e85688a00a52721286ae55ee0bc839786')
-
-prepare() {
- cd faulthandler-$pkgver
- patch -p1 -i ../67b661ebdbbf4067bd173af4d61ba815b9d49616.patch
-}
-
-build() {
- cd faulthandler-$pkgver
- python2 setup.py build
-}
-
-check() {
- cd faulthandler-$pkgver
- echo -e "import site\nsite.addsitedir('$PWD/build/lib.linux-$CARCH-2.7')" > sitecustomize.py
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 tests.py
- rm sitecustomize.py
-}
-
-package() {
- cd 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 317593, python2-faulthandler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-24 17:11:20 UTC (rev 317594)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
+
+pkgname=python2-faulthandler
+pkgver=3.1
+pkgrel=1
+pkgdesc="Display the Python traceback on a crash"
+arch=('x86_64')
+url="https://pypi.python.org/pypi/faulthandler/"
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/f/faulthandler/faulthandler-$pkgver.tar.gz")
+sha512sums=('fb133e7c1a8e2c611d9bcfa4d4b6ade92fb638ac60d12701d6bf5320f6a616e3e1b5f3b543f3e3c62f71e26167e2bdd17dfb4741bf758b7052286e5bc19faa59')
+
+build() {
+ cd faulthandler-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd faulthandler-$pkgver
+ echo -e "import site\nsite.addsitedir('$PWD/build/lib.linux-$CARCH-2.7')" > sitecustomize.py
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 tests.py
+ rm sitecustomize.py
+}
+
+package() {
+ cd 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