void-packages/srcpkgs/python3-traitlets/template

25 lines
689 B
Bash

# Template file for 'python3-traitlets'
pkgname=python3-traitlets
version=4.3.3
revision=3
archs=noarch
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=d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7
do_check() {
pytest
}
post_install() {
vlicense COPYING.md LICENSE
}