summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2019-06-23 19:52:10 -0500
committerAndrej Shadura <andrew.shadura@collabora.co.uk>2019-06-23 19:53:53 -0500
commit4156c7b67d908a2312d0f7daba41f4899a9f4215 (patch)
tree7fcbb79b1c246dc7e51c70a7d5c608023418d2f0
parentea9182650c87e42a1913b810b14b922469b782e8 (diff)
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control49
-rw-r--r--debian/copyright28
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch2
8 files changed, 94 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2d0760c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libevent-distributor-perl (0.05-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Andrej Shadura <andrewsh@debian.org> Sun, 23 Jun 2019 19:53:48 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f11c812
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: libevent-distributor-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Andrej Shadura <andrewsh@debian.org>
+Build-Depends: debhelper (>= 11),
+ libmodule-build-perl (>= 0.4004),
+ perl
+Build-Depends-Indep: libfuture-perl (>= 0.15),
+ libsyntax-keyword-try-perl,
+ libtest-fatal-perl
+Standards-Version: 4.3.0
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libevent-distributor-perl
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libevent-distributor-perl.git
+Homepage: https://metacpan.org/release/Event-Distributor
+Testsuite: autopkgtest-pkg-perl
+
+Package: libevent-distributor-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends},
+ libfuture-perl (>= 0.15),
+ libsyntax-keyword-try-perl
+Description: simple in-process pub/sub mechanism
+ Instances of this class provide a simple publish/subscribe mechanism within a
+ single process, for either synchronous or Future-based asynchronous use.
+ .
+ A given instance has a set of named events. Subscribers are CODE references
+ attached to a named event. Publishers can declare the existence of a named
+ event, and then later invoke it by passing in arguments, which are
+ distributed to all of the subscribers of that named event.
+ .
+ It is specifically not an error to request to subscribe an event that has not
+ yet been declared, in order to allow multiple modules of code to be loaded
+ and subscribe events the others publish, without introducing loading order
+ dependencies. An event only needs to be declared by the time it is fired.
+ .
+ Natively all of the events provided by the distributor are fully-asynchronous
+ in nature. Each subscriber is expected to return a Future instance which will
+ indicate its completion; the results of these are merged into a single future
+ returned by the fire method itself. However, to support synchronous or
+ semi-synchronous programs using it, both the observe and invoke methods also
+ have a synchronous variant. Note however, that this module does not provide
+ any kind of asynchronous detachment of synchronous functions; using the
+ /subscribe_sync method to subscribe a long-running blocking function will
+ cause the fire_* methods to block until that method returns. To achieve a
+ truely-asynchronous experience the attached code will need to use some kind
+ of asynchronous event system.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1018392
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://metacpan.org/release/Event-Distributor
+Upstream-Contact: Paul Evans <leonerd@leonerd.org.uk>
+Upstream-Name: Event-Distributor
+
+Files: *
+Copyright: 2014, 2015, 2018, Paul Evans <leonerd@leonerd.org.uk>
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2019, Andrej Shadura <andrewsh@debian.org>
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..c7d9887
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Archive: CPAN
+Contact: Paul Evans <leonerd@leonerd.org.uk>
+Name: Event-Distributor
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0a43a24
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://metacpan.org/release/Event-Distributor .*/Event-Distributor-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$