[arch-commits] Commit in enjarify/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Nov 12 21:23:09 UTC 2016
Date: Saturday, November 12, 2016 @ 21:23:08
Author: anthraxx
Revision: 195465
upgpkg: enjarify 1.0.2-2
Modified:
enjarify/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-12 18:58:40 UTC (rev 195464)
+++ PKGBUILD 2016-11-12 21:23:08 UTC (rev 195465)
@@ -3,20 +3,23 @@
pkgname=enjarify
pkgver=1.0.2
-pkgrel=1
-pkgdesc="Translates Dalvik bytecode to equivalent Java bytecode"
-url="https://github.com/google/enjarify"
+_gitcommit=bc16a63aa852d411d8af1c2f12e04c8ef407c361
+pkgrel=2
+pkgdesc='Translates Dalvik bytecode to equivalent Java bytecode'
+url='https://github.com/google/enjarify'
arch=('any')
license=('Apache')
depends=("python")
makedepends=('git')
-checkdepends=('java-runtime')
-source=(${pkgname}::"git+https://github.com/google/enjarify#tag=${pkgver}")
+source=(${pkgname}::"git+https://github.com/google/enjarify#commit=${_gitcommit}")
sha512sums=('SKIP')
prepare() {
cd ${pkgname}
- sed -r 's| -Xss515m||g' -i enjarify/runtests.py
+ sed 's| -Xss515m||g' -i enjarify/runtests.py
+ sed 's|for bits in range(256):|for opts in [options.NONE, options.PRETTY, options.ALL]:|' -i enjarify/hashtests.py
+ sed '/options.Options/d' -i enjarify/hashtests.py
+ sed 's|bits|0|g' -i enjarify/hashtests.py
}
build() {
@@ -27,7 +30,7 @@
check() {
cd ${pkgname}
- LC_CTYPE=en_US.UTF-8 python -m enjarify.runtests
+ LC_CTYPE=en_US.UTF-8 python -m enjarify.hashtests
}
package() {
More information about the arch-commits
mailing list