Package: genshi
Version: 0.6-1

genhi has a test suite included in its source and it would be great if
you could enable it at the build time.
Attached is a patch used by Ubuntu to enable build-time tests

-- 
Krzysztof Klimonda <[email protected]>
diff -uNr genshi-0.6.debian/debian/rules genshi-0.6/debian/rules
--- genshi-0.6.debian/debian/rules	2010-04-23 09:27:34.000000000 +0200
+++ genshi-0.6/debian/rules	2010-05-15 20:49:16.208323894 +0200
@@ -16,6 +16,9 @@
 # Enable the C extension
 DEB_PYTHON_SETUP_CMD += --with-speedups
 
+binary-install/python-genshi::
+	PYTHONPATH=$(cdbs_python_destdir)/usr/lib/pyshared/python$(cdbs_python_current_version) python setup.py test || exit 1
+
 clean::
 	-rm -rf $(CURDIR)/Genshi.egg-info

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to