diff options
author | clu | 2016-01-08 22:27:59 -0700 |
---|---|---|
committer | clu | 2016-01-08 22:27:59 -0700 |
commit | 840ca81ad4f1f4a65a266eca1312dc47b796a217 (patch) | |
tree | 172e69c432c6dbb59c2be92d4822601bfa4a70ec | |
download | aur-840ca81ad4f1f4a65a266eca1312dc47b796a217.tar.gz |
Initial commit of python 3 pyds9 package to aur
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..960077c95d17 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = python-pyds9 + pkgdesc = A Python Connection to DS9 via XPA + pkgver = 1.8 + pkgrel = 1 + url = http://hea-www.harvard.edu/RD/ds9/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = python + makedepends = python-distribute + makedepends = libxt + depends = python + optdepends = ds9-bin: astronomical data visualization application + source = https://github.com/ericmandel/pyds9/archive/v1.8.tar.gz + sha1sums = 59904d9623dd0f121b815a5cb9253cb94045978d + +pkgname = python-pyds9 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dd2eb65003da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: <clu> + +pkgname=python-pyds9 +_pkgname=pyds9 +pkgver=1.8 +pkgrel=1 +pkgdesc="A Python Connection to DS9 via XPA" +url="http://hea-www.harvard.edu/RD/ds9/" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('python') +makedepends=('python' 'python-distribute' 'libxt') +optdepends=('ds9-bin: astronomical data visualization application') +conflicts=() +replaces=() +backup=() +source=(https://github.com/ericmandel/pyds9/archive/v${pkgver}.tar.gz) +sha1sums=('59904d9623dd0f121b815a5cb9253cb94045978d') + + +build() { + cd $srcdir/pyds9-$pkgver + python setup.py build +} + +package() { + cd $srcdir/pyds9-$pkgver + python setup.py install --root=$pkgdir --prefix=/usr --optimize=1 +} + |