From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85924139221 for ; Wed, 26 Oct 2016 04:07:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14AF9E0BF6; Wed, 26 Oct 2016 04:07:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99EA2E0BF7 for ; Wed, 26 Oct 2016 04:07:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FBB234167B for ; Wed, 26 Oct 2016 04:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B6A42EF for ; Wed, 26 Oct 2016 04:07:12 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1477454694.291b09583906121719a9296ab4aef10b000dd2da.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/languagetool/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/languagetool/Manifest app-text/languagetool/languagetool-3.5.ebuild X-VCS-Directories: app-text/languagetool/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 291b09583906121719a9296ab4aef10b000dd2da X-VCS-Branch: master Date: Wed, 26 Oct 2016 04:07:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1dc62a66-2dce-4687-b3e9-47a0aaeeca54 X-Archives-Hash: 33f5841d5cec1fd7bfa41df62b3efa85 commit: 291b09583906121719a9296ab4aef10b000dd2da Author: Tim Harder gentoo org> AuthorDate: Wed Oct 26 04:03:37 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Oct 26 04:04:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291b0958 app-text/languagetool: version bump to 3.5 app-text/languagetool/Manifest | 1 + app-text/languagetool/languagetool-3.5.ebuild | 79 +++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest index a3e1837..6c7e797 100644 --- a/app-text/languagetool/Manifest +++ b/app-text/languagetool/Manifest @@ -1 +1,2 @@ DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d +DIST LanguageTool-3.5.zip 93540212 SHA256 643029da89041ccfb48772deaf0dd0e16942de2d381c5dc8ae9372f1b043bcab SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 WHIRLPOOL d518d0eaee5447115f09dfac0071462d9a2c51e3327da7f9500a251571fb9186920f9c68eb008f151bc8db173ad22a4068b4953165d1219f05e6857fe8554369 diff --git a/app-text/languagetool/languagetool-3.5.ebuild b/app-text/languagetool/languagetool-3.5.ebuild new file mode 100644 index 00000000..06b03fe --- /dev/null +++ b/app-text/languagetool/languagetool-3.5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit java-pkg-2 + +MY_PN=LanguageTool +MY_P=${MY_PN}-${PV} + +DESCRIPTION="a proof-reading tool for many languages" +HOMEPAGE="http://www.languagetool.org/" +SRC_URI="http://www.languagetool.org/download/${MY_P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8 + dev-java/commons-cli:1 + dev-java/commons-io:1 + dev-java/commons-lang:2.1 + dev-java/commons-logging:0 + dev-java/guava:18 + dev-java/hamcrest-core:1.3 + dev-java/jna:0 + dev-java/jcommander:0 + dev-java/slf4j-api:0 + dev-java/slf4j-nop:0 +" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + java-pkg-2_src_prepare + default +} + +src_compile() { :; } + +src_install() { + insinto /usr/share/${PN} + doins *.jar + doins -r org META-INF + + cat >>"${T}/${PN}" <<-EOF + #!/bin/sh + cd "${EROOT}usr/share/${PN}" + java -jar ${PN}-commandline.jar \$@ + EOF + + cat >>"${T}/${PN}-gui" <<-EOF + #!/bin/sh + cd "${EROOT}usr/share/${PN}" + java -jar ${PN}.jar \$@ + EOF + exeinto /usr/bin + doexe "${T}"/${PN} "${T}"/${PN}-gui + + dodoc CHANGES.md README.md + + pushd libs >/dev/null || die + rm {commons-io,commons-lang,commons-logging,jcommander,jna,junit}.jar || die + java-pkg_jarinto /usr/share/${PN}/libs + java-pkg_jar-from commons-io-1 commons-io.jar + java-pkg_jar-from commons-lang-2.1 commons-lang.jar + java-pkg_jar-from commons-logging commons-logging.jar + java-pkg_jar-from commons-cli-1 commons-cli.jar + java-pkg_jar-from guava-18 guava.jar + java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar + java-pkg_jar-from jcommander jcommander.jar + java-pkg_jar-from jna jna.jar + java-pkg_jar-from slf4j-api slf4j-api.jar + java-pkg_jar-from slf4j-nop slf4j-nop.jar + java-pkg_dojar *.jar + popd >/dev/null || die +}