From nobody Tue Jan 03 21:35:56 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NmmHw629wz2nsKV; Tue, 3 Jan 2023 21:35:56 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NmmHw5KRCz4NPT; Tue, 3 Jan 2023 21:35:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672781756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IU7nVu8dtBTkMVWclUHMhuSW6pu0lfEi+NsnMD62DGM=; b=uoux/2Up1SA/9gG9MGRRN3nNhR+2VwPdWeTe4Zml3uYwlBfpszW1L3sYNHan6z8Pf5/edH SZZCLSTVOQvWHCcwiYmd2E2hGdsR5C8HVR99D3hypl25HWxDaV+7QqewgPIH1JanZq1jo0 /48qHapl+3D5bYxBKIkQCr7ECgecaAZseJciZPePHqAn/iXnfixZXOF7lx6TSDgea+m8sO LQPK21oRP0+Lg7ZdtIK7L2v+srVK5RhUvSbJ1YPyNvoOPlPiU1paRVG6ROvNPmQ8NM0KmE f+n/CDUbgOQ/qR62ym5tDVZqu0xaaF2Bs2oD/qAyzFQTBTI2CPHlNUEQnd8bLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672781756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IU7nVu8dtBTkMVWclUHMhuSW6pu0lfEi+NsnMD62DGM=; b=DbWNzvu9ggCkZ5pqduCMH5fP1WzNEsSW+pnl3ebgBPwN/7lLDO2V34U6q0kOE81ldAJOke y1+A/zi7VpiS3U4+EpedoMkOX6ivMnr+98Cp1qDiTjtWHuejQR2GE70KbdU6gUlLLgB5ox 0zfXCO+vPnqawM393uzwsBSn1FhV0npEoA/8OWzeEgTnErQMXgPeK91zSc0ouiviJNWicl UkKx5ms7gHin6SyVzMfIsr3pcfwpPrV6ZQUIJZkgYIZUBdL0Argve3IP8HP0jDBANSglId DhJNHMijsXFm6A/I/lC1ZGweIUyZJuopjGH60I4rWoC8nPo2aakeYUO9DvAVWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672781756; a=rsa-sha256; cv=none; b=yKziddLXOhp22RW5j4vMWhve6XE23LfWiF1BRHqZewXDs2xAqHy/BJMnIfdEAkYZ6WVY1v PGeGPFsXf9y58BqnlyFAIObN1H2/4gVKWsL2y0N11wm7dEJawxikDyh4FxdOOitTrnIWaX uQ9xty77zqZLqU96l2ewm6ceaOkNQJMkjT2fFW+UIhx8Qqu2MeTwPAwJ7YHA8jkDQ27Dy3 STHovCJgeBEFG2M23sm9C5VcaSN9CrqQ9yZM95Q9j94fS7dRhwFfSqYNszAK4MBt3RqUBa eiOoxMFMG0qfSR913v8a6I1zxlPBTSIC7UesB6Wc8TBm4GFglbtwJfJSS8p51w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NmmHw4NDvzmsn; Tue, 3 Jan 2023 21:35:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 303LZuDu033522; Tue, 3 Jan 2023 21:35:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 303LZud7033521; Tue, 3 Jan 2023 21:35:56 GMT (envelope-from git) Date: Tue, 3 Jan 2023 21:35:56 GMT Message-Id: <202301032135.303LZud7033521@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Sato Subject: git: 5c042d5680ab - main - www/p5-OpenAPI-Client: Add a new port: Client for talking to an OpenAPI-powered server List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hrs X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5c042d5680ab40667f1689b7b600a423be1214d8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hrs: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c042d5680ab40667f1689b7b600a423be1214d8 commit 5c042d5680ab40667f1689b7b600a423be1214d8 Author: Hiroki Sato AuthorDate: 2023-01-03 21:32:08 +0000 Commit: Hiroki Sato CommitDate: 2023-01-03 21:32:08 +0000 www/p5-OpenAPI-Client: Add a new port: Client for talking to an OpenAPI-powered server --- www/Makefile | 1 + www/p5-OpenAPI-Client/Makefile | 21 +++++++++++++++++++++ www/p5-OpenAPI-Client/distinfo | 3 +++ www/p5-OpenAPI-Client/pkg-descr | 6 ++++++ www/p5-OpenAPI-Client/pkg-plist | 4 ++++ 5 files changed, 35 insertions(+) diff --git a/www/Makefile b/www/Makefile index 489bfe64d64d..373624b311e1 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1041,6 +1041,7 @@ SUBDIR += p5-Newsletter SUBDIR += p5-Nginx-ReadBody SUBDIR += p5-Nginx-Simple + SUBDIR += p5-OpenAPI-Client SUBDIR += p5-PHP-Session SUBDIR += p5-POE-Component-Client-HTTP SUBDIR += p5-POE-Component-Client-UserAgent diff --git a/www/p5-OpenAPI-Client/Makefile b/www/p5-OpenAPI-Client/Makefile new file mode 100644 index 000000000000..2cb8b514af8c --- /dev/null +++ b/www/p5-OpenAPI-Client/Makefile @@ -0,0 +1,21 @@ +PORTNAME= OpenAPI-Client +PORTVERSION= 1.07 +CATEGORIES= www perl5 +MASTER_SITES= CPAN/Mojolicious +PKGNAMEPREFIX= p5- + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Client for talking to an OpenAPI-powered server +WWW= https://metacpan.org/pod/OpenAPI::Client + +LICENSE= ART20 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Mojolicious>=1:www/p5-Mojolicious \ + p5-JSON-Validator>=0:textproc/p5-JSON-Validator + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include diff --git a/www/p5-OpenAPI-Client/distinfo b/www/p5-OpenAPI-Client/distinfo new file mode 100644 index 000000000000..4943858fe1e4 --- /dev/null +++ b/www/p5-OpenAPI-Client/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672780782 +SHA256 (OpenAPI-Client-1.07.tar.gz) = 51ed641d283b8f4bbbc06d01c156739bd2b9a88b4ef84b7b84f950fa0ee14db3 +SIZE (OpenAPI-Client-1.07.tar.gz) = 15604 diff --git a/www/p5-OpenAPI-Client/pkg-descr b/www/p5-OpenAPI-Client/pkg-descr new file mode 100644 index 000000000000..4b1cd888f8d9 --- /dev/null +++ b/www/p5-OpenAPI-Client/pkg-descr @@ -0,0 +1,6 @@ +OpenAPI::Client can generate classes that can talk to an Open API +server. This is done by generating a custom class, based on a Open API +specification, with methods that transform parameters into a HTTP request. + +The generated class will perform input validation, so invalid data +won't be sent to the server. diff --git a/www/p5-OpenAPI-Client/pkg-plist b/www/p5-OpenAPI-Client/pkg-plist new file mode 100644 index 000000000000..866611b407a7 --- /dev/null +++ b/www/p5-OpenAPI-Client/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Mojolicious/Command/openapi.pm +%%SITE_PERL%%/OpenAPI/Client.pm +%%PERL5_MAN3%%/OpenAPI::Client.3.gz +%%PERL5_MAN3%%/Mojolicious::Command::openapi.3.gz