[arch-commits] Commit in python-webob/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Apr 25 13:03:33 UTC 2018
Date: Wednesday, April 25, 2018 @ 13:03:28
Author: felixonmars
Revision: 318008
upgpkg: python-webob 1.8.1-1
Modified:
python-webob/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-25 12:59:47 UTC (rev 318007)
+++ PKGBUILD 2018-04-25 13:03:28 UTC (rev 318008)
@@ -5,7 +5,7 @@
pkgbase='python-webob'
pkgname=('python-webob' 'python2-webob' 'python-webob-docs')
-pkgver=1.7.4
+pkgver=1.8.1
pkgrel=1
pkgdesc="WSGI request and response object"
arch=('any')
@@ -15,11 +15,12 @@
checkdepends=('python-pytest-runner' 'python2-pytest-runner')
optdepends=('python-webob-docs: documentation')
source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
-sha512sums=('43685daf6dbba5daa99e4fabfb930495b8c2bc976e968d93af7681284cc127d7012f8423b2986dd7daa10cbf7b3803aec442c1ef88102e16cadf07efe6714d1a')
+sha512sums=('9fceafa28f738ed6c934219ac28e9f62d756b436d1f0f309201796647fb828d65caa6de7a6582bf7b5c720993321c7dc76a216382564168e75475ce1fabdbeaf')
prepare() {
cp -a WebOb-$pkgver{,-py2}
cp -a WebOb-$pkgver{,-docs}
+ sed -i "s/pkg_resources.get_distribution('webob').version/'$pkgver'/" WebOb-$pkgver-docs/docs/conf.py
}
build() {
@@ -30,7 +31,8 @@
python2 setup.py build
cd "$srcdir"/WebOb-$pkgver-docs
- python setup.py build_sphinx
+ mkdir -p build/sphinx/html
+ PYTHONPATH="$PWD/src" make -C docs html
}
check() {
More information about the arch-commits
mailing list