summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD27
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..28a3e6090e7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-emcee2
+ pkgdesc = Kick ass affine-invariant ensemble MCMC sampling
+ pkgver = 2.2.1
+ pkgrel = 1
+ url = http://dan.iel.fm/emcee
+ arch = any
+ license = BSD
+ depends = python-numpy
+ provides = python-emcee=2.2.1
+ conflicts = python-emcee
+ source = https://github.com/dfm/emcee/archive/v2.2.1.tar.gz
+ md5sums = 5958687736cf6296a9c632e46337ac5e
+
+pkgname = python-emcee2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0d6e3b36c63
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+src
+pkg
+*.src.tar.gz
+*.tar.gz
+*.tar.bz2
+*.part
+*.pkg.tar.xz
+*.log
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8bcfd09bd5d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Astro Benzene <universebenzene at sina dot com>
+# Contributor: George C. Privon <accounts5 at privon dot com>
+
+_pyname=emcee
+pkgname=python-${_pyname}2
+pkgver=2.2.1
+pkgrel=1
+pkgdesc='Kick ass affine-invariant ensemble MCMC sampling'
+url="http://dan.iel.fm/emcee"
+depends=('python-numpy')
+provides=("python-emcee=${pkgver}")
+conflicts=("python-emcee")
+license=('BSD')
+arch=('any')
+source=("https://github.com/dfm/emcee/archive/v$pkgver.tar.gz")
+md5sums=('5958687736cf6296a9c632e46337ac5e')
+
+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"
+}