28 lines
784 B
Bash
28 lines
784 B
Bash
# Template file for 'python-snappy'
|
|
pkgname=python-snappy
|
|
version=0.5.2
|
|
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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/andrix/python-snappy"
|
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=2ce83e44587adbc7239589048d660a92f899eb45af4e48e73092192a8b0f0789
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-snappy_package() {
|
|
pycompile_module="snappy"
|
|
short_desc="${pkgname/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|