[arch-commits] Commit in python-http-parser/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Jul 2 13:22:36 UTC 2018
Date: Monday, July 2, 2018 @ 13:22:36
Author: eschwartz
Revision: 349723
upgpkg: python-http-parser 0.8.3-3
python 3.7 rebuild
make cython actually run, thus fixing build errors on python 3.7
Modified:
python-http-parser/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-02 13:20:59 UTC (rev 349722)
+++ PKGBUILD 2018-07-02 13:22:36 UTC (rev 349723)
@@ -4,17 +4,18 @@
pkgbase=python-http-parser
pkgname=('python-http-parser' 'python2-http-parser')
pkgver=0.8.3
-pkgrel=2
+pkgrel=3
pkgdesc="HTTP request/response parser for Python"
arch=('x86_64')
license=('MIT')
url="http://github.com/benoitc/http-parser"
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'git')
checkdepends=('python-pytest' 'python2-pytest')
source=("git+https://github.com/benoitc/http-parser.git#tag=$pkgver")
sha512sums=('SKIP')
prepare() {
+ rm http-parser/http_parser/parser.c
cp -a http-parser{,-py2}
}
@@ -28,7 +29,7 @@
check() {
cd "$srcdir/http-parser"
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" \
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" \
py.test testing/
cd "$srcdir/http-parser-py2"
More information about the arch-commits
mailing list