Add www/p5-Reddit-Client, a perl module that provides methods and simple object

wrappers for objects exposed by the Reddit API. This module handles HTTP
communication, basic session management (e.g. storing an active login session),
and communication with Reddit's external API.
This commit is contained in:
Emanuel Haupt 2014-12-09 10:25:23 +00:00
parent 0a40a8af9c
commit 704dae9a68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374355
5 changed files with 49 additions and 0 deletions

View file

@ -1140,6 +1140,7 @@
SUBDIR += p5-RTx-Calendar SUBDIR += p5-RTx-Calendar
SUBDIR += p5-Reaction SUBDIR += p5-Reaction
SUBDIR += p5-Reddit SUBDIR += p5-Reddit
SUBDIR += p5-Reddit-Client
SUBDIR += p5-Rose-HTML-Objects SUBDIR += p5-Rose-HTML-Objects
SUBDIR += p5-Router-Boom SUBDIR += p5-Router-Boom
SUBDIR += p5-Router-Simple SUBDIR += p5-Router-Simple

View file

@ -0,0 +1,24 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= Reddit-Client
PORTVERSION= 0.8
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Methods and object wrappers for objects exposed by the Reddit API
BUILD_DEPENDS= p5-IO-Capture>=0:${PORTSDIR}/devel/p5-IO-Capture \
p5-JSON>=2.53:${PORTSDIR}/converters/p5-JSON \
p5-URI-Encode>0:${PORTSDIR}/www/p5-URI-Encode \
p5-URI>0:${PORTSDIR}/net/p5-URI \
p5-libwww>0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-MockModule>=0:${PORTSDIR}/devel/p5-Test-MockModule
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Reddit-Client-0.8.tar.gz) = ffed53dc6fa657a4294eda638648af308a3f26bcd6dc797e5310831ec226aae3
SIZE (Reddit-Client-0.8.tar.gz) = 15723

View file

@ -0,0 +1,6 @@
Reddit::Client provides methods and simple object wrappers for objects exposed
by the Reddit API. This module handles HTTP communication, basic session
management (e.g. storing an active login session), and communication with
Reddit's external API.
WWW: http://search.cpan.org/dist/Reddit-Client/

View file

@ -0,0 +1,16 @@
%%SITE_PERL%%/Reddit/Client.pm
%%SITE_PERL%%/Reddit/Client/Account.pm
%%SITE_PERL%%/Reddit/Client/Comment.pm
%%SITE_PERL%%/Reddit/Client/Link.pm
%%SITE_PERL%%/Reddit/Client/Request.pm
%%SITE_PERL%%/Reddit/Client/SubReddit.pm
%%SITE_PERL%%/Reddit/Client/Thing.pm
%%SITE_PERL%%/Reddit/Client/VotableThing.pm
%%PERL5_MAN3%%/Reddit::Client.3.gz
%%PERL5_MAN3%%/Reddit::Client::Account.3.gz
%%PERL5_MAN3%%/Reddit::Client::Comment.3.gz
%%PERL5_MAN3%%/Reddit::Client::Link.3.gz
%%PERL5_MAN3%%/Reddit::Client::Request.3.gz
%%PERL5_MAN3%%/Reddit::Client::SubReddit.3.gz
%%PERL5_MAN3%%/Reddit::Client::Thing.3.gz
%%PERL5_MAN3%%/Reddit::Client::VotableThing.3.gz