void-packages/srcpkgs/python3-hjson/template

20 lines
612 B
Bash

# Template file for 'python3-hjson'
pkgname=python3-hjson
version=3.1.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="User interface for JSON"
maintainer="RinsedSloth <afernandezh@protonmail.com>"
license="MIT"
homepage="https://github.com/hjson/hjson-py"
distfiles="${PYPI_SITE}/h/hjson/hjson-${version}.tar.gz"
checksum=55af475a27cf83a7969c808399d7bccdec8fb836a07ddbd574587593b9cdcf75
make_check=no # pypi doesn't have test assets, github doesn't have release tag
post_install() {
vlicense LICENSE.txt
rm -r ${DESTDIR}/${py3_sitelib}/hjson/tests
}