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:
@@ -5,9 +5,7 @@ revision=1
|
|||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="snappy"
|
pycompile_module="snappy"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
checkdepends="python-nose2 python-cffi"
|
|
||||||
makedepends="python-devel python3-devel snappy-devel"
|
makedepends="python-devel python3-devel snappy-devel"
|
||||||
depends="python"
|
|
||||||
short_desc="Python2 bindings for the snappy compression library from Google"
|
short_desc="Python2 bindings for the snappy compression library from Google"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
@@ -15,10 +13,6 @@ homepage="https://github.com/andrix/python-snappy"
|
|||||||
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=2ce83e44587adbc7239589048d660a92f899eb45af4e48e73092192a8b0f0789
|
checksum=2ce83e44587adbc7239589048d660a92f899eb45af4e48e73092192a8b0f0789
|
||||||
|
|
||||||
do_check() {
|
|
||||||
nosetest
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
@@ -26,7 +20,6 @@ post_install() {
|
|||||||
python3-snappy_package() {
|
python3-snappy_package() {
|
||||||
pycompile_module="snappy"
|
pycompile_module="snappy"
|
||||||
short_desc="${pkgname/Python2/Python3}"
|
short_desc="${pkgname/Python2/Python3}"
|
||||||
depends="python3"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user