void-packages/srcpkgs/python3-sphinxcontrib/template

20 lines
545 B
Bash

# Template file for 'python3-sphinxcontrib'
pkgname=python3-sphinxcontrib
version=1.0
revision=4
archs=noarch
create_wrksrc=yes
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Namespace package declaration for sphinxcontrib"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Public Domain"
homepage="https://www.voidlinux.org/"
do_install() {
vmkdir ${py3_sitelib}/sphinxcontrib
cat >${DESTDIR}/${py3_sitelib}/sphinxcontrib/__init__.py <<-EOF
__import__('pkg_resources').declare_namespace(__name__)
EOF
}