summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94f42d0eeaeaf65f60e3f9246a56ef70b85b0658 (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
34
_name=plotnine
pkgname=python-$_name
pkgver=0.8.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.7.3'
	'python-matplotlib>=3.1.1'
	'python-numpy>=1.19.0'
	'python-scipy>=1.5.0'
	'python-patsy>=0.5.1'
	'python-statsmodels>=0.12.1'
	'python-pandas>=1.1.0'
	'python-descartes>=1.1.0'
)
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=('3c938093e20c6e68d1ee4591967a2e5093d185046bad88af00af81bf14215549')

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