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 046871382C5 for ; Sun, 14 Jun 2020 23:30:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33875E0ABE; Sun, 14 Jun 2020 23:30:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1148AE0ABE for ; Sun, 14 Jun 2020 23:30:45 +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 17A5A34EE05 for ; Sun, 14 Jun 2020 23:30:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 601C32AB for ; Sun, 14 Jun 2020 23:30:38 +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: <1592177430.ac725a090ba237b5cce494255a1e99082d627ee4.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/json-schema/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/json-schema/Manifest dev-php/json-schema/json-schema-5.2.10.ebuild X-VCS-Directories: dev-php/json-schema/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: ac725a090ba237b5cce494255a1e99082d627ee4 X-VCS-Branch: master Date: Sun, 14 Jun 2020 23:30:38 +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: f4401765-d0e9-4db9-83fb-6dbbac547ca1 X-Archives-Hash: 67f3670ead27e5d5b4c5decd9b05553b commit: ac725a090ba237b5cce494255a1e99082d627ee4 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Jun 14 23:26:58 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jun 14 23:30:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac725a09 dev-php/json-schema: bump to v5.2.10 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> dev-php/json-schema/Manifest | 1 + dev-php/json-schema/json-schema-5.2.10.ebuild | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-php/json-schema/Manifest b/dev-php/json-schema/Manifest index c12287c4537..4e115a8cfa5 100644 --- a/dev-php/json-schema/Manifest +++ b/dev-php/json-schema/Manifest @@ -1,2 +1,3 @@ +DIST json-schema-5.2.10.tar.gz 31261 BLAKE2B 2f2e3f562552105e924aa3e4408e50c6e42171cb8440ca8009166d956dcb9d4d6a3903c3b7e62bcfa228069c1e17f4faeab56e56ff935fd59fe251d27d12ab3a SHA512 b6d31b5478b93ef7dea741307648734d4d93aa4c0518b0037e81f5411810ea0570a046adb314cbee3f06da4cc9e654c419ff0be75b6ad0f5d3770c03be5707c8 DIST json-schema-5.2.8.tar.gz 31179 BLAKE2B fc422b4ea632299308fe44104ed66365441879441446d47bad1da89182da0c1aba04877c279577fe7e8fc9f82e4677bc755558a4f4fa1893362d2b93e8743a08 SHA512 04a96413a12979ee42cc72dc7d6cd73ab26472c46cffa1ce65d7e2338867ec6cce48da5a058d4c8bb849a8fae72376272b814f3a808ed3374af9c98eb8674fe5 DIST json-schema-5.2.9.tar.gz 31336 BLAKE2B 42d1a36810a28050bc543a4d79a3701444e86176e3c514ac198c7b6e8300edc615652c0116e44977c2bbbcaad17da96a4d32642cb304b653efe417e6a5aa67d3 SHA512 4666df39ad50a284687c216b30ac50a5ef4019260fbe0ecb052c820f9c029a904c07fae7606df3ab24b1ac18f651ca4a93ee83847e76361fd41072ce04ded222 diff --git a/dev-php/json-schema/json-schema-5.2.10.ebuild b/dev-php/json-schema/json-schema-5.2.10.ebuild new file mode 100644 index 00000000000..0698ecde789 --- /dev/null +++ b/dev-php/json-schema/json-schema-5.2.10.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP implementation of JSON schema" +HOMEPAGE="https://github.com/justinrainbow/json-schema" +SRC_URI="https://github.com/justinrainbow/json-schema/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +# Tests are not in the release tarball +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 + fi +} + +src_install() { + insinto "/usr/share/php/JsonSchema" + doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +}