SPECS: perl-Test-Deep.spec - pl, generic URL
qboosh
qboosh at pld-linux.org
Sat Nov 19 15:23:39 CET 2005
Author: qboosh Date: Sat Nov 19 14:23:39 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, generic URL
---- Files affected:
SPECS:
perl-Test-Deep.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/perl-Test-Deep.spec
diff -u SPECS/perl-Test-Deep.spec:1.1 SPECS/perl-Test-Deep.spec:1.2
--- SPECS/perl-Test-Deep.spec:1.1 Fri Nov 18 20:36:37 2005
+++ SPECS/perl-Test-Deep.spec Sat Nov 19 15:23:33 2005
@@ -7,7 +7,7 @@
%define pdir Test
%define pnam Deep
Summary: Test::Deep - Extremely flexible deep comparison
-#Summary(pl):
+Summary(pl): Test::Deep - bardzo elastyczne głębokie porównania
Name: perl-Test-Deep
Version: 0.092
Release: 1
@@ -16,6 +16,7 @@
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 2b08c439013db230dc153cf52553fd7a
+URL: http://search.cpan.org/dist/Test-Deep/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
@@ -26,22 +27,36 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Test::Deep gives you very flexible ways to check that the result you got is
-the result you were expecting. At it's simplest it compares two structures
-by going through each level, ensuring that the values match, that arrays and
-hashes have the same elements and that references are blessed into the
-correct class. It also handles circular data structures without getting
-caught in an infinite loop.
-
-Where it becomes more interesting is in allowing you to do something besides
-simple exact comparisons. With strings, the eq operator checks that 2
-strings are exactly equal but sometimes that's not what you want. When you
-don't know exactly what the string should be but you do know some things
-about how it should look, eq is no good and you must use pattern matching
-instead. Test::Deep provides pattern matching for complex data structures
-
-# %description -l pl
-# TODO
+Test::Deep gives you very flexible ways to check that the result you
+got is the result you were expecting. At it's simplest it compares two
+structures by going through each level, ensuring that the values
+match, that arrays and hashes have the same elements and that
+references are blessed into the correct class. It also handles
+circular data structures without getting caught in an infinite loop.
+
+Where it becomes more interesting is in allowing you to do something
+besides simple exact comparisons. With strings, the eq operator checks
+that 2 strings are exactly equal but sometimes that's not what you
+want. When you don't know exactly what the string should be but you do
+know some things about how it should look, eq is no good and you must
+use pattern matching instead. Test::Deep provides pattern matching for
+complex data structures.
+
+%description -l pl
+Test::Deep udostępnia bardzo elastyczne sposoby sprawdzania, czy
+otrzymany wynik jest tym, który był oczekiwany. W najprostszym
+przypadku porównuje dwie struktury przechodząc po każdym poziomie,
+sprawdzając czy wartości się zgadzają, czy tablice i hasze mają te
+same elementy i czy referencje są pobłogosławione do właściwych klas.
+Obsługuje także zapętlone struktury danych bez wpadania w nieskończoną
+pętlę.
+
+Bardziej interesujące jest to, że pozwala na robienie czegoś więcej
+niż proste przyrównania. Dla łańcuchów znaków operator eq sprawdza,
+czy 2 łańcuchy są dokładnie takie same, ale czasem nie jest to tym,
+co chcemy. Jeśli nie wiemy dokładnie, jaki powinien być łańcuch, ale
+wiemy coś o tym, jak powinien wyglądać - Test::Deep pozwala na
+dopasowywanie wzorców dla złożonych struktur danych.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -75,6 +90,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/11/19 14:23:33 qboosh
+- pl, generic URL
+
Revision 1.1 2005/11/18 19:36:37 migo
- initial revision
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Test-Deep.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list