mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
need py-numpy : py-cpuinfo, websockify, py-gnuplot, py-scipy, py-fonttools, py-matplotlib, py-opengl need openblas : harminv no jit support : texlive no arch support : tcc, nim, perl-sys-syscall radare2 : need disabling debugger thermald : seems to be intel-only thing lazperf : io tests hang
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py-gnuplot
|
|
_pkgname=gnuplot-py
|
|
pkgver=1.8
|
|
pkgrel=0
|
|
pkgdesc="A Python interface to the gnuplot plotting program."
|
|
url="http://gnuplot-py.sourceforge.net"
|
|
arch="noarch !s390x"
|
|
license="LGPL"
|
|
depends="python2 py-numpy gnuplot"
|
|
depends_dev=""
|
|
makedepends="$depends_dev python2-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="$_pkgname-$pkgver.tar.gz::http://prdownloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz?download"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="abd6f571e7aec68ae7db90a5217cd5b1 gnuplot-py-1.8.tar.gz"
|
|
sha256sums="ab339be7847d30a8acfd616f27b5021bfde0999b7bf2d68400fbe62c53106e21 gnuplot-py-1.8.tar.gz"
|
|
sha512sums="748dc95ea53acd362f67c821a3cc7cf23b6329c2dd13c130c91e1c9f89afe1ffd84619ed321923c65455adf86ee58976dd6dd187881ee3ede5e0f5f551fb027d gnuplot-py-1.8.tar.gz"
|