From 41e69979d9da325dd435a8aa6ed8a34fef1c7b43 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 24 Sep 2021 11:57:14 +0300 Subject: [PATCH] aedi: rearrange tools targets in alphabetical order --- aedi/target/tools.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/aedi/target/tools.py b/aedi/target/tools.py index b86bbe1f..d85af0b8 100644 --- a/aedi/target/tools.py +++ b/aedi/target/tools.py @@ -207,19 +207,6 @@ class PkgConfigTarget(ConfigureMakeDependencyTarget): self.copy_to_bin(state, new_filename=self.name + '.exe') -class YasmTarget(ConfigureMakeDependencyTarget): - def __init__(self, name='yasm'): - super().__init__(name) - - def prepare_source(self, state: BuildState): - state.download_source( - 'https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz', - '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f') - - def detect(self, state: BuildState) -> bool: - return state.has_source_file('libyasm.h') - - class UnrarTarget(MakeTarget): def __init__(self, name='unrar'): super().__init__(name) @@ -236,6 +223,19 @@ class UnrarTarget(MakeTarget): return state.has_source_file('rar.hpp') +class YasmTarget(ConfigureMakeDependencyTarget): + def __init__(self, name='yasm'): + super().__init__(name) + + def prepare_source(self, state: BuildState): + state.download_source( + 'https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz', + '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f') + + def detect(self, state: BuildState) -> bool: + return state.has_source_file('libyasm.h') + + class ZipTarget(MakeTarget): def __init__(self, name='zip'): super().__init__(name)