[Python-modules-commits] r15904 - in packages/beaker/trunk/debian (changelog control rules)

wrar-guest at users.alioth.debian.org wrar-guest at users.alioth.debian.org
Sun Feb 27 15:19:42 UTC 2011


    Date: Sunday, February 27, 2011 @ 15:19:28
  Author: wrar-guest
Revision: 15904

* Enable build-time tests
* Update Standards-Version to 3.9.1 (no change needed)
* Switch from dh_pysupport to dh_python2

Modified:
  packages/beaker/trunk/debian/changelog
  packages/beaker/trunk/debian/control
  packages/beaker/trunk/debian/rules

Modified: packages/beaker/trunk/debian/changelog
===================================================================
--- packages/beaker/trunk/debian/changelog	2011-02-27 15:10:25 UTC (rev 15903)
+++ packages/beaker/trunk/debian/changelog	2011-02-27 15:19:28 UTC (rev 15904)
@@ -1,3 +1,11 @@
+beaker (1.5.4-5) UNRELEASED; urgency=low
+
+  * Enable build-time tests
+  * Update Standards-Version to 3.9.1 (no change needed)
+  * Switch from dh_pysupport to dh_python2
+
+ -- Andrey Rahmatullin <wrar at wrar.name>  Fri, 25 Feb 2011 14:14:55 +0500
+
 beaker (1.5.4-4) unstable; urgency=low
 
   * Upload to unstable

Modified: packages/beaker/trunk/debian/control
===================================================================
--- packages/beaker/trunk/debian/control	2011-02-27 15:10:25 UTC (rev 15903)
+++ packages/beaker/trunk/debian/control	2011-02-27 15:19:28 UTC (rev 15904)
@@ -4,10 +4,12 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Oleksandr Moskalenko <malex at debian.org>, Piotr Ożarowski <piotr at debian.org>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python-support (>= 0.6.4), python-all (>= 2.5.0), python3-all (>= 3.1.2-8),
- python-setuptools (>= 0.6b3-1~), python3-setuptools
-Standards-Version: 3.8.4
-XS-Python-Version: >=2.5
+Build-Depends-Indep: python-all (>= 2.6.6-3), python3-all (>= 3.1.2-8),
+ python-setuptools (>= 0.6b3-1~), python3-setuptools,
+ python-sqlalchemy (>= 0.4), python-webtest, python-nose,
+ python-pycryptopp (>= 0.5.12), python-pylibmc | python-memcache
+Standards-Version: 3.9.1
+X-Python-Version: >=2.5
 X-Python3-Version: >=3.0
 Homepage: http://pypi.python.org/pypi/Beaker
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/beaker/trunk/
@@ -16,7 +18,7 @@
 Package: python-beaker
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python
-XB-Python-Version: ${python:Versions}
+Breaks: ${python:Breaks}
 Recommends: python-pkg-resources
 Suggests: python-sqlalchemy (>= 0.4), python-pycryptopp | python-crypto, python-pylibmc | python-memcache
 Enhances: python-pylons

Modified: packages/beaker/trunk/debian/rules
===================================================================
--- packages/beaker/trunk/debian/rules	2011-02-27 15:10:25 UTC (rev 15903)
+++ packages/beaker/trunk/debian/rules	2011-02-27 15:19:28 UTC (rev 15904)
@@ -29,7 +29,7 @@
 	python setup.py build
 	touch $@
 
-install: $(PYVERS:%=install-python%) $(PY3VERS:%=install-python%)
+install: $(PYVERS:%=install-python%) $(PY3VERS:%=install-python%) $(PYVERS:%=test-python%) 
 install-python%:
 	python$* setup.py install \
 		$(py_setup_install_args) \
@@ -38,6 +38,12 @@
 	-dpkg --compare-versions '$*' lt '2.5' && \
 	 rm -f $(call pkgdir,$*)/$(call py_libdir,$*)/beaker/ext/google.py
 
+test-python%:
+	-
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	python$* setup.py test -vv
+endif
+
 binary-indep: build install
 	dh_testdir
 	dh_testroot
@@ -45,7 +51,7 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_pysupport
+	dh_python2
 	dh_python3
 	dh_compress -X.py
 	dh_fixperms




More information about the Python-modules-commits mailing list