diff options
author | Will Handley | 2020-07-31 07:42:17 +0100 |
---|---|---|
committer | Will Handley | 2020-07-31 07:42:17 +0100 |
commit | 364e99060b541c348128635e9be79c2f5a565bb7 (patch) | |
tree | 3fbb888ab01de001e0eb8a84c38418bb875d4240 | |
download | aur-364e99060b541c348128635e9be79c2f5a565bb7.tar.gz |
Updated git repo
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb394366d7f1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = python-anesthetic-git + pkgdesc = nested sampling visualisation + pkgver = r319.2351380 + pkgrel = 1 + url = https://github.com/williamjameshandley/anesthetic + arch = any + license = MIT + makedepends = git + makedepends = python-setuptools + depends = python-numpy + depends = python-matplotlib + depends = python-scipy + depends = python-pandas + depends = python-fastkde + provides = python-anesthetic + conflicts = python-anesthetic + options = !emptydirs + source = python-anesthetic::git+https://github.com/williamjameshandley/anesthetic.git + md5sums = SKIP + +pkgname = python-anesthetic-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6e065ccd7e9f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.gz +*.tar.xz +pkg/ +src/ +python-anesthetic diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..24a6e5752ae3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) +_modulename=anesthetic +pkgname=python-$_modulename-git +pkgver=r319.2351380 +pkgrel=1 +pkgdesc="nested sampling visualisation" +arch=(any) +url="https://github.com/williamjameshandley/anesthetic" +license=('MIT') +groups=() +depends=('python-numpy' 'python-matplotlib' 'python-scipy' 'python-pandas' 'python-fastkde') +makedepends=('git' 'python-setuptools') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=(!emptydirs) +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 +} |