From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 760D913888F for ; Tue, 20 Oct 2015 08:26:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8BB8E07F1; Tue, 20 Oct 2015 08:26:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 676BFE07F1 for ; Tue, 20 Oct 2015 08:26:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1C8333D3C7 for ; Tue, 20 Oct 2015 08:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A7ED13B6 for ; Tue, 20 Oct 2015 08:26:08 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1445329461.809fddc0508d6584f6626c35ef4bea8309f0a1c8.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/json/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/json/Manifest dev-java/json/json-20150729.ebuild dev-java/json/metadata.xml X-VCS-Directories: dev-java/json/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 809fddc0508d6584f6626c35ef4bea8309f0a1c8 X-VCS-Branch: master Date: Tue, 20 Oct 2015 08:26:08 +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: 501c1cac-69c1-4e1b-a290-ede5e24226e6 X-Archives-Hash: 43d6f06357ab26983d1e131bcccbdb3b commit: 809fddc0508d6584f6626c35ef4bea8309f0a1c8 Author: Patrice Clement gentoo org> AuthorDate: Tue Oct 20 08:23:37 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Oct 20 08:24:21 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809fddc0 dev-java/json: Initial import. Fixes bug 161720. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/json/Manifest | 1 + dev-java/json/json-20150729.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-java/json/metadata.xml | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/dev-java/json/Manifest b/dev-java/json/Manifest new file mode 100644 index 0000000..00ca07f --- /dev/null +++ b/dev-java/json/Manifest @@ -0,0 +1 @@ +DIST 20150729.zip 52114 SHA256 62ecc38b4b86a2d864123f1d68ec9e898e250ea2d4c0798fdff52ba79db52c38 SHA512 ad21ce236b9df04482e039e57a16edec4018214aa6e00379573dc7c6977062c759aa21084b70540d35656ebcdb5eaa6525defb88e281ee0e4e7277e32f22755c WHIRLPOOL 393a81436e9441b7f0b6eeacf45323c306ffc623c15bb786c46431893318c128e4ab48b4ac610480897673ced33e7706a65a68107d42be0b58a65379db886624 diff --git a/dev-java/json/json-20150729.ebuild b/dev-java/json/json-20150729.ebuild new file mode 100644 index 0000000..6e33966 --- /dev/null +++ b/dev-java/json/json-20150729.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java implementation of the JavaScript Object Notation" +HOMEPAGE="http://www.json.org/java/" +SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/JSON-java-${PV}" +JAVA_SRC_DIR="src" + +java_prepare() { + chmod a-x *.java || die + mkdir -p src || die + mv *.java src || die +} + +src_install() { + java-pkg-simple_src_install + dodoc README || die +} diff --git a/dev-java/json/metadata.xml b/dev-java/json/metadata.xml new file mode 100644 index 0000000..d9dd049 --- /dev/null +++ b/dev-java/json/metadata.xml @@ -0,0 +1,17 @@ + + + + java + + JSON (JavaScript Object Notation) is a lightweight data-interchange format. + + + douglascrockford/JSON-java + + + chewi@gentoo.org + + + monsieurp@gentoo.org + +