diff options
author | Henry-Joseph Audéoud | 2019-03-08 18:48:42 +0100 |
---|---|---|
committer | Henry-Joseph Audéoud | 2019-03-08 18:48:42 +0100 |
commit | a723e2f603a54056c9e18b9eb09950bfbf77aa9f (patch) | |
tree | b31e87113d910def99abf43f89c4ed330bac438e | |
download | aur-python-brewer2mpl.tar.gz |
Initial PKGBUILD
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4c43c497086b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-brewer2mpl + pkgdesc = Connect colorbrewer2.org color maps to Python and matplotlib + pkgver = 1.4.1 + pkgrel = 1 + url = https://github.com/jiffyclub/brewer2mpl/wiki + arch = any + license = MIT + source = https://pypi.python.org/packages/source/b/brewer2mpl/brewer2mpl-1.4.1.tar.gz + md5sums = f8cd1fbb9f5d836a3a095b1ca9d58fc2 + +pkgname = python-brewer2mpl + depends = python + optdepends = python-matplotlib: get matplotlib color maps + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5f563c1cd27d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Kyle Meyer <kyle@kyleam.com> + +pkgbase=python-brewer2mpl +pkgname=python-brewer2mpl +_libname=${pkgbase/python-/} +pkgver=1.4.1 +pkgrel=1 +pkgdesc='Connect colorbrewer2.org color maps to Python and matplotlib' +arch=('any') +url='https://github.com/jiffyclub/brewer2mpl/wiki' +license=('MIT') +source=("https://pypi.python.org/packages/source/b/brewer2mpl/brewer2mpl-$pkgver.tar.gz") +md5sums=('f8cd1fbb9f5d836a3a095b1ca9d58fc2') + +package() { + depends=('python') + optdepends=('python-matplotlib: get matplotlib color maps') + cd "$srcdir/$_libname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} |