void-packages/srcpkgs/python3-dill/template

24 lines
674 B
Bash

# Template file for 'python3-dill'
pkgname=python3-dill
version=0.3.6
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Serialize all of Python"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://dill.rtfd.io/"
distfiles="${PYPI_SITE}/d/dill/dill-${version}.tar.gz"
checksum=e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373
do_check() {
# "failing" in the output seems to be known https://github.com/uqfoundation/dill/issues/575
PYTHONPATH=build/lib python3 dill/tests/__main__.py
}
post_install() {
rm -r ${DESTDIR}/${py3_sitelib}/dill/tests
vlicense LICENSE
}