[packages/python-testtools] - updated to 0.9.34; requires extras

qboosh qboosh at pld-linux.org
Tue Dec 24 23:34:54 CET 2013


commit 0011d28a88eaa4d304e21fa19805f72b8f3cf8bf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 24 23:35:04 2013 +0100

    - updated to 0.9.34; requires extras

 python-testtools.spec | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)
---
diff --git a/python-testtools.spec b/python-testtools.spec
index 983c3f9..315e903 100644
--- a/python-testtools.spec
+++ b/python-testtools.spec
@@ -3,18 +3,24 @@
 %bcond_without	tests	# do not perform "make test"
 
 Summary:	Extensions to the Python unit testing framework
+Summary(pl.UTF-8):	Rozszerzenie szkieletu testów jednostkowych Pythona
 Name:		python-testtools
-Version:	0.9.15
-Release:	3
+Version:	0.9.34
+Release:	1
 License:	MIT
 Group:		Development/Tools
+Source0:	https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
+# Source0-md5:	51d37e7376a70cee40cf17b44889fc88
 URL:		https://launchpad.net/testtools
-Source0:	http://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
-# Source0-md5:	01a30afb126de49de4998c255259d312
 BuildRequires:	python-Sphinx
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 1:2.6
+%if %{with tests}
+BuildRequires:	python-extras
+BuildRequires:	python-mimeparse
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	sphinx-pdg
+Requires:	python-extras
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,14 +28,22 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 testtools is a set of extensions to the Python standard library's unit
 testing framework.
 
+%description -l pl.UTF-8
+testtools to zestaw rozszerzeń szkieletu testów jednostkowych z
+biblioteki standardowej Pythona.
+
 %package doc
 Summary:	Documentation for %{name}
+Summary(pl.UTF-8):	Dokumentacja do pakietu %{name}
 Group:		Documentation
 Requires:	%{name} = %{version}-%{release}
 
 %description doc
 This package contains HTML documentation for %{name}.
 
+%description doc -l pl.UTF-8
+Dokumentacja HTML do pakietu %{name}.
+
 %prep
 %setup -q -n testtools-%{version}
 
@@ -57,12 +71,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE NEWS README
+%doc LICENSE NEWS README.rst
 %dir %{py_sitescriptdir}/testtools
 %{py_sitescriptdir}/testtools/*.py[co]
-%{py_sitescriptdir}/testtools-*.egg-info
+%dir %{py_sitescriptdir}/testtools/matchers
+%{py_sitescriptdir}/testtools/matchers/*.py[co]
 %dir %{py_sitescriptdir}/testtools/testresult
 %{py_sitescriptdir}/testtools/testresult/*.py[co]
+%{py_sitescriptdir}/testtools-%{version}-py*.egg-info
 
 %files doc
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-testtools.git/commitdiff/0011d28a88eaa4d304e21fa19805f72b8f3cf8bf



More information about the pld-cvs-commit mailing list