void-packages/srcpkgs/python-envdir/template

25 lines
620 B
Bash

# Template file for 'python-envdir'
pkgname=python-envdir
version=0.7
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
checkdepends="python-pytest"
depends="python-setuptools"
short_desc="A Python2 port of daemontools' envdir"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/jezdez/envdir"
distfiles="${PYPI_SITE}/e/envdir/envdir-${version}.tar.gz"
checksum=296ea3b651c429a31465684f03fef52cd580427acba5d0351009180740924009
noarch=yes
do_check() {
pytest2
}
post_install() {
vlicense "${FILESDIR}"/LICENSE
}