[arch-commits] Commit in python-sphinx/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 07:07:12 UTC 2020
Date: Wednesday, November 11, 2020 @ 07:07:12
Author: foutrelis
Revision: 749988
Fix test failure with pygments 2.7
Modified:
python-sphinx/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 06:58:29 UTC (rev 749987)
+++ PKGBUILD 2020-11-11 07:07:12 UTC (rev 749988)
@@ -28,12 +28,21 @@
'texlive-fontsextra' 'texlive-latexextra')
optdepends=('imagemagick: for ext.imgconverter'
'texlive-latexextra: for generation of PDF documentation')
-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}
+ $pkgname-pygments-2.7.patch::https://github.com/sphinx-doc/sphinx/commit/85b24a2e88ea.patch)
sha256sums=('321d6d9b16fa381a5306e5a0b76cd48ffbc588e6340059a729c6fdd66087e0e8'
- 'SKIP')
+ 'SKIP'
+ '6b790f4b3b540924a6a7861452fcbac8123f1e0a6c1765f5caafd7cb94fcecec')
validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E' # Takeshi KOMIYA
'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki Shimizukawa
+prepare() {
+ cd Sphinx-$pkgver
+
+ # Fix test failure with pygments 2.7
+ patch -Np1 -i ../$pkgname-pygments-2.7.patch
+}
+
build() {
cd Sphinx-$pkgver
make build
More information about the arch-commits
mailing list