SPECS: python-nose.spec - pl, formatting, py_postclean, BR: python...
qboosh
qboosh at pld-linux.org
Sun Nov 19 17:12:25 CET 2006
Author: qboosh Date: Sun Nov 19 16:12:25 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, formatting, py_postclean, BR: python 2.5 for .egg-info
---- Files affected:
SPECS:
python-nose.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/python-nose.spec
diff -u SPECS/python-nose.spec:1.3 SPECS/python-nose.spec:1.4
--- SPECS/python-nose.spec:1.3 Sun Nov 19 13:52:40 2006
+++ SPECS/python-nose.spec Sun Nov 19 17:12:20 2006
@@ -1,26 +1,36 @@
# $Revision$
-%define module nose
-%define python_version 2.4
-Summary: A unittest extension offering automatic test suite discovery, simplified test authoring, and output capture
+%define module nose
+Summary: A unittest extension with automatic discovery, simplified authoring, and output capture
+Summary(pl): Rozszerzenie testów jednostkowych z automatycznym wykrywaniem, prostym tworzeniem i przechwytywaniem wyjącia
Name: python-%{module}
Version: 0.9.1
Release: 0.3
License: LGPL
-Group: Libraries
-Source0: http://somethingaboutorange.com/mrl/projects/%{module}/%{module}-%{version}.tar.gz
+Group: Libraries/Python
+Source0: http://somethingaboutorange.com/mrl/projects/nose/%{module}-%{version}.tar.gz
+# Source0-md5: 97771e186ff3680e1abe5566a939966c
URL: http://somethingaboutorange.com/mrl/projects/nose/
-Requires: python >= %{python_version}
-Requires: python-devel-tools
-BuildArch: noarch
+BuildRequires: python >= 1:2.5
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-devel-tools
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-nose provides an alternate test discovery and running process for unittest,
-one that is intended to mimic the behavior of py.test as much as is reasonably
-possible without resorting to magic. By default, nose will run tests in files
-or directories under the current working directory whose names include "test".
-nose also supports doctest tests and may optionally provide a test coverage
-report.
+nose provides an alternate test discovery and running process for
+unittest, one that is intended to mimic the behavior of py.test as
+much as is reasonably possible without resorting to magic. By default,
+nose will run tests in files or directories under the current working
+directory whose names include "test". nose also supports doctest tests
+and may optionally provide a test coverage report.
+
+%description -l pl
+nose dostarcza alternatywny proces wykrywania i uruchamiania testów
+dla testów jednostkowych (unittest), mający przypominać zachowanie
+py.test na ile to możliwe bez uciekania się do magii. Domyślnie nose
+uruchamia testy z tych plików lub katalogów od bieżącego katalogu,
+których nazwa zawiera "test". Obsługuje także testy doctest i
+opcjonalnie przedstawia raport pokrycia testów.
%prep
%setup -qn %{module}-%{version}
@@ -34,16 +44,17 @@
python setup.py install \
--root=$RPM_BUILD_ROOT \
--optimize=2
-
+
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%dir %{py_sitescriptdir}/%{module}
%attr(755,root,root) %{_bindir}/nosetests
%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}-%{version}-py%{python_version}.egg-info
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -51,6 +62,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/11/19 16:12:20 qboosh
+- pl, formatting, py_postclean, BR: python 2.5 for .egg-info
+
Revision 1.3 2006/11/19 12:52:40 emes
- added breq python-devel-tools
@@ -59,4 +73,3 @@
Revision 1.1 2006/11/19 02:42:08 emes
- initial release
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-nose.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list