diff options
author | Will Handley | 2017-11-02 21:46:14 +0000 |
---|---|---|
committer | Will Handley | 2017-11-02 21:46:14 +0000 |
commit | e48c9b0c9da372fa565b5eee591dbeb029410525 (patch) | |
tree | 78222c74674f978c137d35ccd4292b9ebe06bee1 | |
download | aur-e48c9b0c9da372fa565b5eee591dbeb029410525.tar.gz |
Added src
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8732d905a9f7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Thu Nov 2 21:45:59 UTC 2017 +pkgbase = python-getdist-git + pkgdesc = MCMC sample analysis, kernel densities, plotting, and GUI + pkgver = r112.de5e238 + pkgrel = 1 + url = https://github.com/cmbant/getdist + arch = any + makedepends = git + makedepends = python-setuptools + depends = python-numpy + depends = python-matplotlib + depends = python-six + depends = python-scipy + depends = python-pyside + depends = python-pandas + provides = python-getdist + conflicts = python-getdist + source = python-getdist::git+https://github.com/cmbant/getdist.git + md5sums = SKIP + +pkgname = python-getdist-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b836d64513c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) +_pkgname=getdist +pkgname=python-$_pkgname-git +pkgver=r112.de5e238 +pkgrel=1 +pkgdesc="MCMC sample analysis, kernel densities, plotting, and GUI" +arch=('any') +url="https://github.com/cmbant/getdist" +license=() +groups=() +depends=('python-numpy' 'python-matplotlib' 'python-six' 'python-scipy' 'python-pyside' 'python-pandas') +makedepends=('git' 'python-setuptools') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=("${pkgname%-git}::git+$url.git") +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-git}" + python setup.py install --root="$pkgdir/" --optimize=1 +} |