New package: python-snappy-0.5.1.
This commit is contained in:
parent
103f57f482
commit
aba1a91205
2 changed files with 35 additions and 0 deletions
34
srcpkgs/python-snappy/template
Normal file
34
srcpkgs/python-snappy/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'python-snappy'
|
||||
pkgname=python-snappy
|
||||
version=0.5.1
|
||||
revision=1
|
||||
build_style=python-module
|
||||
pycompile_module="snappy"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
checkdepends="python-nose2 python-cffi"
|
||||
makedepends="python-devel python3-devel snappy-devel"
|
||||
depends="python"
|
||||
short_desc="Python2 bindings for the snappy compression library from Google"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="BSD"
|
||||
homepage="https://github.com/andrix/python-snappy"
|
||||
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=385fb216e7d1241f70c14c2bea3f042ec235caa65d708294f1ece50d3efa5de3
|
||||
|
||||
do_check() {
|
||||
nosetest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-snappy_package() {
|
||||
pycompile_module="snappy"
|
||||
short_desc="${pkgname/Python2/Python3}"
|
||||
depends="python3"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-snappy
Symbolic link
1
srcpkgs/python3-snappy
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-snappy
|
Loading…
Reference in a new issue