python-sphinx_rtd_theme: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
4eb5a10deb
commit
10ac492243
2 changed files with 14 additions and 9 deletions
|
@ -1,14 +1,12 @@
|
||||||
# Template file for 'python-sphinx_rtd_theme
|
# Template file for 'python-sphinx_rtd_theme
|
||||||
pkgname=python-sphinx_rtd_theme
|
pkgname=python-sphinx_rtd_theme
|
||||||
version=0.1.9
|
version=0.1.9
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="sphinx_rtd_theme-${version}"
|
wrksrc="sphinx_rtd_theme-${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"
|
||||||
replaces="python-sphinx-rtd-theme>=0"
|
|
||||||
pycompile_module="sphinx_rtd_theme"
|
pycompile_module="sphinx_rtd_theme"
|
||||||
short_desc="ReadTheDocs.org theme for Sphinx (Python2)"
|
short_desc="ReadTheDocs.org theme for Sphinx (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -17,13 +15,19 @@ license="MIT"
|
||||||
distfiles="${PYPI_SITE}/s/sphinx_rtd_theme/sphinx_rtd_theme-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/s/sphinx_rtd_theme/sphinx_rtd_theme-${version}.tar.gz"
|
||||||
checksum=273846f8aacac32bf9542365a593b495b68d8035c2e382c9ccedcac387c9a0a1
|
checksum=273846f8aacac32bf9542365a593b495b68d8035c2e382c9ccedcac387c9a0a1
|
||||||
|
|
||||||
|
python3-sphinx_rtd_theme_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="sphinx_rtd_theme"
|
||||||
|
replaces="python3.4-sphinx_rtd_theme>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-sphinx_rtd_theme_package() {
|
python3.4-sphinx_rtd_theme_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
build_style=meta
|
||||||
pycompile_version="3.4"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
pycompile_module="sphinx_rtd_theme"
|
depends="python3-sphinx_rtd_theme>=${version}_${revision}"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-sphinx_rtd_theme
Symbolic link
1
srcpkgs/python3-sphinx_rtd_theme
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-sphinx_rtd_theme
|
Loading…
Add table
Add a link
Reference in a new issue