blob: 3c71d59e3bb48d9a472866de2b25657f78539b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: 0e4ef622 <0e4ef622 at gmail.com>
pkgname=python-gnuplotlib
_name=${pkgname#python-}
pkgver=0.46
pkgrel=1
pkgdesc="gnuplot for numpy"
arch=('any')
url="https://github.com/dkogan/gnuplotlib"
license=('LGPL-3.0-or-later')
depends=('python-numpy' 'python-numpysane' 'python')
makedepends=('python-setuptools' 'python-build' 'python-installer')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('e713b73a64eb1a26af45870ee2de84c217e24d5a9f47365c6116afc315da6af4')
build() {
cd $srcdir/$_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $srcdir/$_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|