summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Dvoretsky2017-05-03 21:40:19 +0300
committerEugene Dvoretsky2017-05-03 21:40:19 +0300
commit84bdb0369c964e8c89c30d496c82308d1333a88d (patch)
treebaa541bac808543e0acb08fd47616cb2497f9f82
parent99f34f18e4d6efa032c560036bc0ce5f45b92128 (diff)
downloadaur-python2-javabridge.tar.gz
Version update
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0a7c2d184ab..657e1dbf2f0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Wed May 3 18:40:04 UTC 2017
pkgbase = python2-javabridge
pkgdesc = Python wrapper for the Java Native Interface.
- pkgver = 1.0.11
+ pkgver = 1.0.14
pkgrel = 1
url = https://github.com/CellProfiler/python-javabridge
arch = i686
@@ -9,8 +11,8 @@ pkgbase = python2-javabridge
makedepends = cython2
depends = jdk7-openjdk
depends = python2-numpy
- source = https://github.com/CellProfiler/python-javabridge/archive/1.0.11.tar.gz
- sha256sums = 9f0f92b451c758c9acd622b08a27173aa73a9271d93779def4da75925f78fbab
+ source = https://github.com/CellProfiler/python-javabridge/archive/1.0.14.tar.gz
+ sha256sums = 6784bcdc841da66e3dbf2f0fe87472bb4299e47d89b3e033c8dd41c6751fa4fd
pkgname = python2-javabridge
diff --git a/PKGBUILD b/PKGBUILD
index 80882f96f98..5708f78fe53 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Eugene Dvoretsky <radioxoma at gmail.com>
pkgname=('python2-javabridge')
-pkgver=1.0.11
+pkgver=1.0.14
pkgrel=1
pkgdesc="Python wrapper for the Java Native Interface."
arch=('i686' 'x86_64')
@@ -10,25 +10,22 @@ license=('BSD')
depends=('jdk7-openjdk' 'python2-numpy')
makedepends=('cython2')
source=("https://github.com/CellProfiler/python-javabridge/archive/${pkgver}.tar.gz")
-sha256sums=('9f0f92b451c758c9acd622b08a27173aa73a9271d93779def4da75925f78fbab')
+sha256sums=('6784bcdc841da66e3dbf2f0fe87472bb4299e47d89b3e033c8dd41c6751fa4fd')
prepare() {
cd "$srcdir/python-javabridge-$pkgver"
- sed -i "s/cython/cython2/" setup.py # Fragle patch
}
build() {
cd "$srcdir/python-javabridge-$pkgver"
+ # It can't figure out own version without git repo in folder
+ # If version wasn't discovered, default value 0.0.0 breaks Cellprofiler
+ echo "__version__ = \"$pkgver\"" > javabridge/_version.py
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
+ install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}