From a5d77d01476df90e63a7355b99139712d6b448d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Fri, 26 Jan 2007 16:09:54 +0000 Subject: [PATCH] =?utf8?q?Initial=20commit.=20Original=20ebuild=20by=20Iv?= =?utf8?q?=C3=A1n=20P=C3=A9rez=20Dom=C3=ADnguez=20=20and=20then=20improved=20by=20me.=20Fixes=20bug=20#145936.?= =?utf8?q?=20Package-Manager:=20portage-2.1.2-r4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- dev-java/snip/ChangeLog | 11 ++++++ dev-java/snip/Manifest | 30 ++++++++++++++ dev-java/snip/files/digest-snip-0.11 | 3 ++ dev-java/snip/files/snip-0.11-build.xml.patch | 13 +++++++ dev-java/snip/metadata.xml | 12 ++++++ dev-java/snip/snip-0.11.ebuild | 39 +++++++++++++++++++ 6 files changed, 108 insertions(+) create mode 100644 dev-java/snip/ChangeLog create mode 100644 dev-java/snip/Manifest create mode 100644 dev-java/snip/files/digest-snip-0.11 create mode 100644 dev-java/snip/files/snip-0.11-build.xml.patch create mode 100644 dev-java/snip/metadata.xml create mode 100644 dev-java/snip/snip-0.11.ebuild diff --git a/dev-java/snip/ChangeLog b/dev-java/snip/ChangeLog new file mode 100644 index 000000000000..5a8b5f356357 --- /dev/null +++ b/dev-java/snip/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/snip +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/snip/ChangeLog,v 1.1 2007/01/26 16:09:54 betelgeuse Exp $ + +*snip-0.11 (26 Jan 2007) + + 26 Jan 2007; Petteri Räty + +files/snip-0.11-build.xml.patch, +metadata.xml, +snip-0.11.ebuild: + Initial commit. Original ebuild by Iván Pérez Domínguez + and then improved by me. Fixes bug #145936. + diff --git a/dev-java/snip/Manifest b/dev-java/snip/Manifest new file mode 100644 index 000000000000..bc511174c758 --- /dev/null +++ b/dev-java/snip/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX snip-0.11-build.xml.patch 437 RMD160 4b7b179b7eec1b562446dcfb6a36de1ec24ebf46 SHA1 3e7c4f4ab37df42eb78536071e8ea7033a2f076b SHA256 4bc4d1cb3d9569b092c8e23c8fa8a4811e14a84a30ba0fb8784d416e0028cebe +MD5 d4f060cb8b7f93183d7be03e518f8fb1 files/snip-0.11-build.xml.patch 437 +RMD160 4b7b179b7eec1b562446dcfb6a36de1ec24ebf46 files/snip-0.11-build.xml.patch 437 +SHA256 4bc4d1cb3d9569b092c8e23c8fa8a4811e14a84a30ba0fb8784d416e0028cebe files/snip-0.11-build.xml.patch 437 +DIST snip-0.11-src.tar.gz 23270 RMD160 9149bdabba8202f16c93ae0a9f57bbcfd56cd845 SHA1 ef1b29330b97987c13d70c61bd8af20a213a9548 SHA256 c8d0e299010e0582d69b3c0567b89190cfab8b123b4bc61920c721c1b82240e7 +EBUILD snip-0.11.ebuild 973 RMD160 02436a8079158d9e955a136d0d58433a905775cc SHA1 d7c508cd65b05c10726a7fa9da5423c170bbfdcf SHA256 0f732741de58e4bfe2c30e73c3c2ad22b36b6160215a493a4486ed6ef8dd2c56 +MD5 0ab055a1117e8c7f306b9a8d58dbc597 snip-0.11.ebuild 973 +RMD160 02436a8079158d9e955a136d0d58433a905775cc snip-0.11.ebuild 973 +SHA256 0f732741de58e4bfe2c30e73c3c2ad22b36b6160215a493a4486ed6ef8dd2c56 snip-0.11.ebuild 973 +MISC ChangeLog 488 RMD160 1d99c42d158949ddfd30bb7142489360ae322ded SHA1 acfa997f8be70c73bc31cd3bca1d1b17fb23d8cc SHA256 0745d39e0acedb4a0f44cc71a155fa0612c96921bb83d514ff3504d1f58d6d16 +MD5 4efe843931afecfcb90987628516f20d ChangeLog 488 +RMD160 1d99c42d158949ddfd30bb7142489360ae322ded ChangeLog 488 +SHA256 0745d39e0acedb4a0f44cc71a155fa0612c96921bb83d514ff3504d1f58d6d16 ChangeLog 488 +MISC metadata.xml 560 RMD160 0b87b562cf78074dbbed3f2084274f4e22625568 SHA1 9fddf24a0a2221c2308c716f98926429a4db6464 SHA256 13cb265e89be729d485b2e8ee1d7c39ec141e618ff2838e90140ec6a74da73a6 +MD5 457fc723f0353de90fbbfd5e45e2cda0 metadata.xml 560 +RMD160 0b87b562cf78074dbbed3f2084274f4e22625568 metadata.xml 560 +SHA256 13cb265e89be729d485b2e8ee1d7c39ec141e618ff2838e90140ec6a74da73a6 metadata.xml 560 +MD5 6b8cf1355c8ef23d9cb9f9b5dfbc0f9c files/digest-snip-0.11 238 +RMD160 c02b1fe9e9165d173faed9a7fe756dd7df0faf1e files/digest-snip-0.11 238 +SHA256 16591a98348d69b991351b2fe38daca17541fc4371a7e1509af59b33a4a0408e files/digest-snip-0.11 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFuifacxLzpIGCsLQRAnzsAJwJvFnBqt0E2ojtndMusAFu3DrfoQCfYiXX +ZbSWlPF/jZZV2ZGAydlN2LI= +=oF/y +-----END PGP SIGNATURE----- diff --git a/dev-java/snip/files/digest-snip-0.11 b/dev-java/snip/files/digest-snip-0.11 new file mode 100644 index 000000000000..dde8d2678a90 --- /dev/null +++ b/dev-java/snip/files/digest-snip-0.11 @@ -0,0 +1,3 @@ +MD5 bc84dbf27010d55b0bfe336eeb46a9a4 snip-0.11-src.tar.gz 23270 +RMD160 9149bdabba8202f16c93ae0a9f57bbcfd56cd845 snip-0.11-src.tar.gz 23270 +SHA256 c8d0e299010e0582d69b3c0567b89190cfab8b123b4bc61920c721c1b82240e7 snip-0.11-src.tar.gz 23270 diff --git a/dev-java/snip/files/snip-0.11-build.xml.patch b/dev-java/snip/files/snip-0.11-build.xml.patch new file mode 100644 index 000000000000..6072b930a414 --- /dev/null +++ b/dev-java/snip/files/snip-0.11-build.xml.patch @@ -0,0 +1,13 @@ +*** build.xml 2006-08-29 21:39:13.000000000 +0000 +--- build.xml.patched 2006-08-29 21:40:15.000000000 +0000 +*************** +*** 1,8 **** + + + +- +- + + + +--- 1,6 ---- diff --git a/dev-java/snip/metadata.xml b/dev-java/snip/metadata.xml new file mode 100644 index 000000000000..456daabcdd66 --- /dev/null +++ b/dev-java/snip/metadata.xml @@ -0,0 +1,12 @@ + + + + java + + >snip< is an Ant task designed to help with the single-sourcing + of program documentation. This task extracts snippets of text from files, + placing them into properties in the Ant project. These properties can + then be used by any other Ant task, and are particularly useful when + referenced by >filter<s within the >copy< task. + + diff --git a/dev-java/snip/snip-0.11.ebuild b/dev-java/snip/snip-0.11.ebuild new file mode 100644 index 000000000000..04d9cf986679 --- /dev/null +++ b/dev-java/snip/snip-0.11.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/snip/snip-0.11.ebuild,v 1.1 2007/01/26 16:09:54 betelgeuse Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="an Apache ANT optional task that extracts snippets of code from text files" +HOMEPAGE="http://www.martiansoftware.com/lab/index.html" +SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc source" + +COMMON_DEP=">=dev-java/ant-core-1.5.4" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" + +src_unpack() { + unpack ${A} + + cd "${S}" + rm -v *.jar + epatch "${FILESDIR}/${PN}-0.11-build.xml.patch" + java-ant_rewrite-classpath + eant clean +} + +EANT_GENTOO_CLASSPATH="ant-core" + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/java/com +} + -- 2.26.2