python-Sphinx: update to 1.3.2

This commit is contained in:
Alessio Sergi 2015-11-30 23:53:53 +01:00
parent e1c39953e2
commit 038c445e17
1 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,9 @@
# Template file for 'python-Sphinx'
pkgname=python-Sphinx
version=1.3.1
revision=2
version=1.3.2
revision=1
noarch=yes
build_style=python-module
wrksrc="Sphinx-${version}"
python_versions="2.7 3.4"
hostmakedepends="
@ -21,7 +22,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://sphinx-doc.org/"
license="BSD"
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
checksum=1a6e5130c2b42d2de301693c299f78cc4bd3501e78b610c08e45efc70e2b5114
checksum=9f90fabc815fcb26ad4431432eef4872c4e07d18b17f3c9b26d1b2ea504cc9cb
pre_build() {
cp -a ${wrksrc} /tmp/sphinx-2.7
@ -29,8 +30,8 @@ pre_build() {
mv /tmp/sphinx-{2.7,3.4} ${wrksrc}
cd sphinx-3.4
sed -i 's|\(sphinx-.*\) =|\13 =|' setup.py
sed -ri "s,'(sphinx-(:?|all|apidoc|build|quickstart))','\13'," doc/conf.py
sed -i 's|\(sphinx-.*\) =|\13.4 =|' setup.py
sed -ri "s,'(sphinx-(:?|all|apidoc|build|quickstart))','\13.4'," doc/conf.py
sed -i 's,#! /usr/bin/env python,&3.4,' sphinx/pycode/pgen2/token.py
}
do_build() {
@ -60,9 +61,9 @@ python3.4-Sphinx_package() {
pycompile_module="sphinx"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/bin/sphinx-*3
vmove usr/bin/sphinx-*3.4
vmove usr/lib/python3.4
vmove usr/share/man/man1/sphinx-*3.1
vmove usr/share/man/man1/sphinx-*3.4.1
vlicense LICENSE
}
}