1 |
commit: c34ce82359e7520dd81515d9a72699e4e5d9dec9 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 22 14:20:27 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 22 14:20:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34ce823 |
7 |
|
8 |
dev-php/json-schema: bump to v5.2.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/json-schema/Manifest | 1 + |
14 |
dev-php/json-schema/json-schema-5.2.8.ebuild | 40 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/json-schema/Manifest b/dev-php/json-schema/Manifest |
18 |
index 32ad7ad9bcc..7af2bc15113 100644 |
19 |
--- a/dev-php/json-schema/Manifest |
20 |
+++ b/dev-php/json-schema/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST json-schema-4.1.0.tar.gz 24772 BLAKE2B 181c584c11113c2e0bb7b2f19ef40ae588e470169a4498a47fbd3fcae60d7bb1bb21ac4ab82ce295e487098719fca9004090142d992a296a1b5599fb909b0171 SHA512 5c6bda8c34012bc20d9bf604a6183d50f451327bded70d94415450d2b3cc8e7f6f416ddd8b13db0aeb487fe031fe3185aebd9c97e4c1f79c866dcbc3463f64d0 |
23 |
DIST json-schema-5.2.7.tar.gz 31388 BLAKE2B b0ce5a9f958effe7d8040c57501841225865eee0d67f56d0eec6aca0c93557b526d51ae35d04a5bd2c066066c1ccdfb00954e6aed866c6d225260ca4a5f73f56 SHA512 fe3b436ea3c29719244fb29e11c37b505fa46845704b9153b1e195147c0b3da39d5d69c61e1b2d89de1ef56bfd51be3552e91cc5dd41a08a8a036e62c29ba197 |
24 |
+DIST json-schema-5.2.8.tar.gz 31179 BLAKE2B fc422b4ea632299308fe44104ed66365441879441446d47bad1da89182da0c1aba04877c279577fe7e8fc9f82e4677bc755558a4f4fa1893362d2b93e8743a08 SHA512 04a96413a12979ee42cc72dc7d6cd73ab26472c46cffa1ce65d7e2338867ec6cce48da5a058d4c8bb849a8fae72376272b814f3a808ed3374af9c98eb8674fe5 |
25 |
|
26 |
diff --git a/dev-php/json-schema/json-schema-5.2.8.ebuild b/dev-php/json-schema/json-schema-5.2.8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c1115fb6ccc |
29 |
--- /dev/null |
30 |
+++ b/dev-php/json-schema/json-schema-5.2.8.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="PHP implementation of JSON schema" |
38 |
+HOMEPAGE="https://github.com/justinrainbow/json-schema" |
39 |
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="test" |
45 |
+# Tests are not in the release tarball |
46 |
+RESTRICT="test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-lang/php:* |
50 |
+ dev-php/fedora-autoloader" |
51 |
+DEPEND=" |
52 |
+ test? ( |
53 |
+ ${RDEPEND} |
54 |
+ dev-php/phpunit )" |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ if use test; then |
59 |
+ cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die |
60 |
+ fi |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ insinto "/usr/share/php/JsonSchema" |
65 |
+ doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php |
66 |
+ dodoc README.md |
67 |
+} |
68 |
+ |
69 |
+src_test() { |
70 |
+ phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" |
71 |
+} |