void-packages/srcpkgs/python3-traitlets/template

24 lines
676 B
Bash

# Template file for 'python3-traitlets'
pkgname=python3-traitlets
version=5.0.4
revision=1
wrksrc="traitlets-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-decorator python3-ipython_genutils python3-six"
checkdepends="$depends python3-pytest"
short_desc="Configuration system for Python applications"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/traitlets"
distfiles="${PYPI_SITE}/t/traitlets/traitlets-${version}.tar.gz"
checksum=86c9351f94f95de9db8a04ad8e892da299a088a64fd283f9f6f18770ae5eae1b
do_check() {
pytest
}
post_install() {
vlicense COPYING.md LICENSE
}