summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Lee2015-10-16 19:03:57 -0700
committerAntony Lee2015-10-16 19:03:57 -0700
commit4f9d3124b1c47e178607cf32699f4b2da609bc6b (patch)
treef71c0f79379f4065770dbfcc8a94e1859b5ed539
downloadaur-4f9d3124b1c47e178607cf32699f4b2da609bc6b.tar.gz
Initial commit.
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c7697c7b413
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python-corner
+ pkgdesc = Make some beautiful corner plots of samples
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/dfm/corner.py
+ arch = any
+ license = BSD
+ depends = python-matplotlib
+ source = https://pypi.python.org/packages/source/c/corner/corner-1.0.0.tar.gz
+ md5sums = 608aaf1afa65dbd55ea52c48302b2b91
+
+pkgname = python-corner
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..afa01e8b96b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Antony Lee <anntzer dot lee at gmail dot com>
+
+_pyname=corner
+pkgname=python-$_pyname
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Make some beautiful corner plots of samples'
+url="https://github.com/dfm/corner.py"
+depends=('python-matplotlib')
+license=('BSD')
+arch=('any')
+source=("https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz")
+md5sums=('608aaf1afa65dbd55ea52c48302b2b91')
+
+build() {
+ cd $srcdir/$_pyname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$_pyname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}