summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc11c0405c36917b67916ae83a1d6b793fa2416f (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
32
33
_name=plotnine
pkgname=python-$_name
pkgver=0.6.0
pkgrel=1
pkgdesc='A grammar of graphics for python'
arch=(any)
url="https://github.com/has2k1/$_name"
license=(GPL2)
depends=(
	python
	'python-mizani>=0.5.2'
	'python-matplotlib>=3.0.0'
	python-numpy
	'python-scipy>=1.0.0'
	'python-patsy>=0.4.1'
	'python-statsmodels>=0.8.0'
	'python-pandas>=0.23.4'
	'python-descartes>=1.1.0'
)
makedepends=(python-pip)
optdepends=(
	'python-scikit-learn: gaussian process smoothing, kernel density implementation'
	'python-scikit-misc: loess smooting'
)
_pyarch=py3
_wheel="$_name-$pkgver-$_pyarch-none-any.whl"
source=("https://files.pythonhosted.org/packages/$_pyarch/${_name::1}/$_name/$_wheel")
noextract=("$_wheel")
sha256sums=('c271d08edf276f6be09951a4544a1116fc7aa6bc68cadef1b05e29c26ff5f683')

package() {
	pip install --compile --no-deps --ignore-installed --root="$pkgdir" "$_wheel"
}