summaryrefslogtreecommitdiff
path: root/pcr/python-lz4/PKGBUILD
blob: 8a3280f9a4c88e10fb3edb9f4ec5404ca86827f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer (AUR): Nissar Chababy <funilrys at outlook dot com>
# Ex-Maintainer (AUR): David Manouchehri <manouchehri@riseup.net>
# Contributor (AUR): Vladimir Tsanev <tsachev@gmail.com>
# Contributor (AUR): Andrew Reed <reed.996@osu.edu>

# parabola changes and rationale:
#  - added missing makedepends: python-setuptools-scm
#  - added split package for python2-lz4

pkgname=(python-lz4 python2-lz4)
pkgver=0.11.1
pkgrel=1
pkgdesc="LZ4 Bindings for Python"
arch=('any')
url="https://pypi.python.org/pypi/lz4"
license=('BSD')
makedepends=('python-distribute' 'python2-distribute' 'python-setuptools-scm' 'python2-setuptools-scm')
source=("https://pypi.python.org/packages/3c/00/668df8820cfafe54257a1e2e723c9bfcd1bd88f5ffe250b6fc6c0cef0fd1/lz4-$pkgver.tar.gz")
md5sums=('2a7d1d8669046c380ad69dbd9db4db94')

package_python-lz4() {
  depends=('python3')
  cd $srcdir/lz4-$pkgver
  python3 setup.py install --root=$pkgdir
}

package_python2-lz4() {
  depends=('python2')
  cd $srcdir/lz4-$pkgver
  python2 setup.py install --root=$pkgdir
}