31 lines
938 B
Bash
31 lines
938 B
Bash
# Template file for 'python-sphinxcontrib-websupport'
|
|
pkgname=python-sphinxcontrib-websupport
|
|
version=1.1.2
|
|
revision=1
|
|
archs=noarch
|
|
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=1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-sphinxcontrib-websupport_package() {
|
|
archs=noarch
|
|
depends="python3-sphinxcontrib"
|
|
pycompile_module="sphinxcontrib/websupport"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|