Your message dated Sat, 17 Nov 2007 06:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#449072: fixed in nose 0.10.0-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: nose
Attached patch against current trunk.
Upstream tarball available here:
http://python-nose.googlecode.com/files/nose-0.10.0.tar.gz
Index: debian/control
===================================================================
--- debian/control (revision 3501)
+++ debian/control (working copy)
@@ -4,16 +4,14 @@
Maintainer: Gustavo Noronha Silva <[EMAIL PROTECTED]>
Uploaders: Debian Python Modules Team <[EMAIL PROTECTED]>
Build-Depends: python-dev (>= 2.3.5-7), python-setuptools (>= 0.6a9-1), debhelper (>= 5.0.37.2), cdbs (>= 0.4.42), python-support (>= 0.6.4)
-Homepage: http://somethingaboutorange.com/mrl/projects/nose/
-XS-Python-Version: >= 2.3
+Homepage: http://code.google.com/p/python-nose/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/nose/trunk/
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/nose/?op=log
Standards-Version: 3.7.2
Package: python-nose
Architecture: all
-Depends: ${python:Depends}, python-setuptools (>= 0.6a9-1)
-XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, python-setuptools (>= 0.6a9-1), python-optcomplete
Description: test discovery and running for Python's unittest
nose provides an alternate test discovery and running process for
unittest, one that is intended to mimic the behavior of py.test as
Index: debian/bash_completion/nosecomplete.py
===================================================================
--- debian/bash_completion/nosecomplete.py (revision 0)
+++ debian/bash_completion/nosecomplete.py (revision 0)
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+
+""" print out optparse config options and exit """
+
+import sys
+
+import nose
+import nose.config
+
+
+try:
+ import optcomplete
+except ImportError:
+ sys.exit(0)
+else:
+ class Config(nose.config.Config):
+
+ def getParser(self, doc=None):
+ parser = nose.config.Config.getParser(self, doc)
+ optcomplete.autocomplete(parser)
+ return parser
+
+
+if __name__ == "__main__":
+ cfg_files = nose.config.all_config_files()
+ config = Config(files=cfg_files)
+ nose.main(config=config)
+
+
Index: debian/bash_completion/nose.sh
===================================================================
--- debian/bash_completion/nose.sh (revision 0)
+++ debian/bash_completion/nose.sh (revision 0)
@@ -0,0 +1,18 @@
+# bash completion for nose testrunner
+
+_nosetests_complete()
+{
+ # only run the Python script to get completions (slow) if the word to be
+ # completed is an option
+ if echo ${COMP_WORDS[$COMP_CWORD]} | grep -q '^-'; then
+ COMPREPLY=( $( \
+ COMP_LINE=$COMP_LINE COMP_POINT=$COMP_POINT \
+ COMP_WORDS="${COMP_WORDS[*]}" COMP_CWORD=$COMP_CWORD \
+ OPTPARSE_AUTO_COMPLETE=1 /usr/share/python-nose/nosecomplete ) )
+ else
+ COMPREPLY=( )
+ fi
+}
+
+complete -o default -o dirnames -o plusdirs -F _nosetests_complete nosetests
+
Index: debian/changelog
===================================================================
--- debian/changelog (revision 3501)
+++ debian/changelog (working copy)
@@ -1,3 +1,14 @@
+nose (0.10.0-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * debian/rules
+ - include changelog
+ * debian/docs
+ - add html docs
+ * Add bash completion support
+
+ -- Tristan Hill <[EMAIL PROTECTED]> Fri, 02 Nov 2007 10:21:21 +0000
+
nose (0.9.3-2) UNRELEASED; urgency=low
* Vcs-Browser and Homepage fields added
Index: debian/copyright
===================================================================
--- debian/copyright (revision 3501)
+++ debian/copyright (working copy)
@@ -1,7 +1,7 @@
This package was debianized by Gustavo Noronha Silva <[EMAIL PROTECTED]> on
Sun, 07 May 2006 22:54:10 -0300.
-It was downloaded from http://somethingaboutorange.com/mrl/projects/nose/
+It was downloaded from http://code.google.com/p/python-nose/
Copyright:
Index: debian/docs
===================================================================
--- debian/docs (revision 3501)
+++ debian/docs (working copy)
@@ -1 +1,2 @@
README.txt
+doc/
Index: debian/rules
===================================================================
--- debian/rules (revision 3501)
+++ debian/rules (working copy)
@@ -1,14 +1,19 @@
#!/usr/bin/make -f
-DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON_SYSTEM = pysupport
-include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+DEB_INSTALL_CHANGELOGS_ALL = CHANGELOG
binary-post-install/$(DEB_PYTHON_MODULE_PACKAGE)::
# the manpage is already being installed at the correct place
# remove the incorrect path
- rm -rf debian/$(DEB_PYTHON_MODULE_PACKAGE)/usr/man
+ rm -r $(DEB_DESTDIR)/usr/man
+ install -D -m 644 debian/bash_completion/nose.sh \
+ $(DEB_DESTDIR)/etc/bash_completion.d/nose
+ install -D -m 755 debian/bash_completion/nosecomplete.py \
+ $(DEB_DESTDIR)/usr/share/$(cdbs_curpkg)/nosecomplete
+ mv $(DEB_DESTDIR)/usr/share/doc/$(cdbs_curpkg)/{doc,html}
--- End Message ---
--- Begin Message ---
Source: nose
Source-Version: 0.10.0-1
We believe that the bug you reported is fixed in the latest version of
nose, which is due to be installed in the Debian FTP archive:
nose_0.10.0-1.diff.gz
to pool/main/n/nose/nose_0.10.0-1.diff.gz
nose_0.10.0-1.dsc
to pool/main/n/nose/nose_0.10.0-1.dsc
nose_0.10.0.orig.tar.gz
to pool/main/n/nose/nose_0.10.0.orig.tar.gz
python-nose_0.10.0-1_all.deb
to pool/main/n/nose/python-nose_0.10.0-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gustavo Noronha Silva <[EMAIL PROTECTED]> (supplier of updated nose package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 17 Nov 2007 03:31:08 -0200
Source: nose
Binary: python-nose
Architecture: source all
Version: 0.10.0-1
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <[EMAIL PROTECTED]>
Changed-By: Gustavo Noronha Silva <[EMAIL PROTECTED]>
Description:
python-nose - test discovery and running for Python's unittest
Closes: 449072
Changes:
nose (0.10.0-1) unstable; urgency=low
.
[ Piotr Ożarowski ]
* Vcs-Browser and Homepage fields added
* XS-Vcs-Svn field renamed to Vcs-Svn
.
[ Gustavo Noronha Silva ]
* New upstream release (Closes: #449072)
Files:
3a6d4d68c79a4c89da0ac19423647902 980 python optional nose_0.10.0-1.dsc
2cb49cb7aa8f0c27be1bc3f85193bb8e 248803 python optional nose_0.10.0.orig.tar.gz
b769ffe61218d8206972b09c4e8d63a1 2366 python optional nose_0.10.0-1.diff.gz
bf64e36c6edeb1eb6726f288e1531381 115732 python optional
python-nose_0.10.0-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHPoA0t1anjIgqbEsRAgniAJ9O+wA92uHJnTbSnvk8zibQ5IwqsACgmKZX
Llu4z2Aj4AX+0iLJUdjMxjc=
=1tzj
-----END PGP SIGNATURE-----
--- End Message ---