From fbba923f50161954a4b9faba5aed261a8195a734 Mon Sep 17 00:00:00 2001 From: bluhm Date: Thu, 20 Jul 2017 20:12:47 +0000 Subject: [PATCH] Import p5-Test-Deep-JSON 0.03 from Matthias Pitzl; OK sthen@ Comment: compare JSON with Test::Deep Description: Test::Deep::JSON provides json($expected) function to expect that target can be parsed as a JSON string and matches (by cmp_deeply) with $expected. --- devel/p5-Test-Deep-JSON/Makefile | 22 ++++++++++++++++++++++ devel/p5-Test-Deep-JSON/distinfo | 2 ++ devel/p5-Test-Deep-JSON/pkg/DESCR | 2 ++ devel/p5-Test-Deep-JSON/pkg/PLIST | 4 ++++ 4 files changed, 30 insertions(+) create mode 100644 devel/p5-Test-Deep-JSON/Makefile create mode 100644 devel/p5-Test-Deep-JSON/distinfo create mode 100644 devel/p5-Test-Deep-JSON/pkg/DESCR create mode 100644 devel/p5-Test-Deep-JSON/pkg/PLIST diff --git a/devel/p5-Test-Deep-JSON/Makefile b/devel/p5-Test-Deep-JSON/Makefile new file mode 100644 index 00000000000..5b75c41173f --- /dev/null +++ b/devel/p5-Test-Deep-JSON/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2017/07/20 20:12:47 bluhm Exp $ + +COMMENT = compare JSON with Test::Deep + +DISTNAME = Test-Deep-JSON-0.03 +CATEGORIES = devel + +MAINTAINER = Matthias Pitzl + +# Perl +PERMIT_PACKAGE_CDROM = Yes + +MODULES = cpan +PKG_ARCH = * + +RUN_DEPENDS = converters/p5-JSON \ + devel/p5-Exporter-Lite \ + devel/p5-Test-Deep \ + +CONFIGURE_STYLE = modbuild + +.include diff --git a/devel/p5-Test-Deep-JSON/distinfo b/devel/p5-Test-Deep-JSON/distinfo new file mode 100644 index 00000000000..9a5ba2f616a --- /dev/null +++ b/devel/p5-Test-Deep-JSON/distinfo @@ -0,0 +1,2 @@ +SHA256 (Test-Deep-JSON-0.03.tar.gz) = Qb72AEh9VrDgdco054KXsrwDUwT8Ul4uIatzXGUPSOE= +SIZE (Test-Deep-JSON-0.03.tar.gz) = 10576 diff --git a/devel/p5-Test-Deep-JSON/pkg/DESCR b/devel/p5-Test-Deep-JSON/pkg/DESCR new file mode 100644 index 00000000000..938b7551b83 --- /dev/null +++ b/devel/p5-Test-Deep-JSON/pkg/DESCR @@ -0,0 +1,2 @@ +Test::Deep::JSON provides json($expected) function to expect that target can be +parsed as a JSON string and matches (by cmp_deeply) with $expected. diff --git a/devel/p5-Test-Deep-JSON/pkg/PLIST b/devel/p5-Test-Deep-JSON/pkg/PLIST new file mode 100644 index 00000000000..0ac1f42eb71 --- /dev/null +++ b/devel/p5-Test-Deep-JSON/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2017/07/20 20:12:47 bluhm Exp $ +${P5SITE}/Test/ +${P5SITE}/Test/Deep/JSON.pm +@man man/man3p/Test::Deep::JSON.3p