diff options
author | Philipp A | 2019-10-15 14:17:54 +0200 |
---|---|---|
committer | Philipp A | 2019-10-15 14:17:54 +0200 |
commit | b5aee37f3625e9aa85dd964aee0c64a68d8d89d6 (patch) | |
tree | b309c00bd4aa2619ce9f0c3ccf3645497ade1458 /PKGBUILD | |
parent | fcea5697a109ddc1a173a9640215014a9ef6deda (diff) | |
download | aur-b5aee37f3625e9aa85dd964aee0c64a68d8d89d6.tar.gz |
no pip
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ _name=plotnine pkgname=python-$_name pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='A grammar of graphics for python' arch=(any) url="https://github.com/has2k1/$_name" @@ -17,7 +17,6 @@ depends=( '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' @@ -29,5 +28,7 @@ noextract=("$_wheel") sha256sums=('c271d08edf276f6be09951a4544a1116fc7aa6bc68cadef1b05e29c26ff5f683') package() { - pip install --compile --no-deps --ignore-installed --root="$pkgdir" "$_wheel" + local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" + mkdir -p "$site" + unzip "$_wheel" -d "$site" } |