diff options
author | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-11-07 15:24:35 +0100 |
---|---|---|
committer | Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> | 2024-11-09 08:53:00 +0100 |
commit | b9e1397d441af5d9ea9e076f61719eadbabff069 (patch) | |
tree | d96adcdc618a48e3671293d16d2e4fbb8cd2e87a /sci-biology/fastqc | |
parent | profiles: mask ant-core revdeps (diff) | |
download | sci-b9e1397d441af5d9ea9e076f61719eadbabff069.tar.gz sci-b9e1397d441af5d9ea9e076f61719eadbabff069.tar.bz2 sci-b9e1397d441af5d9ea9e076f61719eadbabff069.zip |
sci-*/*: remove dead java-ant-2 eclass
See: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28ab51fad9acb876a8fef5dd56f656afcd2776c
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-biology/fastqc')
-rw-r--r-- | sci-biology/fastqc/fastqc-0.11.9.ebuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sci-biology/fastqc/fastqc-0.11.9.ebuild b/sci-biology/fastqc/fastqc-0.11.9.ebuild index be2d3b340..5d42f295a 100644 --- a/sci-biology/fastqc/fastqc-0.11.9.ebuild +++ b/sci-biology/fastqc/fastqc-0.11.9.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit desktop java-pkg-2 java-ant-2 xdg +inherit desktop java-pkg-2 xdg DESCRIPTION="Quality control FASTA/FASTQ sequence files" HOMEPAGE="https://www.bioinformatics.babraham.ac.uk/projects/fastqc/" @@ -24,7 +24,19 @@ DEPEND=" " BDEPEND="media-gfx/imagemagick" -EANT_BUILD_TARGET="build" +src_prepare() { + sed -i -E 's/<property name="source" value="[0-9.]+" \/>//g' build.xml || die + sed -i -E 's/<property name="target" value="[0-9.]+" \/>//g' build.xml || die + sed -i 's/source="${source}"//g' build.xml || die + sed -i 's/target="${target}"//g' build.xml || die + default +} + +src_compile() { + eant build \ + -Dant.build.javac.source="$(java-pkg_get-source)" \ + -Dant.build.javac.target="$(java-pkg_get-target)" +} src_install(){ insinto "opt/${PN}" |