[Python-modules-commits] r19632 - in packages/cssutils/trunk/debian (changelog rules)
cjsmo-guest at users.alioth.debian.org
cjsmo-guest at users.alioth.debian.org
Wed Dec 14 08:43:28 UTC 2011
Date: Wednesday, December 14, 2011 @ 08:43:22
Author: cjsmo-guest
Revision: 19632
clean up debian/rules
Modified:
packages/cssutils/trunk/debian/changelog
packages/cssutils/trunk/debian/rules
Modified: packages/cssutils/trunk/debian/changelog
===================================================================
--- packages/cssutils/trunk/debian/changelog 2011-12-14 00:25:52 UTC (rev 19631)
+++ packages/cssutils/trunk/debian/changelog 2011-12-14 08:43:22 UTC (rev 19632)
@@ -28,7 +28,8 @@
update alternative can be used.
- Added dh_installman override and make copies of manpages to be used in
python2 and python3 packages.
- - Added nosetests to run unittests at build time for py2 and py3 packages.
+ - Added nosetests to run unittests at build time for py2 package, py3-nose
+ package not available which is needed to run py3 tests.
* Removed python-cssutils-doc.links, python-cssutils-doc.doc-base,
python-cssutils-doc.docs, python-cssutils-doc.examples,
python-cssutils.install, python-encutils.install, no longer needed.
@@ -41,7 +42,6 @@
* Update to use update-alternatives, python-cssutils.postinst,
python-cssutils.prerm, python3-cssutils.postinst, python3-cssutils.prerm.
* Added 01_setup_fix.patch to create py2 and py3 executables.
- * Added lintian-overrides.
-- Charlie Smotherman <cjsmo at cableone.net> Sun, 04 Dec 2011 23:41:52 -0500
Modified: packages/cssutils/trunk/debian/rules
===================================================================
--- packages/cssutils/trunk/debian/rules 2011-12-14 00:25:52 UTC (rev 19631)
+++ packages/cssutils/trunk/debian/rules 2011-12-14 08:43:22 UTC (rev 19632)
@@ -3,7 +3,6 @@
#get our python versions
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
-T3DIR := $(CURDIR)/build/lib/tests
%:
dh $@ --with python2,python3
@@ -20,12 +19,7 @@
nosetests -v --exclude=test_parseFile --exclude=test_parseString \
--exclude=test_parseUrl --exclude=test_combine; \
done
- set -e; \
- for py in $(PY3VERS); do \
- nosetests -v --py3where=$(T3DIR) --exclude=test_parseFile \
- --exclude=test_parseString --exclude=test_parseUrl \
- --exclude=test_combine; \
- done
+ #unable to run py3 tests, no py3-nose package available at this time.
override_dh_auto_install:
set -e; \
@@ -67,5 +61,7 @@
override_dh_auto_clean:
rm -rf build *.egg-info
- rm -f debian/man/cssparse_py2.1 debian/man/csscombine_py2.1 debian/man/csscapture_py2.1
- rm -f debian/man/cssparse_py3.1 debian/man/csscombine_py3.1 debian/man/csscapture_py3.1
+ rm -f debian/man/cssparse_py2.1 debian/man/csscombine_py2.1 \
+ debian/man/csscapture_py2.1
+ rm -f debian/man/cssparse_py3.1 debian/man/csscombine_py3.1 \
+ debian/man/csscapture_py3.1
More information about the Python-modules-commits
mailing list