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 3F78E139694 for ; Tue, 25 Apr 2017 15:17:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50AD8E0CD7; Tue, 25 Apr 2017 15:17:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2EA64E0CCB for ; Tue, 25 Apr 2017 15:17:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBF8B34165C for ; Tue, 25 Apr 2017 15:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A3707427 for ; Tue, 25 Apr 2017 15:17:23 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1493133282.f7d3914fd79f06f5e0820e453054a127c0f52211.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/jsonlint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/jsonlint/Manifest dev-php/jsonlint/jsonlint-1.6.0.ebuild X-VCS-Directories: dev-php/jsonlint/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: f7d3914fd79f06f5e0820e453054a127c0f52211 X-VCS-Branch: master Date: Tue, 25 Apr 2017 15:17:23 +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: cfc440f3-040a-41d9-b32a-c8988c11efb1 X-Archives-Hash: bad0380766c3cab5f35279ea4a1b88ec commit: f7d3914fd79f06f5e0820e453054a127c0f52211 Author: Guillaume Seren gmail com> AuthorDate: Fri Mar 31 13:46:14 2017 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Apr 25 15:14:42 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d3914f dev-php/jsonlint: Add version bump 1.6.0 Add version bump 1.6.0 Gentoo-Bug: 613898 dev-php/jsonlint/Manifest | 1 + dev-php/jsonlint/jsonlint-1.6.0.ebuild | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-php/jsonlint/Manifest b/dev-php/jsonlint/Manifest index 189838be97b..d313715a474 100644 --- a/dev-php/jsonlint/Manifest +++ b/dev-php/jsonlint/Manifest @@ -1 +1,2 @@ DIST jsonlint-1.4.0.tar.gz 10893 SHA256 e97ff9b23037a2d6ec3d548a273c345dea097b66e72d5bb8b30e66ce765fe46d SHA512 29a23a86ece17f43a471ba8952785e820eff537ddce019935d776492a0d0ccf68c5f0e1f5f3d63b8b12efbe0acc1f7e3fa91d4b9d48bae2e1eec4f3c4b9094b1 WHIRLPOOL 90d08bbe063c61066e3a29ce391934e906ceaf9ae2e80ac67e57f94088e14f1dd27e1faf3f5331cb35c6b209a3e38f35634154cad5b9d80cd62389a0dfd99929 +DIST jsonlint-1.6.0.tar.gz 11327 SHA256 8b4ca6c92839ae78e128381330647fca9352245acc330d8794a284514fc3619b SHA512 16538781807a4ca73de83e7be69d0fc2b530dd9b25f2b9a2ee3f1156dd5ebccb79e9489b873f307718ca2da658a1ae7cef5144adb32f2d1e5c34bd192d496c79 WHIRLPOOL 6d628e1c03e565267196be72f1d9610c79388bfe775d9a2681edc0e5aaebcf776eec6123036b3effd4b69338d52fdb7b3e69fa33930436ee113cf439ecbc54f3 diff --git a/dev-php/jsonlint/jsonlint-1.6.0.ebuild b/dev-php/jsonlint/jsonlint-1.6.0.ebuild new file mode 100644 index 00000000000..ea1e8f975dc --- /dev/null +++ b/dev-php/jsonlint/jsonlint-1.6.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="JSON Lint for PHP" +HOMEPAGE="https://github.com/Seldaek/jsonlint" +SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Seld/JsonLint" + doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php + dodoc README.mdown +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +}