diff options
author | Eugene Dvoretsky | 2015-06-30 20:15:27 +0300 |
---|---|---|
committer | Eugene Dvoretsky | 2015-06-30 20:15:27 +0300 |
commit | 99f34f18e4d6efa032c560036bc0ce5f45b92128 (patch) | |
tree | a873c5593a0f3e100929f326895f04b9013cce85 | |
download | aur-99f34f18e4d6efa032c560036bc0ce5f45b92128.tar.gz |
Init
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0a7c2d184abb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-javabridge + pkgdesc = Python wrapper for the Java Native Interface. + pkgver = 1.0.11 + pkgrel = 1 + url = https://github.com/CellProfiler/python-javabridge + arch = i686 + arch = x86_64 + license = BSD + makedepends = cython2 + depends = jdk7-openjdk + depends = python2-numpy + source = https://github.com/CellProfiler/python-javabridge/archive/1.0.11.tar.gz + sha256sums = 9f0f92b451c758c9acd622b08a27173aa73a9271d93779def4da75925f78fbab + +pkgname = python2-javabridge + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..80882f96f989 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Eugene Dvoretsky <radioxoma at gmail.com> + +pkgname=('python2-javabridge') +pkgver=1.0.11 +pkgrel=1 +pkgdesc="Python wrapper for the Java Native Interface." +arch=('i686' 'x86_64') +url="https://github.com/CellProfiler/python-javabridge" +license=('BSD') +depends=('jdk7-openjdk' 'python2-numpy') +makedepends=('cython2') +source=("https://github.com/CellProfiler/python-javabridge/archive/${pkgver}.tar.gz") +sha256sums=('9f0f92b451c758c9acd622b08a27173aa73a9271d93779def4da75925f78fbab') + +prepare() { + cd "$srcdir/python-javabridge-$pkgver" + sed -i "s/cython/cython2/" setup.py # Fragle patch +} + +build() { + cd "$srcdir/python-javabridge-$pkgver" + python2 setup.py build +} + +# check() { +# cd "$srcdir/python-javabridge-$pkgver" +# python2 setup.py test +# } + +package() { + cd "$srcdir/python-javabridge-$pkgver" + python2 setup.py install --root="$pkgdir"/ --optimize=1 + install -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |