pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-GeoIP2 net/p5-GeoIP2: import p5-GeoIP2 2.006002.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/306d2b6a12a7
branches:  trunk
changeset: 412605:306d2b6a12a7
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Mon Mar 09 21:47:15 2020 +0000

description:
net/p5-GeoIP2: import p5-GeoIP2 2.006002.

This module provides an API for the GeoIP2 web services and databases.
The API also works with the free GeoLite2 databases.

See GeoIP2::WebService::Client for details on the web service client API
and GeoIP2::Database::Reader for the database API.

diffstat:

 net/p5-GeoIP2/DESCR    |   5 +++++
 net/p5-GeoIP2/Makefile |  39 +++++++++++++++++++++++++++++++++++++++
 net/p5-GeoIP2/distinfo |   6 ++++++
 3 files changed, 50 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r 13cc50610461 -r 306d2b6a12a7 net/p5-GeoIP2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-GeoIP2/DESCR       Mon Mar 09 21:47:15 2020 +0000
@@ -0,0 +1,5 @@
+This module provides an API for the GeoIP2 web services and databases.
+The API also works with the free GeoLite2 databases.
+
+See GeoIP2::WebService::Client for details on the web service client API
+and GeoIP2::Database::Reader for the database API.
diff -r 13cc50610461 -r 306d2b6a12a7 net/p5-GeoIP2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-GeoIP2/Makefile    Mon Mar 09 21:47:15 2020 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2020/03/09 21:47:15 fcambus Exp $
+
+DISTNAME=      GeoIP2-2.006002
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    net perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MA/MAXMIND/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/release/GeoIP2
+COMMENT=       Perl API for MaxMind's GeoIP2 web services and databases
+LICENSE=       artistic-2.0
+
+DEPENDS+=      p5-JSON-MaybeXS>=0:../../converters/p5-JSON-MaybeXS
+DEPENDS+=      p5-Data-Validate-IP>=0.25:../../devel/p5-Data-Validate-IP
+DEPENDS+=      p5-Moo>=0:../../devel/p5-Moo
+DEPENDS+=      p5-Params-Validate>=0:../../devel/p5-Params-Validate
+DEPENDS+=      p5-Sub-Quote>=0:../../devel/p5-Sub-Quote
+DEPENDS+=      p5-Throwable>=0:../../devel/p5-Throwable
+DEPENDS+=      p5-Try-Tiny>=0:../../devel/p5-Try-Tiny
+DEPENDS+=      p5-namespace-clean>=0:../../devel/p5-namespace-clean
+DEPENDS+=      p5-MaxMind-DB-Reader>=1.0:../../net/p5-MaxMind-DB-Reader
+DEPENDS+=      p5-List-SomeUtils>=0:../../devel/p5-List-SomeUtils
+DEPENDS+=      p5-HTTP-Message>=0:../../www/p5-HTTP-Message
+DEPENDS+=      p5-LWP-Protocol-https>=0:../../www/p5-LWP-Protocol-https
+DEPENDS+=      p5-URI>=0:../../www/p5-URI
+DEPENDS+=      p5-libwww>=0:../../www/p5-libwww
+
+TEST_DEPENDS+= p5-Path-Class>=0:../../devel/p5-Path-Class
+TEST_DEPENDS+= p5-Test-Fatal>=0:../../devel/p5-Test-Fatal
+TEST_DEPENDS+= p5-Test-Number-Delta>=0:../../math/p5-Test-Number-Delta
+TEST_DEPENDS+= p5-MaxMind-DB-Common>=0:../../net/p5-MaxMind-DB-Common
+TEST_DEPENDS+= p5-HTTP-Message>=0:../../www/p5-HTTP-Message
+
+REPLACE_PERL=  bin/web-service-request
+
+PERL5_PACKLIST=        auto/GeoIP2/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 13cc50610461 -r 306d2b6a12a7 net/p5-GeoIP2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-GeoIP2/distinfo    Mon Mar 09 21:47:15 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/09 21:47:15 fcambus Exp $
+
+SHA1 (GeoIP2-2.006002.tar.gz) = 80d95bccec5f5195db06ac9d55bf45a3192263bd
+RMD160 (GeoIP2-2.006002.tar.gz) = 483cd0ce02ce083c64a15f1c78f4965cb12bf9d8
+SHA512 (GeoIP2-2.006002.tar.gz) = a552c6487b340aa928cfc6ce037724cf0fa98332b731388734bc2b25e7d1a31e2c45c0cd12b6c962b5b483172837587254d742fb04cbcec67586d92dae71e356
+Size (GeoIP2-2.006002.tar.gz) = 249915 bytes



Home | Main Index | Thread Index | Old Index