diff options
author | andalenavals | 2017-10-31 01:50:26 -0200 |
---|---|---|
committer | andalenavals | 2017-10-31 01:50:26 -0200 |
commit | 2b09aa81f66676ad2e372e3af207ba0a4801fd73 (patch) | |
tree | 8ff2ac5943c4e44f81bda1b9452ff96018966181 /PKGBUILD | |
download | aur-2b09aa81f66676ad2e372e3af207ba0a4801fd73.tar.gz |
Neither python-treecorr, nor python-piff have aproved the defined tests, so this is a test released version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..83b6d8be31b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,57 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Andres Alejandro Navarro Alsina <aanavarroa@unal.edu.co> +# Contributor: M. Jarvis +pkgname=python-piff +pkgver=r547.8b170e4 +pkgrel=1 +#epoch= + +pkgdesc=" Piff is a Python software package for modeling the +point-spread function (PSF) across multiple detectors in the full +field of view" + + +arch=('any') +url="https://github.com/rmjarvis/Piff" +license=('BSD') +groups=() +depends=('python' 'libffi' 'python-cffi' 'python-treecorr') +makedepends=('git') +checkdepends=() +optdepends=() +#provides=() +#conflicts=() +#replaces=() +#backup=() +options=() +install= +changelog= +source=("$pkgname-$pkgver::git+${url}") +#noextract=() +md5sums=('SKIP') +#validpgpkeys=() + + +build() { + cd "$src" + cd "$pkgname-$pkgver" + python setup.py build +} + + +pkgver() { + cd "$pkgname-$pkgver" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + +package() { + cd "$src" + cd "$pkgname-$pkgver" + python setup.py install --root=${pkgdir} --prefix=/usr + +} |