Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 18:21:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496084 - in head/www: . p5-HTTP-AnyUA
Message-ID:  <201903171821.x2HILXKd030082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar 17 18:21:33 2019
New Revision: 496084
URL: https://svnweb.freebsd.org/changeset/ports/496084

Log:
  Add p5-HTTP-AnyUA 0.904
  
  HTTP::AnyUA provides a small wrapper for unifying the programming interfaces of
  several different actual user agents (HTTP clients) under one familiar
  interface.
  
  Rather than providing yet another programming interface for you to learn,
  HTTP::AnyUA follows the HTTP::Tiny interface. This also means that you can plug
  in any supported HTTP client (LWP::UserAgent, Furl, etc.) and use it as if it
  were HTTP::Tiny.
  
  Unfortunately, many modules on CPAN are hardcoded to work with specific HTTP
  clients, leaving the end user unable to use the HTTP client that would be best
  for them. Although the end user won't -- or at least doesn't need to -- use
  HTTP::AnyUA directly, they will benefit from client choice if their third-party
  modules use HTTP::AnyUA or something like it.
  
  The primary goal of HTTP::AnyUA is to make it easy for module developers to
  write HTTP code once that can work with any HTTP client the end user may decide
  to plug in. A secondary goal is to make it easy for anyone to add support for
  new or yet-unsupported user agents.
  
  WWW: https://metacpan.org/release/HTTP-AnyUA

Added:
  head/www/p5-HTTP-AnyUA/
  head/www/p5-HTTP-AnyUA/Makefile   (contents, props changed)
  head/www/p5-HTTP-AnyUA/distinfo   (contents, props changed)
  head/www/p5-HTTP-AnyUA/pkg-descr   (contents, props changed)
  head/www/p5-HTTP-AnyUA/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Mar 17 18:21:27 2019	(r496083)
+++ head/www/Makefile	Sun Mar 17 18:21:33 2019	(r496084)
@@ -955,6 +955,7 @@
     SUBDIR += p5-HTML-WikiConverter-WakkaWiki
     SUBDIR += p5-HTML-WikiConverter-WikkaWiki
     SUBDIR += p5-HTML5-DOM
+    SUBDIR += p5-HTTP-AnyUA
     SUBDIR += p5-HTTP-Async
     SUBDIR += p5-HTTP-Body
     SUBDIR += p5-HTTP-BrowserDetect

Added: head/www/p5-HTTP-AnyUA/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTTP-AnyUA/Makefile	Sun Mar 17 18:21:33 2019	(r496084)
@@ -0,0 +1,28 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	HTTP-AnyUA
+PORTVERSION=	0.904
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	HTTP user agent programming interface unification layer
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Future>=0:devel/p5-Future \
+		p5-Module-Loader>=0:devel/p5-Module-Loader
+TEST_DEPENDS=	p5-Test-Exception>=0:devel/p5-Test-Exception \
+		p5-namespace-clean>=0:devel/p5-namespace-clean
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/www/p5-HTTP-AnyUA/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTTP-AnyUA/distinfo	Sun Mar 17 18:21:33 2019	(r496084)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552830086
+SHA256 (HTTP-AnyUA-0.904.tar.gz) = 8da4481846a37def963de7188e5cabd75621709ba1ab17d6df4f0de993ef818d
+SIZE (HTTP-AnyUA-0.904.tar.gz) = 48407

Added: head/www/p5-HTTP-AnyUA/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTTP-AnyUA/pkg-descr	Sun Mar 17 18:21:33 2019	(r496084)
@@ -0,0 +1,21 @@
+HTTP::AnyUA provides a small wrapper for unifying the programming interfaces of
+several different actual user agents (HTTP clients) under one familiar
+interface.
+
+Rather than providing yet another programming interface for you to learn,
+HTTP::AnyUA follows the HTTP::Tiny interface. This also means that you can plug
+in any supported HTTP client (LWP::UserAgent, Furl, etc.) and use it as if it
+were HTTP::Tiny.
+
+Unfortunately, many modules on CPAN are hardcoded to work with specific HTTP
+clients, leaving the end user unable to use the HTTP client that would be best
+for them. Although the end user won't -- or at least doesn't need to -- use
+HTTP::AnyUA directly, they will benefit from client choice if their third-party
+modules use HTTP::AnyUA or something like it.
+
+The primary goal of HTTP::AnyUA is to make it easy for module developers to
+write HTTP code once that can work with any HTTP client the end user may decide
+to plug in. A secondary goal is to make it easy for anyone to add support for
+new or yet-unsupported user agents.
+
+WWW: https://metacpan.org/release/HTTP-AnyUA

Added: head/www/p5-HTTP-AnyUA/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-HTTP-AnyUA/pkg-plist	Sun Mar 17 18:21:33 2019	(r496084)
@@ -0,0 +1,28 @@
+%%SITE_PERL%%/HTTP/AnyUA.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/AnyEvent/HTTP.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/Furl.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/HTTP/AnyUA.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/HTTP/Tiny.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/LWP/UserAgent.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/Mojo/UserAgent.pm
+%%SITE_PERL%%/HTTP/AnyUA/Backend/Net/Curl/Easy.pm
+%%SITE_PERL%%/HTTP/AnyUA/Middleware.pm
+%%SITE_PERL%%/HTTP/AnyUA/Middleware/ContentLength.pm
+%%SITE_PERL%%/HTTP/AnyUA/Middleware/RequestHeaders.pm
+%%SITE_PERL%%/HTTP/AnyUA/Middleware/Runtime.pm
+%%SITE_PERL%%/HTTP/AnyUA/Util.pm
+%%PERL5_MAN3%%/HTTP::AnyUA.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::AnyEvent::HTTP.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::Furl.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::HTTP::AnyUA.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::HTTP::Tiny.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::LWP::UserAgent.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::Mojo::UserAgent.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Backend::Net::Curl::Easy.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Middleware.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Middleware::ContentLength.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Middleware::RequestHeaders.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Middleware::Runtime.3.gz
+%%PERL5_MAN3%%/HTTP::AnyUA::Util.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903171821.x2HILXKd030082>