void-packages/srcpkgs/python3-snappy/template

23 lines
699 B
Bash

# Template file for 'python3-snappy'
pkgname=python3-snappy
_pkgname=python-snappy
version=0.5.4
revision=4
wrksrc=$_pkgname-$version
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel snappy-devel python3-cffi libffi-devel"
short_desc="Python library for the snappy compression library from Google"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/andrix/python-snappy"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}