void-packages/srcpkgs/python3-traitlets/template

24 lines
676 B
Bash

# Template file for 'python3-traitlets'
pkgname=python3-traitlets
version=5.0.5
revision=2
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=178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396
do_check() {
pytest
}
post_install() {
vlicense COPYING.md LICENSE
}