summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49de992c430e02f6278725222666cc1b80069b5b (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
_name=mizani
pkgname=python-$_name
pkgver=0.5.3
pkgrel=1
pkgdesc='Scales for python'
arch=(any)
url="https://github.com/has2k1/$_name"
license=(BSD)
depends=(
	python
	python-numpy
	'python-pandas>=0.23.4'
	python-matplotlib
	python-palettable
)
_pyarch=py2.py3
_wheel="${_name/-/_}-$pkgver-$_pyarch-none-any.whl"
source=("https://files.pythonhosted.org/packages/$_pyarch/${_name::1}/$_name/$_wheel")
sha256sums=('dbb700cac139a47d3edd4eefa7646bd6415e83df48b369cf791ae674cc138a01')
noextract=("$_wheel")

package() {
	local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages"
	mkdir -p "$site"
	unzip "$_wheel" -d "$site"
}