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