python-docutils: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
9ce8c12b01
commit
c6662a1b82
2 changed files with 35 additions and 29 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-docutils'
|
# Template file for 'python-docutils'
|
||||||
pkgname=python-docutils
|
pkgname=python-docutils
|
||||||
version=0.12
|
version=0.12
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="docutils-${version}"
|
wrksrc="docutils-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="docutils"
|
pycompile_module="docutils"
|
||||||
short_desc="Python2 documentation utilities"
|
short_desc="Python2 documentation utilities"
|
||||||
|
@ -17,41 +16,47 @@ distfiles="${PYPI_SITE}/d/docutils/docutils-${version}.tar.gz"
|
||||||
checksum=c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa
|
checksum=c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
docutils:rst2html:/usr/bin/rst2html.py2.7
|
docutils:rst2html:/usr/bin/rst2html.py2
|
||||||
docutils:rst2latex:/usr/bin/rst2latex.py2.7
|
docutils:rst2latex:/usr/bin/rst2latex.py2
|
||||||
docutils:rst2man:/usr/bin/rst2man.py2.7
|
docutils:rst2man:/usr/bin/rst2man.py2
|
||||||
docutils:rst2odt:/usr/bin/rst2odt.py2.7
|
docutils:rst2odt:/usr/bin/rst2odt.py2
|
||||||
docutils:rst2odt_prepstyles:/usr/bin/rst2odt_prepstyles.py2.7
|
docutils:rst2odt_prepstyles:/usr/bin/rst2odt_prepstyles.py2
|
||||||
docutils:rst2pseudoxml:/usr/bin/rst2pseudoxml.py2.7
|
docutils:rst2pseudoxml:/usr/bin/rst2pseudoxml.py2
|
||||||
docutils:rst2s5:/usr/bin/rst2s5.py2.7
|
docutils:rst2s5:/usr/bin/rst2s5.py2
|
||||||
docutils:rst2xetex:/usr/bin/rst2xetex.py2.7
|
docutils:rst2xetex:/usr/bin/rst2xetex.py2
|
||||||
docutils:rst2xml:/usr/bin/rst2xml.py2.7
|
docutils:rst2xml:/usr/bin/rst2xml.py2
|
||||||
docutils:rstpep2html:/usr/bin/rstpep2html.py2.7"
|
docutils:rstpep2html:/usr/bin/rstpep2html.py2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.txt COPYING
|
vlicense COPYING.txt COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-docutils_package() {
|
python3-docutils_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
docutils:rst2html:/usr/bin/rst2html.py3.4
|
docutils:rst2html:/usr/bin/rst2html.py3
|
||||||
docutils:rst2latex:/usr/bin/rst2latex.py3.4
|
docutils:rst2latex:/usr/bin/rst2latex.py3
|
||||||
docutils:rst2man:/usr/bin/rst2man.py3.4
|
docutils:rst2man:/usr/bin/rst2man.py3
|
||||||
docutils:rst2odt:/usr/bin/rst2odt.py3.4
|
docutils:rst2odt:/usr/bin/rst2odt.py3
|
||||||
docutils:rst2odt_prepstyles:/usr/bin/rst2odt_prepstyles.py3.4
|
docutils:rst2odt_prepstyles:/usr/bin/rst2odt_prepstyles.py3
|
||||||
docutils:rst2pseudoxml:/usr/bin/rst2pseudoxml.py3.4
|
docutils:rst2pseudoxml:/usr/bin/rst2pseudoxml.py3
|
||||||
docutils:rst2s5:/usr/bin/rst2s5.py3.4
|
docutils:rst2s5:/usr/bin/rst2s5.py3
|
||||||
docutils:rst2xetex:/usr/bin/rst2xetex.py3.4
|
docutils:rst2xetex:/usr/bin/rst2xetex.py3
|
||||||
docutils:rst2xml:/usr/bin/rst2xml.py3.4
|
docutils:rst2xml:/usr/bin/rst2xml.py3
|
||||||
docutils:rstpep2html:/usr/bin/rstpep2html.py3.4"
|
docutils:rstpep2html:/usr/bin/rstpep2html.py3"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="docutils"
|
pycompile_module="docutils"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-docutils>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3.4
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.txt COPYING
|
vlicense COPYING.txt COPYING
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-docutils_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-docutils>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-docutils
Symbolic link
1
srcpkgs/python3-docutils
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-docutils
|
Loading…
Add table
Add a link
Reference in a new issue