Last active
February 9, 2018 17:54
-
-
Save thrasibule/f1a804f984ada6f12b37e1be30bbcbec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Nissar Chababy <funilrys at outlook dot com> | |
# Ex-Maintainer: David Manouchehri <manouchehri@riseup.net> | |
# Contributor: Vladimir Tsanev <tsachev@gmail.com> | |
# Contributor: Andrew Reed <reed.996@osu.edu> | |
pkgname=python-lz4 | |
_pkgname=lz4 | |
pkgver=0.21.6 | |
pkgrel=1 | |
pkgdesc="LZ4 Bindings for Python" | |
arch=('x86_64') | |
url="https://pypi.python.org/pypi/lz4" | |
license=('BSD') | |
makedepends=('python-distribute' 'python-setuptools') | |
depends=('python' 'python-deprecation') | |
checkdepends=('python-pytest') | |
source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") | |
sha256sums=('7c1e9908e6aa3a4f15ddacd82cdbd0d029e826c75df3205abd382d0168fd970f') | |
package() { | |
cd $srcdir/$_pkgname-$pkgver | |
python setup.py install --root=$pkgdir || return 1 | |
} | |
check() { | |
cd $srcdir/$_pkgname-$pkgver | |
python setup.py build_ext --inplace | |
pytest | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless you can explain/fix me the following, I'm not going to merge this ...