void-packages/srcpkgs/python3-snappy/template

23 lines
691 B
Bash

# Template file for 'python3-snappy'
pkgname=python3-snappy
_pkgname=python-snappy
version=0.6.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel snappy-devel python3-cffi libffi-devel"
depends="python3"
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=b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}