diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-04-11 11:39:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 11:39:50 +0200 |
commit | d0ad644ea6a0a3874fa7ed3785a4580b68b40b31 (patch) | |
tree | 5ef9c20ae73491cfc1ffd869fa7484094148ac43 /var/spack/repos/builtin/packages/apktool/package.py | |
parent | c2f470f4a6630116800ac78d8fd8d812b742cfec (diff) | |
download | spack-d0ad644ea6a0a3874fa7ed3785a4580b68b40b31.tar.gz spack-d0ad644ea6a0a3874fa7ed3785a4580b68b40b31.tar.bz2 spack-d0ad644ea6a0a3874fa7ed3785a4580b68b40b31.tar.xz spack-d0ad644ea6a0a3874fa7ed3785a4580b68b40b31.zip |
Remove custom phases in packages (1/n) (#29968)
* abi-dumper: remove custom phases
* apktool: remove custom phases, add v2.6.1
* aragorn: remove custom phases
* ascent: remove custom phases
* astral: remove custom phases, add v5.7.1
* bigdft: remove redundant phase definitions
* bazel: remove custom phases phase definitions
* blasr: remove custom phases phase definitions
* bmake: remove custom phases phase definitions, add v20220330
* botan: remove custom phases phase definitions
* breakdancer: remove custom phases phase definitions
* dnstracer: remove custom phases phase definitions
* conduit: remove custom phases phase definitions
* eclipse-gcj-parser: remove custom phases phase definitions
* eem: remove custom phases phase definitions
* fasttree: remove custom phases phase definitions
* fleur: remove custom phases phase definitions
* fpm: remove custom phases phase definitions
* genie: remove custom phases phase definitions
* gluegen: remove custom phases phase definitions
* gnat: remove custom phases phase definitions
* hpgmg: remove custom phases phase definitions
* karma: remove custom phases phase definitions
* libc: remove custom phases phase definitions
Diffstat (limited to 'var/spack/repos/builtin/packages/apktool/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/apktool/package.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/apktool/package.py b/var/spack/repos/builtin/packages/apktool/package.py index f05c542900..8d1f20b2ea 100644 --- a/var/spack/repos/builtin/packages/apktool/package.py +++ b/var/spack/repos/builtin/packages/apktool/package.py @@ -13,20 +13,17 @@ class Apktool(Package): homepage = "https://ibotpeaches.github.io/Apktool/" url = "https://github.com/iBotPeaches/Apktool/archive/refs/tags/v2.6.0.tar.gz" + version('2.6.1', sha256='8932e77d963b9e0e07227422d82ed4a355e8aa268bad1361e5cfaffa8e4d52ee') version('2.6.0', sha256='74739cdb1434ca35ec34e51ca7272ad3f378ae3ed0a2d5805d9a2fab5016037f') depends_on('java@8:', type=('build', 'run')) - phases = ['build', 'install'] - def setup_build_environment(self, env): env.set('LC_ALL', 'en_US.UTF-8') - def build(self, spec, prefix): + def install(self, spec, prefix): gradlew = Executable('./gradlew') gradlew('--info', '--debug', 'build', 'shadowJar') - - def install(self, spec, prefix): ln = which('ln') mkdir(join_path(prefix, 'bin')) install( |