summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreschwartz2018-07-16 14:40:09 +0000
committersvntogit2018-07-16 14:40:09 +0000
commit1cfda3a241c7913f866eb0a859150e57d27c3502 (patch)
treeac9d7d24a6819a67f78ad69e8902d06ee0f436fd /PKGBUILD
parentdbafda3df34afe25e7489ad5cd0b25b548f8f88c (diff)
downloadaur-1cfda3a241c7913f866eb0a859150e57d27c3502.tar.gz
upgpkg: python-sphinx 1.7.5-3
Backport fix for bug that prevented python-recommonmark from being rebuilt. git-svn-id: file:///srv/repos/svn-community/svn@359855 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 05be03aca283..33150e4eeccc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase=python-sphinx
pkgname=('python-sphinx' 'python2-sphinx')
pkgver=1.7.5
-pkgrel=2
+pkgrel=3
arch=('any')
url='http://sphinx.pocoo.org/'
@@ -51,14 +51,19 @@ checkdepends=(
'imagemagick' 'librsvg'
)
-source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
+source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc}
+ "0001-Fix-5016-crashed-when-recommonmark.AutoStrictify-is-.patch")
validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E'
'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07')
md5sums=('478a4d94506febd4786f47cc8ae297bb'
- 'SKIP')
+ 'SKIP'
+ '546b6aeddcc76cb4eb6bf8ff9802bf36')
prepare() {
+ # https://github.com/sphinx-doc/sphinx/issues/5016
+ # https://github.com/rtfd/recommonmark/issues/109
+ patch -p1 -d Sphinx-$pkgver < 0001-Fix-5016-crashed-when-recommonmark.AutoStrictify-is-.patch
# souce duplication is required because makefile modify source code
# setyp.py --build tricks don't works well
cp -a Sphinx-$pkgver Sphinx-${pkgver}2