Info2: <<
Package: async-interrupt-pm%type_pkg[perl]
# PERL:XS
Version: 1.26
Revision: 1

Type: perl (5.16.2 5.18.2 5.18.4 5.28.2 5.30.2 5.30.3)
Distribution: <<
	(%type_pkg[perl] = 5162) 10.9,
	(%type_pkg[perl] = 5162) 10.10,
	(%type_pkg[perl] = 5162) 10.11,
	(%type_pkg[perl] = 5162) 10.12,
	(%type_pkg[perl] = 5162) 10.13
<<

Description: Allow C/XS libs to interrupt perl async
DescDetail: <<
	This module implements a single feature only of interest to advanced
	perl modules, namely asynchronous interruptions (think "UNIX signals",
	which are very similar).
	
	Sometimes, modules wish to run code asynchronously (in another thread,
	or from a signal handler), and then signal the perl interpreter on
	certain events. One common way is to write some data to a pipe and use
	an event handling toolkit to watch for I/O events. Another way is to
	send a signal. Those methods are slow, and in the case of a pipe, also
	not asynchronous - it won't interrupt a running perl interpreter.
	
	This module implements asynchronous notifications that enable you to
	signal running perl code from another thread, asynchronously, and
	sometimes even without using a single syscall.
<<
License: Artistic/GPL
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
Homepage: https://metacpan.org/dist/Async-Interrupt/

Depends: common-sense-pm, perl%type_pkg[perl]-core
BuildDepends: canary-stability-pm

Source: mirror:cpan:authors/id/M/ML/MLEHMANN/Async-Interrupt-%v.tar.gz
Source-Checksum: SHA256(2b56dd1524afb2d340f30545ad02166efdff6a0b57f3217884dcea073ce6085b)

CompileScript: <<
	#!/bin/sh -ev
	# Doesn't officially support perl higher than 5.22, so bypass the check as suggested
	export PERL_CANARY_STABILITY_NOPROMPT=1
	%{default_script}
<<
UpdatePOD: true
DocFiles: COPYING Changes README

InstallScript: <<
  %{default_script}
  /bin/mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
<<