[Python-apps-commits] r4329 - in packages/pylint/trunk/debian (TODO changelog rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Dec 19 20:00:54 UTC 2009
Date: Saturday, December 19, 2009 @ 20:00:48
Author: morph
Revision: 4329
* debian/{rules, TODO}
- run tests at build-time
Modified:
packages/pylint/trunk/debian/changelog
packages/pylint/trunk/debian/rules
Deleted:
packages/pylint/trunk/debian/TODO
Deleted: packages/pylint/trunk/debian/TODO
===================================================================
--- packages/pylint/trunk/debian/TODO 2009-12-19 18:08:56 UTC (rev 4328)
+++ packages/pylint/trunk/debian/TODO 2009-12-19 20:00:48 UTC (rev 4329)
@@ -1 +0,0 @@
-- use tests (run at build time + install)
Modified: packages/pylint/trunk/debian/changelog
===================================================================
--- packages/pylint/trunk/debian/changelog 2009-12-19 18:08:56 UTC (rev 4328)
+++ packages/pylint/trunk/debian/changelog 2009-12-19 20:00:48 UTC (rev 4329)
@@ -5,8 +5,10 @@
- removed 'TODO', no more shipped
* debian/copyright
- updated copyright information, also adding new files with different info
+ * debian/{rules, TODO}
+ - run tests at build-time
- -- Sandro Tosi <morph at debian.org> Sat, 19 Dec 2009 19:08:11 +0100
+ -- Sandro Tosi <morph at debian.org> Sat, 19 Dec 2009 20:59:58 +0100
pylint (0.18.1-1) unstable; urgency=medium
Modified: packages/pylint/trunk/debian/rules
===================================================================
--- packages/pylint/trunk/debian/rules 2009-12-19 18:08:56 UTC (rev 4328)
+++ packages/pylint/trunk/debian/rules 2009-12-19 20:00:48 UTC (rev 4329)
@@ -11,10 +11,19 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PYVERS := $(shell pyversions -s -v)
+
build: build-stamp
build-stamp:
dh_testdir
NO_SETUPTOOLS=1 python setup.py -q build
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ # use the default python version to select the script dir to run the tests
+ -./test/fulltest.sh $(PYVERS)
+endif
+
+
touch build-stamp
clean:
More information about the Python-apps-commits
mailing list