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

32 lines
934 B
Bash
Raw Normal View History

# Template file for 'python-sphinxcontrib-websupport'
pkgname=python-sphinxcontrib-websupport
version=1.0.1
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="2-clause-BSD"
distfiles="${PYPI_SITE}/s/sphinxcontrib-websupport/sphinxcontrib-websupport-${version}.tar.gz"
checksum=7a85961326aa3a400cd4ad3c816d70ed6f7c740acd7ce5d78cd0a67825072eb9
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
}
}