From 6162ca9a4434c4b6bd536b71800672c2bc0ccf0c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 23 Apr 2016 23:44:01 +0200 Subject: [PATCH] python-Sphinx: update to 1.4.1 --- srcpkgs/python-Sphinx/template | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python-Sphinx/template b/srcpkgs/python-Sphinx/template index e62305b9a48..17e97fa3645 100644 --- a/srcpkgs/python-Sphinx/template +++ b/srcpkgs/python-Sphinx/template @@ -1,6 +1,6 @@ # Template file for 'python-Sphinx' pkgname=python-Sphinx -version=1.3.6 +version=1.4.1 revision=1 noarch=yes wrksrc="Sphinx-${version}" @@ -10,23 +10,20 @@ hostmakedepends=" python-setuptools python3.4-setuptools python-docutils python3.4-docutils python-Jinja2 python3.4-Jinja2 python-Pygments python3.4-Pygments python-six python3.4-six python-Babel python3.4-Babel python-alabaster - python3.4-alabaster python-sphinx_rtd_theme python3.4-sphinx_rtd_theme - python-snowballstemmer python3.4-snowballstemmer" + python3.4-alabaster python-snowballstemmer python3.4-snowballstemmer + python-imagesize python3.4-imagesize" makedepends="${hostmakedepends}" depends=" python-setuptools python-docutils python-Jinja2 python-Pygments python-six - python-Babel python-alabaster python-sphinx_rtd_theme python-snowballstemmer" + python-Babel python-alabaster python-snowballstemmer python-imagesize" pycompile_module="sphinx" short_desc="Python2 documentation generator" maintainer="Alessio Sergi " homepage="http://sphinx-doc.org/" license="2-clause-BSD" distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz" -checksum=0b3be9221220af36090d139192347bb5f42b13401e4c53a4de8f5329a7a3ff8a +checksum=c6871a784d24aba9270b6b28541537a57e2fcf4d7c799410eba18236bc76d6bc -pre_build() { - sed -i '/^#!/d' sphinx/pycode/pgen2/token.py -} post_install() { for f in ${DESTDIR}/usr/bin/*; do cp -f ${f}{,3.4} @@ -39,8 +36,8 @@ python3.4-Sphinx_package() { noarch=yes depends=" python3.4-setuptools python3.4-docutils python3.4-Jinja2 python3.4-Pygments - python3.4-six python3.4-Babel python3.4-alabaster python3.4-sphinx_rtd_theme - python3.4-snowballstemmer" + python3.4-six python3.4-Babel python3.4-alabaster python3.4-snowballstemmer + python3.4-imagesize" pycompile_version="3.4" pycompile_module="sphinx" short_desc="${short_desc/Python2/Python3.4}"