diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-15 12:06:24 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-15 12:08:12 +0000 |
commit | 1a84693a8922fa32d0394e7204aad31a6ae6691e (patch) | |
tree | 814e8822ff9485c385e77e192844c9857638c305 /testing/py-gnuplot | |
parent | 038af385b95523de2f6ae1833c574cd40e0ecc9d (diff) | |
download | aports-1a84693a8922fa32d0394e7204aad31a6ae6691e.tar.bz2 aports-1a84693a8922fa32d0394e7204aad31a6ae6691e.tar.xz |
testing/py-gnuplot: new aport
Diffstat (limited to 'testing/py-gnuplot')
-rw-r--r-- | testing/py-gnuplot/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-gnuplot/APKBUILD b/testing/py-gnuplot/APKBUILD new file mode 100644 index 0000000000..6e7c735e21 --- /dev/null +++ b/testing/py-gnuplot/APKBUILD @@ -0,0 +1,41 @@ +# 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" +license="LGPL" +depends="python py-numpy gnuplot" +depends_dev="" +makedepends="$depends_dev python-dev" +install="" +subpackages="" +source="saveas-http://prdownloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz?download/$_pkgname-$pkgver.tar.gz" + +_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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python 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" |