3ca9f7c7a3
0.45 2020-04-22 [CHANGES] * API changes to make duck-typing closer to Promises/A+ et.al: + Allow sequencing methods to yield non-Future results; upgrade them to being Future-wrapped + Add ->resolve and ->reject as aliases of ->done and ->fail * Recognise PERL_FUTURE_STRICT environment variable to restore previous sequencing method behaviour [BUGFIXES] * ->without_cancel still needs to cancel result if caller is cancelled * Ensure all Future::AsyncAwait interop methods properly respect subclassing
23 lines
766 B
Makefile
23 lines
766 B
Makefile
# $NetBSD: Makefile,v 1.22 2020/04/26 13:56:06 mef Exp $
|
|
|
|
DISTNAME= Future-0.45
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://metacpan.org/release/Future
|
|
COMMENT= Represent an operation awaiting completion
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
TEST_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
|
|
TEST_DEPENDS+= p5-Test-Identity-[0-9]*:../../devel/p5-Test-Identity
|
|
TEST_DEPENDS+= p5-Test-Refcount-[0-9]*:../../devel/p5-Test-Refcount
|
|
|
|
USE_LANGUAGES= #empty
|
|
PERL5_MODULE_TYPE= Module::Build
|
|
PERL5_PACKLIST= auto/Future/.packlist
|
|
PERL5_REQD+= 5.10.1 # Test::More >= 0.88
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|