From owner-svn-ports-all@freebsd.org Sat Oct 20 15:26:27 2018 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 B47EDFE9332; Sat, 20 Oct 2018 15:26:27 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5961E75ACC; Sat, 20 Oct 2018 15:26:27 +0000 (UTC) (envelope-from zi@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 4EC171FD3A; Sat, 20 Oct 2018 15:26:27 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9KFQRNl040421; Sat, 20 Oct 2018 15:26:27 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9KFQQA3040417; Sat, 20 Oct 2018 15:26:26 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201810201526.w9KFQQA3040417@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Sat, 20 Oct 2018 15:26:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482560 - in head/net: . p5-Twitter-API X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/net: . p5-Twitter-API X-SVN-Commit-Revision: 482560 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Sat, 20 Oct 2018 15:26:27 -0000 Author: zi Date: Sat Oct 20 15:26:26 2018 New Revision: 482560 URL: https://svnweb.freebsd.org/changeset/ports/482560 Log: New port: devel/p5-Twitter-API: Twitter::API provides an interface to the Twitter REST API for perl. Features: * full support for all Twitter REST API endpoints * not dependent on a new distribution for new endpoint support * optionally specify access tokens per API call * error handling via an exception object that captures the full request/response context * full support for OAuth handshake and Xauth authentication Additional features are available via optional traits: * convenient methods for API endpoints with simplified argument handling via ApiMethods * normalized booleans (Twitter likes 'true' and 'false', except when it doesn't) via NormalizeBooleans * automatic decoding of HTML entities via DecodeHtmlEntities * automatic retry on transient errors via RetryOnError * "the whole enchilada" combines all the above traits via Enchilada * app-only (OAuth2) support via AppAuth * automatic rate limiting via RateLimiting WWW: https://metacpan.org/release/Twitter-API Added: head/net/p5-Twitter-API/ head/net/p5-Twitter-API/Makefile (contents, props changed) head/net/p5-Twitter-API/distinfo (contents, props changed) head/net/p5-Twitter-API/pkg-descr (contents, props changed) head/net/p5-Twitter-API/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sat Oct 20 15:24:48 2018 (r482559) +++ head/net/Makefile Sat Oct 20 15:26:26 2018 (r482560) @@ -880,6 +880,7 @@ SUBDIR += p5-Sort-Key-IPv4 SUBDIR += p5-TFTP SUBDIR += p5-Test-URI + SUBDIR += p5-Twitter-API SUBDIR += p5-URI SUBDIR += p5-URI-FromHash SUBDIR += p5-URI-Match Added: head/net/p5-Twitter-API/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-Twitter-API/Makefile Sat Oct 20 15:26:26 2018 (r482560) @@ -0,0 +1,40 @@ +# Created by: Ryan Steinmetz +# $FreeBSD$ + +PORTNAME= Twitter-API +PORTVERSION= 1.0005 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= A Twitter REST API library for Perl + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Net-Twitter>0:net/p5-Net-Twitter \ + p5-Devel-StackTrace>=1.21:devel/p5-Devel-StackTrace \ + p5-Digest-HMAC>0:security/p5-Digest-HMAC \ + p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL \ + p5-JSON-MaybeXS>0:converters/p5-JSON-MaybeXS \ + p5-Moo>0:devel/p5-Moo \ + p5-MooX-Aliases>0:devel/p5-MooX-Aliases \ + p5-MooX-Traits>0:devel/p5-MooX-Traits \ + p5-Net-OAuth>0:net/p5-Net-OAuth \ + p5-Ref-Util>0:devel/p5-Ref-Util \ + p5-Throwable>0:devel/p5-Throwable \ + p5-Try-Tiny>0.03:lang/p5-Try-Tiny \ + p5-URI>=1.40:net/p5-URI \ + p5-URL-Encode>0:www/p5-URL-Encode \ + p5-WWW-OAuth>0:www/p5-WWW-OAuth \ + p5-libwww>=2.032:www/p5-libwww \ + p5-namespace-clean>0:devel/p5-namespace-clean + +NO_ARCH= yes +USES= perl5 +USE_PERL5= modbuildtiny + +.include Added: head/net/p5-Twitter-API/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-Twitter-API/distinfo Sat Oct 20 15:26:26 2018 (r482560) @@ -0,0 +1,3 @@ +TIMESTAMP = 1540034621 +SHA256 (Twitter-API-1.0005.tar.gz) = e65242efcbbfec7ffac9f62fa6778fbbbd3dea539ebb537c187e274737079e2d +SIZE (Twitter-API-1.0005.tar.gz) = 56000 Added: head/net/p5-Twitter-API/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-Twitter-API/pkg-descr Sat Oct 20 15:26:26 2018 (r482560) @@ -0,0 +1,22 @@ +Twitter::API provides an interface to the Twitter REST API for perl. + +Features: + * full support for all Twitter REST API endpoints + * not dependent on a new distribution for new endpoint support + * optionally specify access tokens per API call + * error handling via an exception object that captures the full + request/response context + * full support for OAuth handshake and Xauth authentication + +Additional features are available via optional traits: + * convenient methods for API endpoints with simplified argument + handling via ApiMethods + * normalized booleans (Twitter likes 'true' and 'false', except + when it doesn't) via NormalizeBooleans + * automatic decoding of HTML entities via DecodeHtmlEntities + * automatic retry on transient errors via RetryOnError + * "the whole enchilada" combines all the above traits via Enchilada + * app-only (OAuth2) support via AppAuth + * automatic rate limiting via RateLimiting + +WWW: https://metacpan.org/release/Twitter-API Added: head/net/p5-Twitter-API/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/p5-Twitter-API/pkg-plist Sat Oct 20 15:26:26 2018 (r482560) @@ -0,0 +1,26 @@ +%%SITE_PERL%%/Twitter/API.pm +%%SITE_PERL%%/Twitter/API/Context.pm +%%SITE_PERL%%/Twitter/API/Error.pm +%%SITE_PERL%%/Twitter/API/Role/RequestArgs.pm +%%SITE_PERL%%/Twitter/API/Trait/ApiMethods.pm +%%SITE_PERL%%/Twitter/API/Trait/AppAuth.pm +%%SITE_PERL%%/Twitter/API/Trait/DecodeHtmlEntities.pm +%%SITE_PERL%%/Twitter/API/Trait/Enchilada.pm +%%SITE_PERL%%/Twitter/API/Trait/Migration.pm +%%SITE_PERL%%/Twitter/API/Trait/NormalizeBooleans.pm +%%SITE_PERL%%/Twitter/API/Trait/RateLimiting.pm +%%SITE_PERL%%/Twitter/API/Trait/RetryOnError.pm +%%SITE_PERL%%/Twitter/API/Util.pm +%%PERL5_MAN3%%/Twitter::API.3.gz +%%PERL5_MAN3%%/Twitter::API::Context.3.gz +%%PERL5_MAN3%%/Twitter::API::Error.3.gz +%%PERL5_MAN3%%/Twitter::API::Role::RequestArgs.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::ApiMethods.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::AppAuth.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::DecodeHtmlEntities.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::Enchilada.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::Migration.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::NormalizeBooleans.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::RateLimiting.3.gz +%%PERL5_MAN3%%/Twitter::API::Trait::RetryOnError.3.gz +%%PERL5_MAN3%%/Twitter::API::Util.3.gz