From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E8C981396D0 for ; Thu, 5 Oct 2017 11:03:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8408E0BEC; Thu, 5 Oct 2017 11:03:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BCF5E0BEC for ; Thu, 5 Oct 2017 11:03:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 006F3341779 for ; Thu, 5 Oct 2017 11:03:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEFAF9078 for ; Thu, 5 Oct 2017 11:03:21 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1507201389.4aadbf045debeb60a050f4dc3ec167925bba151f.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Coro/files/, dev-perl/Coro/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Coro/Coro-6.514.0.ebuild dev-perl/Coro/Manifest dev-perl/Coro/files/6.514.0-ev-config.patch dev-perl/Coro/metadata.xml X-VCS-Directories: dev-perl/Coro/ dev-perl/Coro/files/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 4aadbf045debeb60a050f4dc3ec167925bba151f X-VCS-Branch: master Date: Thu, 5 Oct 2017 11:03:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 659a844a-d626-45fa-baf4-82b7fc1fee79 X-Archives-Hash: 7b23be471deb3c430f6f56637ba6c18d commit: 4aadbf045debeb60a050f4dc3ec167925bba151f Author: Kent Fredric gentoo org> AuthorDate: Thu Oct 5 05:30:55 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Oct 5 11:03:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aadbf04 dev-perl/Coro: Bump to version 6.514.0 - Patches all upstremed - Add USE="examples" - Fix automagic building of EV/Event Upstream: - Fixes for supporting API changes in Perl 5.22, 5.24, 5.26... - disable FORTIFY_SOURCE to avoid fortifed-but-broken longjmp in some libc's - Partially improved JIT allocation - Fixes for statevar types on newer perls - safe_cancel no longer croaks from already destroyed threads. Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-perl/Coro: fix automagic builds Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-perl/Coro/Coro-6.514.0.ebuild | 38 +++++++++++++++ dev-perl/Coro/Manifest | 1 + dev-perl/Coro/files/6.514.0-ev-config.patch | 74 +++++++++++++++++++++++++++++ dev-perl/Coro/metadata.xml | 4 ++ 4 files changed, 117 insertions(+) diff --git a/dev-perl/Coro/Coro-6.514.0.ebuild b/dev-perl/Coro/Coro-6.514.0.ebuild new file mode 100644 index 00000000000..5cbecd4664f --- /dev/null +++ b/dev-perl/Coro/Coro-6.514.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MLEHMANN +DIST_VERSION=6.514 +DIST_EXAMPLES=( "eg/*" ) +inherit perl-module + +DESCRIPTION="The only real threads in perl" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ev event" + +RDEPEND=" + >=dev-perl/AnyEvent-5 + ev? ( >=dev-perl/EV-4.0.0 ) + event? ( >=dev-perl/Event-0.890.0 ) + >=dev-perl/Guard-0.500.0 + virtual/perl-Scalar-List-Utils + >=virtual/perl-Storable-2.150.0 + dev-perl/common-sense +" +DEPEND="${RDEPEND} + dev-perl/Canary-Stability + >=virtual/perl-ExtUtils-MakeMaker-6.520.0 +" +PATCHES=( + "${FILESDIR}/${PV}-ev-config.patch" +) +src_configure() { + local myopts=() + use ev && myopts+=("EV") + use event && myopts+=( "Event" ) + GENTOO_OPTS="${myopts[@]}" perl-module_src_configure +} diff --git a/dev-perl/Coro/Manifest b/dev-perl/Coro/Manifest index 59f0efd6346..2daf9235223 100644 --- a/dev-perl/Coro/Manifest +++ b/dev-perl/Coro/Manifest @@ -1 +1,2 @@ DIST Coro-6.511.tar.gz 195173 SHA256 7e3ed48cdb3f3742d94ae3ab3d088c3ab818c521f8681da6c5f656bd49ac53ea SHA512 c3e591539e3313403496d3396e68147942e45590732bbaed7b3020fdc79e1e726c3addc3fc5d5d3e173c2b3faff4de2a9d0bae19f91cdc684285c2751b809681 WHIRLPOOL 3a56fca3116d1b2b6cd727078ebed9811aa627756c08c439ee6bceabba75117c904b692bf147f251dcd978abcf63e0d0f24e9ef068adf1592c4ff9539ae64daf +DIST Coro-6.514.tar.gz 195122 SHA256 d83343839290a72db302a14b1ad86f0069f0bba6d45f947252d9db490edecd62 SHA512 340eea9bc2a33c40813f4852d3a12ff947426fd329a4867a36262a9ece936c9e43d36ba5e4355d1f8f91cb40690de3bb1637ab0b0651518c22fb17a34ee90b37 WHIRLPOOL 8a4f5c4e7e58698ac70dc6d958405e65f98675526637f1a329cc3f4e244d6d0b27b5bd1b30ea742619f98ea2d57d507745f75feb78c7906b2e3bbd792ae9baf5 diff --git a/dev-perl/Coro/files/6.514.0-ev-config.patch b/dev-perl/Coro/files/6.514.0-ev-config.patch new file mode 100644 index 00000000000..7b775b557ed --- /dev/null +++ b/dev-perl/Coro/files/6.514.0-ev-config.patch @@ -0,0 +1,74 @@ +From bada194851e0a6839f78e811bfc63c2d5e8877dc Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Thu, 5 Oct 2017 22:02:38 +1300 +Subject: Make EV/Event not auto-compiled, but rely on configuration + +--- + Makefile.PL | 51 ++++++++++----------------------------------------- + 1 file changed, 10 insertions(+), 41 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index e58e210..25243ff 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -17,47 +17,16 @@ EOF + + print "*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\n\n"; + +-if (eval { require Event }) { +- if ($Event::VERSION < 0.86 or $Event::VERSION == 0.88) { +- print <VERSION(0.89); ++}; ++$EV and do { ++ require EV; ++ EV->VERSION(4.0); ++}; + + WriteMakefile( + dist => { +-- +2.14.1 + diff --git a/dev-perl/Coro/metadata.xml b/dev-perl/Coro/metadata.xml index 9595d5b9e4c..b9f208cf254 100644 --- a/dev-perl/Coro/metadata.xml +++ b/dev-perl/Coro/metadata.xml @@ -5,6 +5,10 @@ perl@gentoo.org Gentoo Perl Project + + Build support for using dev-perl/EV as an event-loop via Coro::EV + Build support for using dev-perl/Event as an event-loop via Coro::Event + Coro Coro