packages: perl-Async-MergePoint/perl-Async-MergePoint.spec - pl

qboosh qboosh at pld-linux.org
Sun Mar 6 19:48:16 CET 2011


Author: qboosh                       Date: Sun Mar  6 18:48:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl

---- Files affected:
packages/perl-Async-MergePoint:
   perl-Async-MergePoint.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/perl-Async-MergePoint/perl-Async-MergePoint.spec
diff -u packages/perl-Async-MergePoint/perl-Async-MergePoint.spec:1.1 packages/perl-Async-MergePoint/perl-Async-MergePoint.spec:1.2
--- packages/perl-Async-MergePoint/perl-Async-MergePoint.spec:1.1	Tue Oct 27 20:34:32 2009
+++ packages/perl-Async-MergePoint/perl-Async-MergePoint.spec	Sun Mar  6 19:48:11 2011
@@ -7,14 +7,14 @@
 %define	pdir	Async
 %define	pnam	MergePoint
 Summary:	Async::MergePoint - resynchronise diverged control flow
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8):	Async::MergePoint - ponowna synchronizacja rozdzielonego sterowania
 Name:		perl-Async-MergePoint
 Version:	0.03
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Async-MergePoint-%{version}.tar.gz
+Source0:	http://www.cpan.org/modules/by-authors/id/P/PE/PEVANS/Async-MergePoint-%{version}.tar.gz
 # Source0-md5:	f4a6f9a9dc0a1748f503c01893d544cc
 URL:		http://search.cpan.org/dist/Async-MergePoint/
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -37,26 +37,18 @@
 can then be used to wait for all of the steps to complete, before
 passing the combined result of each step on to the next stage.
 
-A merge point maintains a set of outstanding operations it is waiting
-on; these are arbitrary string values provided at the object's
-construction. Each time the done() method is called, the named item is
-marked as being complete. When all of the required items are so
-marked, the on_finished continuation is invoked.
-
-For use cases where code may be split across several different lexical
-scopes, it may not be convenient or possible to share a lexical
-variable, to pass on the result of some asynchronous operation. In
-these cases, when an item is marked as complete a value can also be
-provided which contains the results of that step. The on_finished
-callback is passed a hash (in list form, rather than by reference) of
-the collected item values.
-
-This module was originally part of the IO::Async distribution, but was
-removed under the inspiration of Pedro Melo's Async::Hooks
-distribution, because it doesn't itself contain anything IO-specific.
-
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Często w logice programu trzeba wykonać kilka czynności niezależnych
+od siebie, ale ich łączny wynik jest potrzebny przed przejściem do
+następnego kroku. W kodzie synchronicznym zwykle wykonuje się je
+sekwencyjnie.
+
+W programie asynchronicznym lub sterowanym zdarzeniami można zrobić
+tak samo, ale jeśli każdy z kroków obejmuje jakiś czas bezczynności
+we/wy, lepszą wydajność całkowitą osiąga się wykonując czynności
+równolegle. W takim wypadku można wykorzystać obiekt Async::MergePoint
+w celu zaczekania na wykonanie wszystkich czynności przed przekazaniem
+wyniku do następnego etapu.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -81,8 +73,8 @@
 %defattr(644,root,root,755)
 %doc Changes README
 %dir %{perl_vendorlib}/Async
-%{perl_vendorlib}/Async/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Async/MergePoint.pm
+%{_mandir}/man3/Async::MergePoint.3pm*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +82,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/03/06 18:48:11  qboosh
+- pl
+
 Revision 1.1  2009/10/27 19:34:32  amateja
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Async-MergePoint/perl-Async-MergePoint.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list