1 |
commit: 6ebf6a94ad4d3d00643cbbd03c97b9c05bbf5fb5 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 22:59:25 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 23:00:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebf6a94 |
7 |
|
8 |
dev-perl/AnyEvent: Bump to version 7.170.0 |
9 |
|
10 |
- EAPI7-ify |
11 |
- Improve testing situation to be clearer to testers what additional |
12 |
steps should be done to maximise test coverage. |
13 |
|
14 |
Upstream: |
15 |
- AnyEvent::Handle::tls_detect now passes seperate major and minor |
16 |
values as documentation suggested, instead of only one. |
17 |
- Workaround Net::SSLeay lacking openssl 1.1 porting. |
18 |
- AnyEvent::DNS::dns_unpack now stores original packet in the __ member |
19 |
to allow decoding otherwise undecodable resource records containing |
20 |
compressed domain names |
21 |
- AnyEvent::Socket::parse_ipv6 now handles ipv4 addresses as documented. |
22 |
- Support CAA records |
23 |
- Add freenom and cloudflare NS as DNS fallback |
24 |
- AnyEvent::Strict now properly wards against watchers on files when |
25 |
file handle passed is a file descriptor |
26 |
- Add ffdhe group dh parameters and use fdhe3072 as default instead of |
27 |
schmorp1539 |
28 |
- AnyEvent::Log now reassesses logging status of loggers when contexts |
29 |
were changed via attach/detach/slaves, allowing more logging through |
30 |
- Workaround old openssl in RHEL7 formatting dh parameters differently |
31 |
|
32 |
Package-Manager: Portage-2.3.97, Repoman-2.3.22 |
33 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
34 |
|
35 |
dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild | 71 +++++++++++++++++++++++++++++++ |
36 |
dev-perl/AnyEvent/Manifest | 1 + |
37 |
2 files changed, 72 insertions(+) |
38 |
|
39 |
diff --git a/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild b/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild |
40 |
new file mode 100644 |
41 |
index 00000000000..068d6a31520 |
42 |
--- /dev/null |
43 |
+++ b/dev-perl/AnyEvent/AnyEvent-7.170.0.ebuild |
44 |
@@ -0,0 +1,71 @@ |
45 |
+# Copyright 1999-2020 Gentoo Authors |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI=7 |
49 |
+ |
50 |
+DIST_AUTHOR=MLEHMANN |
51 |
+DIST_VERSION=7.17 |
52 |
+inherit perl-module eutils virtualx |
53 |
+ |
54 |
+DESCRIPTION="Provides a uniform interface to various event loops" |
55 |
+ |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" |
58 |
+ |
59 |
+BDEPEND=" |
60 |
+ >=virtual/perl-ExtUtils-MakeMaker-6.520.0 |
61 |
+ dev-perl/Canary-Stability |
62 |
+" |
63 |
+PERL_RM_FILES=( |
64 |
+ # Requires AnyEvent::AIO form AnyEvent-AIO, not in ::gentoo |
65 |
+ t/12_io_ioaio.t |
66 |
+ # Requires Fltk from Fl, not in ::gentoo |
67 |
+ t/61_fltk_0{1_basic,2_signals,3_child,4_condvar,5_dns,7_io,9_multi}.t |
68 |
+ # Requires Cocoa::EventLoop, not in ::gentoo |
69 |
+ t/62_cocoa_0{1_basic,2_signals,3_child,4_condvar,5_dns,7_io,9_multi}.t |
70 |
+ # Requires IO::Async, not in ::gentoo |
71 |
+ t/66_ioasync_0{1_basic,2_signals,3_child,4_condvar,5_dns,7_io,9_multi}.t |
72 |
+ # Requires UV, not in ::gentoo |
73 |
+ t/70_uv_0{1_basic,2_signals,3_child,4_condvar,5_dns,7_io,9_multi}.t |
74 |
+ |
75 |
+) |
76 |
+pkg_postinst() { |
77 |
+ optfeature "improved event-loop performance" '>=dev-perl/EV-4.0.0' |
78 |
+ optfeature "improved performance of Guard objects" '>=dev-perl/Guard-1.20.0' |
79 |
+ optfeature "JSON relays over AnyEvent::Handle" '>=dev-perl/JSON-2.90.0' '>=dev-perl/JSON-XS-2.200.0' |
80 |
+ optfeature "SSL support for AnyEvent::Handle" '>=dev-perl/Net-SSLeay-1.330.0' |
81 |
+ # AnyEvent::AIO |
82 |
+ # Async::Interrupts |
83 |
+} |
84 |
+src_test() { |
85 |
+ # optional: |
86 |
+ # - install dev-perl/glib-perl for Glib for AnyEvent::Impl::Glib |
87 |
+ # - install dev-perl/Event for AnyEvent::Impl::Event |
88 |
+ # - install dev-perl/Tk for AnyEvent::Impl::Tk |
89 |
+ # - install dev-perl/POE for AnyEvent::Impl::POE |
90 |
+ # - install dev-perl/EV for AnyEvent::Impl::EV |
91 |
+ if ! has "network" ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} || |
92 |
+ ! has_version "dev-perl/glib-perl" || |
93 |
+ ! has_version "dev-perl/Event" || |
94 |
+ ! has_version "dev-perl/Tk" || |
95 |
+ ! has_version "dev-perl/POE" || |
96 |
+ ! has_version "dev-perl/EV"; then |
97 |
+ ewarn "This package needs network access and manually installed dependencies" |
98 |
+ ewarn "for comprehensive testing. For details, see:" |
99 |
+ ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}" |
100 |
+ fi |
101 |
+ ( # export leak guard |
102 |
+ export PERL_ANYEVENT_LOOP_TESTS=1 |
103 |
+ |
104 |
+ if has "network" ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then |
105 |
+ einfo "Network Tests Enabled" |
106 |
+ export PERL_ANYEVENT_NET_TESTS=1 |
107 |
+ fi |
108 |
+ # This loop requires a display to even load the module |
109 |
+ if has_version dev-perl/Tk; then |
110 |
+ virtx perl-module_src_test |
111 |
+ else |
112 |
+ perl-module_src_test |
113 |
+ fi |
114 |
+ ) |
115 |
+} |
116 |
|
117 |
diff --git a/dev-perl/AnyEvent/Manifest b/dev-perl/AnyEvent/Manifest |
118 |
index ad8c93e3920..5a25a532b46 100644 |
119 |
--- a/dev-perl/AnyEvent/Manifest |
120 |
+++ b/dev-perl/AnyEvent/Manifest |
121 |
@@ -1 +1,2 @@ |
122 |
DIST AnyEvent-7.14.tar.gz 301645 BLAKE2B 5095506e02ae90953d3990609ad77c45d602bd38a696ea054d329ee4e9fb526ac799ba45eb38f274835248d7e593257e7203daf1a7f17d5086f89413b93ddecf SHA512 98e7b9e06cf74b99d3407a25b60f3b825fceed3bae43505e1fb90785e24bd88ae25955cff25d29b4cc96957db7f4f5203d19ad2365abb4e3a3227fd91a16fb25 |
123 |
+DIST AnyEvent-7.17.tar.gz 304845 BLAKE2B 162b02080f009595a48b4cb7d205763fa96e97af5f9efbb9f1611bcf365ce3d1ded57d6bb45bd433a11346b12cfabcd1f44dc944bf0c9c1f85abfab355d9a32c SHA512 c553cce80fa14e2f91031c569d1c30acf470871ddd1c122fa3dd36cd1ba5b7002e7ba1dea4c950d889c7c661b81042dd97975e195a5325190ad644babff81e0a |