From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RfE5L-0001Xq-Ln for garchives@archives.gentoo.org; Mon, 26 Dec 2011 17:11:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F1F021C0EE; Mon, 26 Dec 2011 17:11:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 51E8D21C0B5 for ; Mon, 26 Dec 2011 17:11:31 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81E4C1B400A for ; Mon, 26 Dec 2011 17:11:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B24FB80043 for ; Mon, 26 Dec 2011 17:11:30 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/OBO-Edit/ChangeLog sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild sci-biology/OBO-Edit/files/response.varfile X-VCS-Directories: sci-biology/OBO-Edit/files/ sci-biology/OBO-Edit/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: cbb2b1076148dcff9f1acd272b25d7557071b21e Date: Mon, 26 Dec 2011 17:11:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fa263c46-0d1c-465c-83b1-fc295674b41b X-Archives-Hash: 5a5ef85dab97b8c8b509047f050c0f62 commit: cbb2b1076148dcff9f1acd272b25d7557071b21e Author: Martin Mokrejs fold natur cuni cz> AuthorDate: Mon Dec 26 17:11:02 2011 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Mon Dec 26 17:11:02 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Dcbb2b107 Sync ebuild to use install4j as in sci-biology/tablet-bin. Awaiting a fix= from upstream so that the installer really respects --destination or -di= r options. (Portage version: 2.1.10.38/git/Linux i686, unsigned Manifest commit) --- sci-biology/OBO-Edit/ChangeLog | 8 +++++ sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild | 40 ++++++++++++++++++= ++++++ sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild | 32 ------------------= - sci-biology/OBO-Edit/files/response.varfile | 1 + 4 files changed, 49 insertions(+), 32 deletions(-) diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/Change= Log index e1de6ad..77732a7 100644 --- a/sci-biology/OBO-Edit/ChangeLog +++ b/sci-biology/OBO-Edit/ChangeLog @@ -2,6 +2,14 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 +*OBO-Edit-2.1.0 (26 Dec 2011) + + 26 Dec 2011; Martin Mokrejs + -OBO-Edit-2.1_beta8.ebuild, +OBO-Edit-2.1.0.ebuild, files/response.var= file: + Sync ebuild to use install4j as in sci-biology/tablet-bin. Awaiting a = fix + from upstream so that the installer really respects --destination or -= dir + options. + 25 Jun 2011; Justin Lecher OBO-Edit-2.1_beta8.ebuild= : Cleaned ebuild =20 diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild b/sci-biology/OBO= -Edit/OBO-Edit-2.1.0.ebuild new file mode 100644 index 0000000..77bd240 --- /dev/null +++ b/sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit toolchain-funcs versionator java-pkg-2 + +MY_PV=3D$(replace_all_version_separators '-') + +DESCRIPTION=3D"Java-based editor optimized for the OBO biological ontolo= gy file format" +HOMEPAGE=3D"http://www.oboedit.org/" +SRC_URI=3D"http://sourceforge.net/projects/geneontology/files/OBO-Edit%2= 02%20%5BLatest%20versions%5D/OBO-Edit%20"${PV}"/"${MY_PV}"_unix_install4j= .sh/download -> OBO-Edit_unix_install4j-"${PV}".sh + http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BL= atest%20versions%5D/OBO-Edit%20"${PV}"/ReleaseNotes-"${PV}".txt" + +LICENSE=3D"OBO-Edit" # Artistic-like +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"" + +DEPEND=3D"app-arch/rpm2targz" +RDEPEND=3D"virtual/jre" + +S=3D"${WORKDIR}" + +src_install(){ + mkdir -p "${D}"/opt/OBO-Edit2/.install4j || die "Cannot pre-create "${D= }"/opt/OBO-Edit2/.install4j/" + sed "s#\"\${D}\"#"${D}"#g" "${FILESDIR}"/response.varfile > "${D}"/opt/= OBO-Edit2/.install4j/response.varfile || die "sed failed" + sed "s#/bin/java\" -Dinstall4j.jvmDir#/bin/java\" -Duser.home=3D"${D}"/= ../temp -Dinstall4j.jvmDir#" -i "${DISTDIR}"/OBO-Edit_unix_install4j-"${P= V}".sh || die "failed to set userHome value" + + sh "${DISTDIR}"/OBO-Edit_unix_install4j-"${PV}".sh -q -overwrite --varf= ile=3D"${D}"/opt/OBO-Edit2/.install4j/response.varfile --destination=3D"$= {D}"/opt/OBO-Edit2 -dir "${D}"/opt/OBO-Edit2 || die "Failed to run the se= lf-extracting "${DISTDIR}"/OBO-Edit_unix_install4j-"${PV}".sh file" + find . -name firstrun -delete + find . -name .svn -exec rm -rf '{}' \; + + insinto /opt/ + doins -r OBO-Edit2 + chmod 755 "${ED}"/opt/OBO-Edit2/* + + dodoc "${DISTDIR}"/ReleaseNotes-2.1.0.txt +} diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild b/sci-biology= /OBO-Edit/OBO-Edit-2.1_beta8.ebuild deleted file mode 100644 index 8842bcd..0000000 --- a/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3D4 - -inherit rpm - -DESCRIPTION=3D"Java-based editor optimized for the OBO biological ontolo= gy file format" -HOMEPAGE=3D"http://www.oboedit.org/" -#SRC_URI=3D"http://sourceforge.net/projects/geneontology/files/OBO-Edit%= 202%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_unix_install4= j.sh" -SRC_URI=3D"http://sourceforge.net/projects/geneontology/files/OBO-Edit%2= 02%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_linux_install4= j.rpm" - -LICENSE=3D"OBO-Edit" # Artistic-like -SLOT=3D"0" -KEYWORDS=3D"~amd64 ~x86" -IUSE=3D"" - -DEPEND=3D"app-arch/rpm2targz" -RDEPEND=3D"virtual/jre" - -S=3D"${WORKDIR}"/opt - -src_install(){ - # sh "${DISTDIR}"/oboedit_2_1_8_unix_install4j.sh -q -overwrite --var-f= ile=3D"${FILESDIR}"/response.varfile --destination=3D"${D}"/opt/OBO-Edit2 - find . -name firstrun -delete - find . -name .svn -exec rm -rf '{}' \; - - insinto /opt/ - doins -r OBO-Edit2 - chmod 755 "${ED}"/opt/OBO-Edit2/* -} diff --git a/sci-biology/OBO-Edit/files/response.varfile b/sci-biology/OB= O-Edit/files/response.varfile index 2fcaa29..149a4e2 100644 --- a/sci-biology/OBO-Edit/files/response.varfile +++ b/sci-biology/OBO-Edit/files/response.varfile @@ -2,4 +2,5 @@ executeLauncherAction$Boolean=3Dfalse sys.programGroupDisabled$Boolean=3Dtrue sys.symlinkDir=3D"${D}"usr/bin sys.languageId=3Den +sys.userHome=3D"${D}"/../temp sys.installationDir=3D"${D}"opt/OBO-Edit2