packages: python-WsgiService/python-WsgiService.spec - Release 1.1. Add...
matkor
matkor at pld-linux.org
Mon Jan 30 14:02:26 CET 2012
Author: matkor Date: Mon Jan 30 13:02:26 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- Release 1.1.
Added non-woking tests. Seems python-WebOb >= 1.2b2 is needed.
---- Files affected:
packages/python-WsgiService:
python-WsgiService.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/python-WsgiService/python-WsgiService.spec
diff -u packages/python-WsgiService/python-WsgiService.spec:1.1 packages/python-WsgiService/python-WsgiService.spec:1.2
--- packages/python-WsgiService/python-WsgiService.spec:1.1 Mon Jan 30 12:00:06 2012
+++ packages/python-WsgiService/python-WsgiService.spec Mon Jan 30 14:02:21 2012
@@ -1,10 +1,15 @@
# $Revision$, $Date$
+# TODO: Update when python-WebOb 1.2 is released
+# TODO: Add tests
+# Conditional build:
+%bcond_with tests # do not perform "make test"
+
%define module WsgiService
Summary: WSGI framework for easy creation of REST services
Summary(pl.UTF-8): Narzędzie do łatwego tworzenia usług REST.
Name: python-%{module}
Version: 0.3
-Release: 1
+Release: 1.1
License: BSD
Group: Development/Languages/Python
# http://pypi.python.org/packages/source/W/WsgiService/WsgiService-0.3.zip#md5=f689f60aa16cb84aeccb72f621ed3156
@@ -13,6 +18,13 @@
URL: http://pypi.python.org/pypi/WsgiService
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
+# Sphinx-PyPI-upload not really needed byt mentioned as needed in setup.py
+# BuildRequires: python-Sphinx-PyPI-upload
+# Add it when python-WebOb will be relased with stable 1.2
+# BuildRequires: python-WebOb >= 1.2b2
+# Test requirements
+%{?with_tests:BuildRequires: python-nose }
+%{?with_tests:BuildRequires: python-mox }
Requires: python-decorator
Requires: python-modules
BuildArch: noarch
@@ -51,6 +63,7 @@
%build
%{__python} setup.py build
+%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
@@ -86,6 +99,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2012/01/30 13:02:21 matkor
+
+- Release 1.1.
+ Added non-woking tests. Seems python-WebOb >= 1.2b2 is needed.
+
Revision 1.1 2012/01/30 11:00:06 matkor
- Initial version 0.3-1.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-WsgiService/python-WsgiService.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list