From owner-svn-ports-all@freebsd.org Thu Apr 18 15:02:24 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A4A31573E5E; Thu, 18 Apr 2019 15:02:24 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 386C96B040; Thu, 18 Apr 2019 15:02:24 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C949209DA; Thu, 18 Apr 2019 15:02:24 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3IF2OLD084463; Thu, 18 Apr 2019 15:02:24 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3IF2NMp084458; Thu, 18 Apr 2019 15:02:23 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201904181502.x3IF2NMp084458@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Thu, 18 Apr 2019 15:02:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499271 - in head/www: . p5-Dancer-Plugin-Swagger X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: in head/www: . p5-Dancer-Plugin-Swagger X-SVN-Commit-Revision: 499271 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 386C96B040 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2019 15:02:24 -0000 Author: kai Date: Thu Apr 18 15:02:22 2019 New Revision: 499271 URL: https://svnweb.freebsd.org/changeset/ports/499271 Log: New port: www/p5-Dancer-Plugin-Swagger This plugin provides tools to create and access a Swagger specification file for a Dancer REST web service. Overview of Dancer::Plugin::Swagger's features: * Can create a /swagger.json REST specification file. * Can auto-discover routes and add them to the swagger file. * Can provide a Swagger UI version of the swagger documentation. WWW: https://metacpan.org/pod/Dancer::Plugin::Swagger PR: 237109 Submitted by: Geoffroy Desvernay Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19919 Added: head/www/p5-Dancer-Plugin-Swagger/ head/www/p5-Dancer-Plugin-Swagger/Makefile (contents, props changed) head/www/p5-Dancer-Plugin-Swagger/distinfo (contents, props changed) head/www/p5-Dancer-Plugin-Swagger/pkg-descr (contents, props changed) head/www/p5-Dancer-Plugin-Swagger/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Apr 18 14:55:40 2019 (r499270) +++ head/www/Makefile Thu Apr 18 15:02:22 2019 (r499271) @@ -801,6 +801,7 @@ SUBDIR += p5-Dancer-Plugin-REST SUBDIR += p5-Dancer-Plugin-RPC SUBDIR += p5-Dancer-Plugin-SiteMap + SUBDIR += p5-Dancer-Plugin-Swagger SUBDIR += p5-Dancer-Plugin-ValidationClass SUBDIR += p5-Dancer-Session-Cookie SUBDIR += p5-Dancer-Template-Xslate Added: head/www/p5-Dancer-Plugin-Swagger/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-Swagger/Makefile Thu Apr 18 15:02:22 2019 (r499271) @@ -0,0 +1,42 @@ +# Created by: Geoffroy Desvernay +# $FreeBSD$ + +PORTNAME= Dancer-Plugin-Swagger +PORTVERSION= 0.2.0 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dgeo@centrale-marseille.fr +COMMENT= Dancer plugin to create Swagger documentation for app REST + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_ART10= ${WRKSRC}/LICENSE +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-JSON>=0:converters/p5-JSON \ + p5-Class-Load>=0:devel/p5-Class-Load \ + p5-Clone>=0:devel/p5-Clone \ + p5-File-ShareDir-Install>=0:devel/p5-File-ShareDir-Install \ + p5-File-ShareDir-Tarball>=0:devel/p5-File-ShareDir-Tarball \ + p5-List-AllUtils>=0:devel/p5-List-AllUtils \ + p5-Moo>=0:devel/p5-Moo \ + p5-MooseX-MungeHas>=0:devel/p5-MooseX-MungeHas \ + p5-MooX-Singleton>=0:devel/p5-MooX-Singleton \ + p5-Path-Tiny>=0:devel/p5-Path-Tiny \ + p5-PerlX-Maybe>=0:devel/p5-PerlX-Maybe \ + p5-Hash-Merge>=0:textproc/p5-Hash-Merge \ + p5-Dancer>=0:www/p5-Dancer \ + p5-Dancer-Plugin-REST>=0:www/p5-Dancer-Plugin-REST +TEST_DEPENDS= ${RUN_DEPENDS} \ + p5-Test-Deep>=0:devel/p5-Test-Deep \ + p5-Test-WWW-Mechanize-PSGI>=0:devel/p5-Test-WWW-Mechanize-PSGI + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/www/p5-Dancer-Plugin-Swagger/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-Swagger/distinfo Thu Apr 18 15:02:22 2019 (r499271) @@ -0,0 +1,3 @@ +TIMESTAMP = 1553515756 +SHA256 (Dancer-Plugin-Swagger-0.2.0.tar.gz) = 468e64f562103de517950c4c3752707d78fb054053bfcd8666f50f1d8648471d +SIZE (Dancer-Plugin-Swagger-0.2.0.tar.gz) = 811613 Added: head/www/p5-Dancer-Plugin-Swagger/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-Swagger/pkg-descr Thu Apr 18 15:02:22 2019 (r499271) @@ -0,0 +1,10 @@ +This plugin provides tools to create and access a Swagger specification file +for a Dancer REST web service. + +Overview of Dancer::Plugin::Swagger's features: + +* Can create a /swagger.json REST specification file. +* Can auto-discover routes and add them to the swagger file. +* Can provide a Swagger UI version of the swagger documentation. + +WWW: https://metacpan.org/pod/Dancer::Plugin::Swagger Added: head/www/p5-Dancer-Plugin-Swagger/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Dancer-Plugin-Swagger/pkg-plist Thu Apr 18 15:02:22 2019 (r499271) @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Dancer/Plugin/Swagger.pm +%%SITE_PERL%%/Dancer/Plugin/Swagger/Path.pm +%%SITE_PERL%%/Dancer/Plugin/Swagger/Response.pm +%%SITE_PERL%%/auto/share/dist/Dancer-Plugin-Swagger/shared-files.tar.gz +%%PERL5_MAN3%%/Dancer::Plugin::Swagger.3.gz +%%PERL5_MAN3%%/Dancer::Plugin::Swagger::Path.3.gz +%%PERL5_MAN3%%/Dancer::Plugin::Swagger::Response.3.gz