# Template file for 'python-snappy' pkgname=python-snappy version=0.5.4 revision=1 build_style=python-module pycompile_module="snappy" hostmakedepends="python-setuptools python3-setuptools" makedepends="python-devel python3-devel snappy-devel" short_desc="Python2 bindings for the snappy compression library from Google" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/andrix/python-snappy" distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2 post_install() { vlicense LICENSE } python3-snappy_package() { pycompile_module="snappy" short_desc="${pkgname/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }