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 392C0138359 for ; Sun, 13 Sep 2020 23:19:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5E99E086C; Sun, 13 Sep 2020 23:19:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCC45E086C for ; Sun, 13 Sep 2020 23:19:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 CFDFF340A9F for ; Sun, 13 Sep 2020 23:19:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CAA933F for ; Sun, 13 Sep 2020 23:19:48 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1600039066.6f7747c8d4468e611a37904fbbd7836cafa1faaa.whissi@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.8.2.ebuild X-VCS-Directories: dev-php/jsonlint/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 6f7747c8d4468e611a37904fbbd7836cafa1faaa X-VCS-Branch: master Date: Sun, 13 Sep 2020 23:19:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef7b8f4e-9830-42c6-9ede-97bef5e216f8 X-Archives-Hash: 4c6fb643cd6c0adc82d91753cdfdd512 commit: 6f7747c8d4468e611a37904fbbd7836cafa1faaa Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Sep 13 22:59:34 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Sep 13 23:17:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7747c8 dev-php/jsonlint: bump to v1.8.2 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> dev-php/jsonlint/Manifest | 1 + dev-php/jsonlint/jsonlint-1.8.2.ebuild | 41 ++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-php/jsonlint/Manifest b/dev-php/jsonlint/Manifest index b21b6e07dab..60014c2fc3f 100644 --- a/dev-php/jsonlint/Manifest +++ b/dev-php/jsonlint/Manifest @@ -1,2 +1,3 @@ DIST jsonlint-1.7.1.tar.gz 11813 BLAKE2B ed1a1404cf77d526a5dce15d0a3f36c5ff8c691e3d2560b6b5e309108d6f0072988b292fd1410b48bfad4ba528abd854204c38bf36f5196c7d8beb468716a5db SHA512 dd8380d02591997a129dc8f25f3b2f7c2f00c1d280bdce6551079b564b54b4828beb929bd9a7c608be6429754eb1c33d2d655a0f87b8f671ccf26ee2ae46095d DIST jsonlint-1.7.2.tar.gz 11915 BLAKE2B 4fb1bb526c64ad2db442bca4c2c609e7d589ed84c372291a7bb71edcf63d246be821d78fe246b1660444f99fe9dd3408f01841fc9d687654d2bcc45dc9337c91 SHA512 ac5a135b1940799b07c31c2b05b0c782d0409dbf93e93013f1cb69f8423d1913b93c18988f1a03781da4c29d28de35eee6a76a2f18c81cd049696f779045cafb +DIST jsonlint-1.8.2.tar.gz 13729 BLAKE2B 80cbe2e1dc6bcbc0d75d04f34a36deb8b53ebd78bc4dcff0dd1195549ae2eaa02360b642d91c6a848cba9a3f502ed0618937c149663d6d0c9c7ad0f33897b7c1 SHA512 675ae7bf6cddd83bb2fab60f4c2ac4a8b4bf0068e630f266511a1805682cadefc9a44006623448364ceb73c5e211739787643d9196794349b992cca4d5fc737c diff --git a/dev-php/jsonlint/jsonlint-1.8.2.ebuild b/dev-php/jsonlint/jsonlint-1.8.2.ebuild new file mode 100644 index 00000000000..a042e788cfa --- /dev/null +++ b/dev-php/jsonlint/jsonlint-1.8.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="JSON Lint for PHP" +HOMEPAGE="https://github.com/Seldaek/jsonlint" +SRC_URI="https://github.com/Seldaek/jsonlint/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.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +}