[arch-commits] Commit in python-sphinx/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Jul 9 17:15:41 UTC 2015
Date: Thursday, July 9, 2015 @ 19:15:41
Author: arojas
Revision: 136600
Also apply the patch to python2 version
Modified:
python-sphinx/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-09 17:11:51 UTC (rev 136599)
+++ PKGBUILD 2015-07-09 17:15:41 UTC (rev 136600)
@@ -6,7 +6,7 @@
pkgbase=python-sphinx
pkgname=('python-sphinx' 'python2-sphinx')
pkgver=1.3.1
-pkgrel=8
+pkgrel=9
arch=('any')
url='http://sphinx.pocoo.org/'
license=('BSD')
@@ -37,6 +37,11 @@
'103a559a4e4a17d4dd9c3e2342486197')
prepare() {
+ # https://github.com/sphinx-doc/sphinx/pull/1892
+ pushd Sphinx-$pkgver
+ patch -p1 -i "$srcdir"/4c2f693cbf7ec40448e7237383880d701ede6c88.patch
+ popd
+
# souce duplication is required because makefile modify source code
# setyp.py --build tricks don't works well
cp -a Sphinx-$pkgver Sphinx-${pkgver}2
@@ -46,10 +51,6 @@
# change sphinx-binaries name in source code
find Sphinx-${pkgver}2 -type f -name '*.py' -exec \
sed -ri 's,(sphinx-(:?build|apidoc|autogen|quickstart)),\12,' {} \;
-
- # https://github.com/sphinx-doc/sphinx/pull/1892
- cd Sphinx-$pkgver
- patch -p1 -i "$srcdir"/4c2f693cbf7ec40448e7237383880d701ede6c88.patch
}
build() {
More information about the arch-commits
mailing list