diff options
author | Kent Fredric <kentfredric@gmail.com> | 2016-03-06 20:35:45 +1300 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-03-09 21:48:19 +0100 |
commit | 911c6fe2eec080ff3664dba4b85cfb483b8a96d2 (patch) | |
tree | 08ad05dd5a145bfe19d46ab5975133e48a48676e /dev-perl/Net-XMPP | |
parent | dev-perl/LWP-Online: Added to tree at version 1.80.0-r2 (diff) | |
download | gentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.tar.gz gentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.tar.bz2 gentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.zip |
dev-perl/Net-XMPP: Bump to version 1.50.0
- EAPI6
- Fix wrong LICENSE
- Drop ~keywords except ~amd64 and ~x86 due to new dep LWP-Online
- Add USE="examples" option
- Network tests patched/excluded better.
Upstream:
- Some Memory leaks fixed
- Google Talk connection crash fixed.
- Support for virtual domains
- SSL Verification fixes
- Better null/undef ssl param handling
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/Net-XMPP')
-rw-r--r-- | dev-perl/Net-XMPP/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild | 44 | ||||
-rw-r--r-- | dev-perl/Net-XMPP/files/1.05-no-network-tests.patch | 28 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-perl/Net-XMPP/Manifest b/dev-perl/Net-XMPP/Manifest index 089aa6f37fdf..7dcb553ebc52 100644 --- a/dev-perl/Net-XMPP/Manifest +++ b/dev-perl/Net-XMPP/Manifest @@ -1 +1,2 @@ DIST Net-XMPP-1.02.tar.gz 121653 SHA256 69761441e214042b10b6608afaffbb1b5262e4aaaddb4b315dbf2ea48c4742ea SHA512 7a373e627de7e909ef50d6525b438dd7f094c7e6ad3cb66fff6087048fe9b127e376cf45d1621e55deec2c59fe043ff19f180d0b264fa1dd0c392701dfc43497 WHIRLPOOL e3238e9dac4caf00de645c9eadbc530b725a6872a89ee82043931b7d21a6375419554020dc573aeed3b4415f8a65ddc4685c497bfe1951dd5d802d4fb8557b70 +DIST Net-XMPP-1.05.tar.gz 103876 SHA256 4c02200577c2b235a163a09bfaa152bf000fe5f1499ad80ce16ab66808949362 SHA512 cdd5474fcbdf7ff6c7d1247f9828f5dfb1828c258af366a831bab8e5faab423b73aa16c34228818526ebcc3180ef0ccc52d6e6cb61e2fe689458b87ec7fab699 WHIRLPOOL 9aee53ba25515722c88c4e810fdae78751b811426c70df39d57c2b606436278c143f2592230f605fee49edab7617cd37faf1e1fd20eaed7908f364049e4ee3da diff --git a/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild b/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild new file mode 100644 index 000000000000..94cf1b97f1c1 --- /dev/null +++ b/dev-perl/Net-XMPP/Net-XMPP-1.50.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=DAPATRICK +DIST_VERSION=1.05 +inherit perl-module + +DESCRIPTION="XMPP Perl Library" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test examples" + +RDEPEND=" + >=dev-perl/Authen-SASL-2.120.0 + virtual/perl-Digest-SHA + virtual/perl-Scalar-List-Utils + >=dev-perl/XML-Stream-1.240.0 +" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.360.300 + test? ( + >=dev-perl/LWP-Online-1.70.0 + >=dev-perl/YAML-Tiny-1.410.0 + >=virtual/perl-Test-Simple-0.920.0 + ) +" +src_test() { + eapply "${FILESDIR}/${DIST_VERSION}-no-network-tests.patch" + perl-module_src_test +} + +src_install() { + perl-module_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} diff --git a/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch new file mode 100644 index 000000000000..921121805def --- /dev/null +++ b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch @@ -0,0 +1,28 @@ +diff -Naur Net-XMPP-1.05/t/gtalk.t Net-XMPP-1.05b/t/gtalk.t +--- Net-XMPP-1.05/t/gtalk.t 2014-12-22 21:28:51.000000000 +0000 ++++ Net-XMPP-1.05b/t/gtalk.t 2016-03-06 07:14:13.313580716 +0000 +@@ -2,7 +2,12 @@ + use warnings; + + use Test::More; +- ++# https://github.com/dap/Net-XMPP/issues/11 ++BEGIN { ++ if ($ENV{NO_NETWORK_TESTING}) { ++ Test::More->import(skip_all => "NO_NETWORK_TESTS set"); ++ } ++} + ######################## XML::Stream mocking starts + #{ + # package XML::Stream; +diff -Naur Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm +--- Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm 2014-12-22 21:28:51.000000000 +0000 ++++ Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm 2016-03-06 06:59:57.227261659 +0000 +@@ -23,6 +23,7 @@ + } + + sub conn_is_available { ++ return if $ENV{NO_NETWORK_TESTING}; + return online(); + } + |