void-packages/srcpkgs/python-sphinx-rtd-theme/template

29 lines
865 B
Bash
Raw Normal View History

# Template file for 'python-sphinx-rtd-theme'
pkgname=python-sphinx-rtd-theme
version=0.1.7
revision=1
noarch=yes
wrksrc="sphinx_rtd_theme-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="sphinx_rtd_theme"
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=9a490c861f6cf96a0050c29a92d5d1e01eda02ae6f50760ad5c96a327cdf14e8
python3.4-sphinx-rtd-theme_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="sphinx_rtd_theme"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}