void-packages/srcpkgs/python-sphinxcontrib-websup.../template

32 lines
934 B
Bash

# Template file for 'python-sphinxcontrib-websupport'
pkgname=python-sphinxcontrib-websupport
version=1.1.0
revision=1
noarch=yes
wrksrc="sphinxcontrib-websupport-${version}"
build_style=python-module
pycompile_module="sphinxcontrib/websupport"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-sphinxcontrib"
short_desc="Sphinx API for Web Apps (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://sphinx-doc.org/"
license="BSD-2-Clause"
distfiles="${PYPI_SITE}/s/sphinxcontrib-websupport/sphinxcontrib-websupport-${version}.tar.gz"
checksum=9de47f375baf1ea07cdb3436ff39d7a9c76042c10a769c52353ec46e4e8fc3b9
post_install() {
vlicense LICENSE
}
python3-sphinxcontrib-websupport_package() {
noarch=yes
depends="python3-sphinxcontrib"
pycompile_module="sphinxcontrib/websupport"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}