summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2018-02-18 16:59:19 +0800
committerUniversebenzene2018-02-18 16:59:19 +0800
commit0aba30673bf249b32f803cd8898a5e5a27efb2cc (patch)
tree17561bab470d251f7d60738ba0749e1651a57dd2
downloadaur-0aba30673bf249b32f803cd8898a5e5a27efb2cc.tar.gz
Initial import 2.2.1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44220783785
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sun Feb 18 08:55:30 UTC 2018
+pkgbase = python2-emcee
+ pkgdesc = Kick ass affine-invariant ensemble MCMC sampling
+ pkgver = 2.2.1
+ pkgrel = 1
+ url = http://emcee.readthedocs.io/en/stable/
+ arch = any
+ license = MIT
+ makedepends = python2-setuptools
+ depends = python2
+ depends = python2-numpy
+ source = https://files.pythonhosted.org/packages/source/e/emcee/emcee-2.2.1.tar.gz
+ md5sums = cd3f7a6ff6a8124fed86afeea69b9cac
+
+pkgname = python2-emcee
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..89cdf261248
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Astro Benzene <universebenzene at sina dot com>
+pkgname=python2-emcee
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="Kick ass affine-invariant ensemble MCMC sampling"
+arch=('any')
+url="http://emcee.readthedocs.io/en/stable/"
+license=('MIT')
+depends=('python2' 'python2-numpy')
+makedepends=('python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/e/emcee/emcee-${pkgver}.tar.gz")
+md5sums=('cd3f7a6ff6a8124fed86afeea69b9cac')
+
+build () {
+ cd ${srcdir}/emcee-${pkgver}
+
+ python2 setup.py build
+}
+
+check(){
+ cd ${srcdir}/emcee-${pkgver}
+
+ python2 setup.py test
+}
+
+package() {
+ cd ${srcdir}/emcee-${pkgver}
+
+ install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ python2 setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
+}