svn commit: r482560 - in head/net: . p5-Twitter-API
Ryan Steinmetz
zi at FreeBSD.org
Sat Oct 20 15:26:27 UTC 2018
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 <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Twitter-API
+PORTVERSION= 1.0005
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list