32 lines
876 B
Bash
32 lines
876 B
Bash
# Template file for 'python-sphinx_rtd_theme'
|
|
pkgname=python-sphinx_rtd_theme
|
|
version=0.4.2
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="sphinx_rtd_theme-${version}"
|
|
build_style=python-module
|
|
pycompile_module="sphinx_rtd_theme"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-Sphinx"
|
|
short_desc="ReadTheDocs.org theme for Sphinx (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/snide/sphinx_rtd_theme/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/s/sphinx_rtd_theme/sphinx_rtd_theme-${version}.tar.gz"
|
|
checksum=02f02a676d6baabb758a20c7a479d58648e0f64f13e07d1b388e9bb2afe86a09
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-sphinx_rtd_theme_package() {
|
|
noarch=yes
|
|
depends="python3-Sphinx"
|
|
pycompile_module="sphinx_rtd_theme"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|