From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-php/jsonlint/Manifest | 4 ++++ dev-php/jsonlint/files/autoload.php | 8 +++++++ dev-php/jsonlint/jsonlint-1.6.0.ebuild | 40 ++++++++++++++++++++++++++++++++++ dev-php/jsonlint/metadata.xml | 21 ++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 dev-php/jsonlint/Manifest create mode 100644 dev-php/jsonlint/files/autoload.php create mode 100644 dev-php/jsonlint/jsonlint-1.6.0.ebuild create mode 100644 dev-php/jsonlint/metadata.xml (limited to 'dev-php/jsonlint') diff --git a/dev-php/jsonlint/Manifest b/dev-php/jsonlint/Manifest new file mode 100644 index 000000000000..2d96d965b906 --- /dev/null +++ b/dev-php/jsonlint/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 262 SHA256 1a2eae3514e1438afdd1fd9692ac3c35926a4e28a90343751b2c68210aa2eb48 SHA512 476263a08ab0137aed1bb71446f1a66a618247f9095b138b958464f4f47faf775f4bb2ecbe87efa34ff56fb386351e3a3de0dafdf7367c461f0db0717ae5d46e WHIRLPOOL d95b41b8f5831ceba390b548a4d94c2132b7facb72cf7926145299e8aa21fe31e6f100bf5c26f33150e794e86f564b871e0aa63c6559cc35bb7ccbf4e636efa3 +DIST jsonlint-1.6.0.tar.gz 11327 SHA256 8b4ca6c92839ae78e128381330647fca9352245acc330d8794a284514fc3619b SHA512 16538781807a4ca73de83e7be69d0fc2b530dd9b25f2b9a2ee3f1156dd5ebccb79e9489b873f307718ca2da658a1ae7cef5144adb32f2d1e5c34bd192d496c79 WHIRLPOOL 6d628e1c03e565267196be72f1d9610c79388bfe775d9a2681edc0e5aaebcf776eec6123036b3effd4b69338d52fdb7b3e69fa33930436ee113cf439ecbc54f3 +EBUILD jsonlint-1.6.0.ebuild 857 SHA256 be852610935f0d2b409d12868cc377bad3264d8880f1975ddf54e9501c7b202e SHA512 b83f0b8899284fca3ab096f1a8d8ef167c654156cc96e7dc12e927595c0eb0567d62c3cf9e3539e8fa42311b31a6870ecba2f9d4ec6f0c33b3c6d50c795f11a8 WHIRLPOOL 37ce3fd01d2b5e9243d7611a751380f806a67b533e8255d549635b14e353bf37dcb5eecc2c460bce283424dcec3852b226dbf73333d55916531dd9d3f5188906 +MISC metadata.xml 652 SHA256 8b66b0a7677e9b8310caefeae57e971ae4f3f9e292e31edc46ea420e266e9bb7 SHA512 1ea37d4d306425bfb0ab969f7a88623b55d9e6a605e84d87c5f22f14c7bd4d976dc82576e1a5421b14f2693c23c1fc76364213b5fc04ada0c9be3182bea87ae6 WHIRLPOOL 390860984b88444ecc8342690d5c6addcf84962814152c6e18322b78552b794447e7f8fe9914eafc1d85fb2b140492a00ab9f207b08dbe23995c0bdbfd9156b4 diff --git a/dev-php/jsonlint/files/autoload.php b/dev-php/jsonlint/files/autoload.php new file mode 100644 index 000000000000..48ac68d82ab1 --- /dev/null +++ b/dev-php/jsonlint/files/autoload.php @@ -0,0 +1,8 @@ + ${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" +} diff --git a/dev-php/jsonlint/metadata.xml b/dev-php/jsonlint/metadata.xml new file mode 100644 index 000000000000..77828cf3c6c0 --- /dev/null +++ b/dev-php/jsonlint/metadata.xml @@ -0,0 +1,21 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Json linter, port of the JavaScript jsonlint library. + + + Seldaek/jsonlint + + -- cgit v1.2.3