pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Search-Elasticsearch Update devel/p5-Search-E...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6b01c477c2a
branches:  trunk
changeset: 354773:f6b01c477c2a
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Nov 08 12:08:44 2016 +0000

description:
Update devel/p5-Search-Elasticsearch to 5.01.

* Clear up dependencies, enable test target.

5.01
- Doc fixes

5.00
- This version adds Elasticsearch 5.x compatibility, and makes it
  the default.
- It also adds deprecation logging which logs to STDERR by default.

- The Hijk backend will not work with Elasticsearch 5.x until this bug
  is fixed: https://rt.cpan.org/Ticket/Display.html?id=118425

BREAKING CHANGES:
- The 0.90, 1.x, and 2.x compatible clients no longer ship by default.
  You should install one of the following:
      * Search::Elasticsearch::Client::2_0
      * Search::Elasticsearch::Client::2_0::Async
      * Search::Elasticsearch::Client::1_0
      * Search::Elasticsearch::Client::1_0::Async
      * Search::Elasticsearch::Client::0_90
      * Search::Elasticsearch::Client::0_90::Async
- The code has been reorganised so that all client-related modules
  are under the S::E::API_VERSION::Client namespace.
  This includes S::E::Bulk and S::E::Scroll.
- Plugin authors note: the format for the API in ...Role::API has changed.
- S::E::Cxn::HTTP has been rolled into S::E::Cxn as Elasticsearch
  no longer supports other protocols.

diffstat:

 devel/p5-Search-Elasticsearch/Makefile |  35 +++++++++++++++++----------------
 devel/p5-Search-Elasticsearch/distinfo |  10 ++++----
 2 files changed, 23 insertions(+), 22 deletions(-)

diffs (70 lines):

diff -r 23e803e0b76a -r f6b01c477c2a devel/p5-Search-Elasticsearch/Makefile
--- a/devel/p5-Search-Elasticsearch/Makefile    Tue Nov 08 12:05:30 2016 +0000
+++ b/devel/p5-Search-Elasticsearch/Makefile    Tue Nov 08 12:08:44 2016 +0000
@@ -1,33 +1,34 @@
-# $NetBSD: Makefile,v 1.8 2016/06/19 12:06:07 mef Exp $
+# $NetBSD: Makefile,v 1.9 2016/11/08 12:08:44 fhajny Exp $
 
-DISTNAME=      Search-Elasticsearch-2.03
+DISTNAME=      Search-Elasticsearch-5.01
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel
-MASTER_SITES=  https://cpan.metacpan.org/authors/id/D/DR/DRTECH/
-#ASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Search/}
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Search/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://cpan.metacpan.org/authors/id/D/DR/DRTECH/
+HOMEPAGE=      http://search.cpan.org/~drtech/Search-Elasticsearch/
 COMMENT=       Search::Elasticsearch - The official client for Elasticsearch
 LICENSE=       apache-2.0
 
-# for make test, but not completed yet
-BUILD_DEPENDS+=        p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS
-BUILD_DEPENDS+=        p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
-BUILD_DEPENDS+=        p5-Log-Any-[0-9]*:../../devel/p5-Log-Any
-BUILD_DEPENDS+=        p5-Moo-[0-9]*:../../devel/p5-Moo
+DEPENDS+=      p5-Any-URI-Escape-[0-9]*:../../www/p5-Any-URI-Escape
+DEPENDS+=      p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message
+DEPENDS+=      p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
+DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+=      p5-Log-Any-[0-9]*:../../devel/p5-Log-Any
+DEPENDS+=      p5-Moo-[0-9]*:../../devel/p5-Moo
+DEPENDS+=      p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
+DEPENDS+=      p5-URI-[0-9]*:../../www/p5-URI
+
+# test depends
+BUILD_DEPENDS+=        p5-Hijk-[0-9]*:../../www/p5-Hijk
+BUILD_DEPENDS+=        p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
+BUILD_DEPENDS+=        p5-Log-Any-Adapter-Callback-[0-9]*:../../devel/p5-Log-Any-Adapter-Callback
 BUILD_DEPENDS+=        p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
 BUILD_DEPENDS+=        p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
-BUILD_DEPENDS+=        p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
-BUILD_DEPENDS+=        p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
-BUILD_DEPENDS+=        p5-Hijk-[0-9]*:../../www/p5-Hijk
-BUILD_DEPENDS+=        p5-URI-[0-9]*:../../www/p5-URI
-BUILD_DEPENDS+=        p5-Any-URI-Escape-[0-9]*:../../www/p5-Any-URI-Escape
+BUILD_DEPENDS+=        p5-Test-SharedFork-[0-9]*:../../devel/p5-Test-SharedFork
 
 PERL5_PACKLIST=        auto/Search/Elasticsearch/.packlist
 USE_LANGUAGES= # none
 
-TEST_TARGET?=  # empty = means make test fails
-
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 23e803e0b76a -r f6b01c477c2a devel/p5-Search-Elasticsearch/distinfo
--- a/devel/p5-Search-Elasticsearch/distinfo    Tue Nov 08 12:05:30 2016 +0000
+++ b/devel/p5-Search-Elasticsearch/distinfo    Tue Nov 08 12:08:44 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2016/06/19 12:06:07 mef Exp $
+$NetBSD: distinfo,v 1.7 2016/11/08 12:08:44 fhajny Exp $
 
-SHA1 (Search-Elasticsearch-2.03.tar.gz) = 37196ef4a0d01e7244de84e9a325bf9611979d03
-RMD160 (Search-Elasticsearch-2.03.tar.gz) = b26732d65cafe3f11dfdc184f2c65c0a040b4fb5
-SHA512 (Search-Elasticsearch-2.03.tar.gz) = 5b71922b55a8028e77220758ccb079f539be9f8dd7ab3a4ca340aaa2c658529deea41cd87c48409cb61bc715420c0d2c1c0150f4f499e2ab1b5645ebfe4eb65f
-Size (Search-Elasticsearch-2.03.tar.gz) = 142978 bytes
+SHA1 (Search-Elasticsearch-5.01.tar.gz) = c8731a19db37b061f343b966ba30ff251b205019
+RMD160 (Search-Elasticsearch-5.01.tar.gz) = b00b932bb09ddcfe7074c1fcf776a69cf8bec61c
+SHA512 (Search-Elasticsearch-5.01.tar.gz) = b89e9263159d647e8a7bd31026e0d15df5bcec1777d895b1eddc8e319ba6b6a3d6ba37eb979e05ee1e702a950a998d414cbb22b0ac66835e705b366b4c0bb62b
+Size (Search-Elasticsearch-5.01.tar.gz) = 108534 bytes



Home | Main Index | Thread Index | Old Index