diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-php/json-schema | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'dev-php/json-schema')
-rw-r--r-- | dev-php/json-schema/Manifest | 2 | ||||
-rw-r--r-- | dev-php/json-schema/json-schema-5.2.10.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-php/json-schema/Manifest b/dev-php/json-schema/Manifest index f7280678ffde..3c37798300f3 100644 --- a/dev-php/json-schema/Manifest +++ b/dev-php/json-schema/Manifest @@ -1,6 +1,8 @@ AUX autoload.php 272 BLAKE2B 35cf5eb6efc11395c45a12a98d2882bc249b4496cba7b1ceba2abbdfa5dbec43a782e1034701f72e12d586aa80460fa87f0623f497f0da33cd8aaff7948d7370 SHA512 d5b970d485d198c855dcebe4c04adf37d7aaa118d7546c3b6d73944809c69ed18436568e33f847329a8027220f735cd5752ef5019bf8dfad40a740d94d02733c +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 +EBUILD json-schema-5.2.10.ebuild 860 BLAKE2B 432497563470f73d11cd08b98f72090b921a16d27ea6f83474db8b5fe670fad37e94976e39b19364cb9a9aa16f252b72a742e97efad775fa211b10d37166fa1b SHA512 ebaae8f90dbfc358b2f3ce19a77639959a09bea54914213f85b908c5048383cfd5a2a5da94eeaa566ef9d77ec69e7501e404a3ebe610f4aedaf2f4f67bee3f33 EBUILD json-schema-5.2.8.ebuild 860 BLAKE2B 008001378526262ff2ab40a288cf887a86c7b40efadf763933519ca2ed24df8986133c91235fababdc922b4ef7c06db5766f073e5e251f68aefd4e0312c13b05 SHA512 ebc9d17959a0903632ef71e28475d912f945ed02b3b28af81bbbc135c42ec590a328dd544d30d056a8650afdf7bb239763b32612cb10a9e4394bc8f68ab7c921 EBUILD json-schema-5.2.9.ebuild 860 BLAKE2B 008001378526262ff2ab40a288cf887a86c7b40efadf763933519ca2ed24df8986133c91235fababdc922b4ef7c06db5766f073e5e251f68aefd4e0312c13b05 SHA512 ebc9d17959a0903632ef71e28475d912f945ed02b3b28af81bbbc135c42ec590a328dd544d30d056a8650afdf7bb239763b32612cb10a9e4394bc8f68ab7c921 MISC metadata.xml 681 BLAKE2B 7c94639852b0bb93de2ce1d05e53917d4fb893b503ac71f15b39233fc95a67ee469a53f175cd470b6f1f510e4f943839c848ae89ad74d3155c420740102c1185 SHA512 85ad81e521ac9eec7fcf4a8a162e412e97e29c30ed22048258a0a7a00b7f77c559544b033938570ebe64ce34ecd61d48dd20648751872d69b98740e791178845 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 000000000000..0698ecde789e --- /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" +} |