[arch-commits] Commit in sagemath-doc/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jan 14 12:13:05 UTC 2017
Date: Saturday, January 14, 2017 @ 12:13:04
Author: arojas
Revision: 207326
Use sphinx 1.4 to fix reference manual build
Modified:
sagemath-doc/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-14 12:07:17 UTC (rev 207325)
+++ PKGBUILD 2017-01-14 12:13:04 UTC (rev 207326)
@@ -4,15 +4,18 @@
pkgbase=sagemath-doc
pkgname=(sagemath-doc sagemath-src)
pkgver=7.5
-pkgrel=1
+pkgrel=2
arch=(any)
url="http://www.sagemath.org"
license=(GPL)
makedepends=(sagemath sage-notebook python2-pyzmq python2-pillow python2-docutils
- python2-jupyter_client python2-pkgconfig cython2 python2-sphinx thebe)
+ python2-jupyter_client python2-pkgconfig cython2 thebe) # python2-sphinx
+makedepends+=(python2-imagesize python2-sphinx-alabaster-theme) # remove when we can use system sphinx again
source=("$pkgbase-$pkgver.tar.gz::https://github.com/sagemath/sage/archive/$pkgver.tar.gz"
+ "https://pypi.io/packages/source/S/Sphinx/Sphinx-1.4.9.tar.gz"
package.patch disable-fes.patch docbuild_main.patch is-package-installed.patch ecm-7.patch)
md5sums=('bff1fb8793ebc2934d14cf1efdcfbea3'
+ '6c7472d3630835113ee9cc251cc36c31'
'ccfd5b1bc4796f414f1531be52504dd7'
'06a67e611d10aa2381efe1f08ea4ffd9'
'f3bf3fa4e11e5af2bd0573cf2620e1f8'
@@ -45,8 +48,9 @@
# use python2
sed -e 's|cython %s %s|cython2 %s %s|' -e 's|python setup.py|python2 setup.py|' -i src/sage/misc/cython.py
- mkdir local-python
+ mkdir -p local-python
ln -sr src/sage_setup local-python
+ cp -r "$srcdir"/Sphinx-1.4.9/* local-python
}
build() {
More information about the arch-commits
mailing list