SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
38
net/p5-Twitter-API/Makefile
Normal file
38
net/p5-Twitter-API/Makefile
Normal file
|
@ -0,0 +1,38 @@
|
|||
COMMENT = Twitter REST API library for Perl
|
||||
DISTNAME = Twitter-API-1.0006
|
||||
CATEGORIES = net
|
||||
PKG_ARCH = *
|
||||
REVISION = 0
|
||||
|
||||
MAINTAINER = Andrew Hewus Fresh <afresh1@openbsd.org>
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
MODULES = cpan
|
||||
|
||||
RUN_DEPENDS = converters/p5-JSON-MaybeXS \
|
||||
devel/p5-Module-Runtime \
|
||||
devel/p5-Moo \
|
||||
devel/p5-MooX-Aliases \
|
||||
devel/p5-MooX-Traits \
|
||||
devel/p5-Ref-Util \
|
||||
devel/p5-Sub-Exporter-Progressive \
|
||||
devel/p5-Throwable \
|
||||
devel/p5-Try-Tiny \
|
||||
devel/p5-namespace-clean \
|
||||
security/p5-IO-Socket-SSL \
|
||||
www/p5-HTML-Parser \
|
||||
www/p5-HTTP-Message \
|
||||
www/p5-HTTP-Thin \
|
||||
www/p5-URI \
|
||||
www/p5-URL-Encode \
|
||||
www/p5-WWW-OAuth>=0.006
|
||||
TEST_DEPENDS = devel/p5-Test-Fatal \
|
||||
devel/p5-Test-Pod \
|
||||
devel/p5-Test-Spec \
|
||||
devel/p5-Test-Warnings \
|
||||
www/p5-HTTP-Message
|
||||
|
||||
CONFIGURE_STYLE = modbuild tiny
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/p5-Twitter-API/distinfo
Normal file
2
net/p5-Twitter-API/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Twitter-API-1.0006.tar.gz) = bf3H76nPLKu+PMTRmgTrkV1IX+ioPV/efDtzBG6dBZE=
|
||||
SIZE (Twitter-API-1.0006.tar.gz) = 55906
|
20
net/p5-Twitter-API/pkg/DESCR
Normal file
20
net/p5-Twitter-API/pkg/DESCR
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
30
net/p5-Twitter-API/pkg/PLIST
Normal file
30
net/p5-Twitter-API/pkg/PLIST
Normal file
|
@ -0,0 +1,30 @@
|
|||
${P5SITE}/Twitter/
|
||||
${P5SITE}/Twitter/API/
|
||||
${P5SITE}/Twitter/API.pm
|
||||
${P5SITE}/Twitter/API/Context.pm
|
||||
${P5SITE}/Twitter/API/Error.pm
|
||||
${P5SITE}/Twitter/API/Role/
|
||||
${P5SITE}/Twitter/API/Role/RequestArgs.pm
|
||||
${P5SITE}/Twitter/API/Trait/
|
||||
${P5SITE}/Twitter/API/Trait/ApiMethods.pm
|
||||
${P5SITE}/Twitter/API/Trait/AppAuth.pm
|
||||
${P5SITE}/Twitter/API/Trait/DecodeHtmlEntities.pm
|
||||
${P5SITE}/Twitter/API/Trait/Enchilada.pm
|
||||
${P5SITE}/Twitter/API/Trait/Migration.pm
|
||||
${P5SITE}/Twitter/API/Trait/NormalizeBooleans.pm
|
||||
${P5SITE}/Twitter/API/Trait/RateLimiting.pm
|
||||
${P5SITE}/Twitter/API/Trait/RetryOnError.pm
|
||||
${P5SITE}/Twitter/API/Util.pm
|
||||
@man man/man3p/Twitter::API.3p
|
||||
@man man/man3p/Twitter::API::Context.3p
|
||||
@man man/man3p/Twitter::API::Error.3p
|
||||
@man man/man3p/Twitter::API::Role::RequestArgs.3p
|
||||
@man man/man3p/Twitter::API::Trait::ApiMethods.3p
|
||||
@man man/man3p/Twitter::API::Trait::AppAuth.3p
|
||||
@man man/man3p/Twitter::API::Trait::DecodeHtmlEntities.3p
|
||||
@man man/man3p/Twitter::API::Trait::Enchilada.3p
|
||||
@man man/man3p/Twitter::API::Trait::Migration.3p
|
||||
@man man/man3p/Twitter::API::Trait::NormalizeBooleans.3p
|
||||
@man man/man3p/Twitter::API::Trait::RateLimiting.3p
|
||||
@man man/man3p/Twitter::API::Trait::RetryOnError.3p
|
||||
@man man/man3p/Twitter::API::Util.3p
|
Loading…
Add table
Add a link
Reference in a new issue