void-packages/srcpkgs/python3-sphinxcontrib/template

19 lines
532 B
Bash

# Template file for 'python3-sphinxcontrib'
pkgname=python3-sphinxcontrib
version=1.0
revision=7
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
}