diff options
Diffstat (limited to 'community/py3-matplotlib')
| -rw-r--r-- | community/py3-matplotlib/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-matplotlib/APKBUILD b/community/py3-matplotlib/APKBUILD new file mode 100644 index 0000000000..7855d03c10 --- /dev/null +++ b/community/py3-matplotlib/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Isaac Dunham <ibid.ag@gmail.com> +# Maintainer: Isaac Dunham <ibid.ag@gmail.com> +pkgname=py3-matplotlib +_pkgname=matplotlib +pkgver=3.1.3 +pkgrel=0 +pkgdesc="Python3 library for plots" +url="https://matplotlib.org" +arch="all" +license="Python-2.0" +depends="py3-numpy py3-dateutil py3-parsing py3-tz py3-cycler py3-cairo py3-kiwisolver + python3-tkinter" +makedepends="python3-dev gfortran py3-numpy-dev freetype-dev + libpng-dev tk-dev py3-setuptools" +checkdepends="py3-pytest xvfb" +source="$_pkgname-$pkgver.tar.gz::https://github.com/matplotlib/$_pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" +# matplotlib provides unit tests, but they need to be run post installation :-( +options="!check" + +replaces="py-matplotlib" # Backwards compatibility +provides="py-matplotlib=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="d233a18449eac4c42ecc485d0df0c15e1e306f3945e5476b11b715d6bc190ca6f1c22e7d4b16d6c93c8a569e1c43b68b583339f0921f237a9920c7369854a09e matplotlib-3.1.3.tar.gz" |
