void-packages/srcpkgs/python3-sphinxcontrib/template
2021-10-09 08:00:38 -04:00

18 lines
532 B
Bash

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