python-snappy: remove do_check

- tests are broken and need more work
- cffi is only required for PyPy
- remove unnecessary depends (!noarch)
This commit is contained in:
Alessio Sergi 2018-05-25 12:15:56 +02:00
parent db2fbbbf40
commit 8cb3cc7085

View file

@ -5,9 +5,7 @@ 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-3-Clause"
@ -15,10 +13,6 @@ homepage="https://github.com/andrix/python-snappy"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2ce83e44587adbc7239589048d660a92f899eb45af4e48e73092192a8b0f0789
do_check() {
nosetest
}
post_install() {
vlicense LICENSE
}
@ -26,7 +20,6 @@ post_install() {
python3-snappy_package() {
pycompile_module="snappy"
short_desc="${pkgname/Python2/Python3}"
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE