Your message dated Sun, 07 Aug 2011 07:47:11 +0000
with message-id <[email protected]>
and subject line Bug#633653: fixed in python-netaddr 0.7.5-4
has caused the Debian Bug report #633653,
regarding python-netaddr: Actually run tests
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
633653: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633653
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-netaddr
Version: 0.7.5-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu, the attached patch was applied to fix the test script to actually 
find the shipped tests.

The problem is that upstream's setup.py does not install the test data, so it 
only lives in the source directory.  So I changed runtests.py to look there 
instead of debian/python-netaddr.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-4-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u python-netaddr-0.7.5/debian/rules python-netaddr-0.7.5/debian/rules
--- python-netaddr-0.7.5/debian/rules
+++ python-netaddr-0.7.5/debian/rules
@@ -14,3 +14,3 @@
 	$(call cdbs_python_binary,python$(cdbs_python_compile_version)) \
-		debian/runtests.py debian/python-netaddr
+		debian/runtests.py .
 endif
diff -u python-netaddr-0.7.5/debian/runtests.py python-netaddr-0.7.5/debian/runtests.py
--- python-netaddr-0.7.5/debian/runtests.py
+++ python-netaddr-0.7.5/debian/runtests.py
@@ -1,18 +1,6 @@
 import sys
-from os.path import join, isdir
-from distutils.sysconfig import get_python_lib
-from site import addsitedir
 
-root = sys.argv.pop(1)
-site_packages = get_python_lib()
-
-_path = sys.path[:]
-sys.path[:] = []
-path = join(root, site_packages[1:])
-if not isdir(path):
-    path = join(root, site_packages.replace('/dist', '/site')[1:])
-addsitedir(path)
-sys.path.extend(_path)
+sys.path.insert(0, sys.argv.pop(1))
 
 import netaddr.tests
 netaddr.tests.run()

--- End Message ---
--- Begin Message ---
Source: python-netaddr
Source-Version: 0.7.5-4

We believe that the bug you reported is fixed in the latest version of
python-netaddr, which is due to be installed in the Debian FTP archive:

python-netaddr_0.7.5-4.debian.tar.gz
  to main/p/python-netaddr/python-netaddr_0.7.5-4.debian.tar.gz
python-netaddr_0.7.5-4.dsc
  to main/p/python-netaddr/python-netaddr_0.7.5-4.dsc
python-netaddr_0.7.5-4_all.deb
  to main/p/python-netaddr/python-netaddr_0.7.5-4_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.
Vincent Bernat <[email protected]> (supplier of updated python-netaddr 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.8
Date: Sun, 07 Aug 2011 09:05:16 +0200
Source: python-netaddr
Binary: python-netaddr
Architecture: source all
Version: 0.7.5-4
Distribution: unstable
Urgency: low
Maintainer: Vincent Bernat <[email protected]>
Changed-By: Vincent Bernat <[email protected]>
Description: 
 python-netaddr - manipulation of various common network address notations
Closes: 633653 636476
Changes: 
 python-netaddr (0.7.5-4) unstable; urgency=low
 .
   * Tests have moved. Update debian/runtests.py accordingly.
     Patch from Ubuntu. Closes: #633653.
   * Support for ipython 0.11. Thanks to Julian Taylor.
     Closes: #636476.
Checksums-Sha1: 
 5698441fa6ffabe548caff2fa1da4913a30620d4 1396 python-netaddr_0.7.5-4.dsc
 0ae866e2e9825df19ea737f0b6d956b8a56cb2f6 4716 
python-netaddr_0.7.5-4.debian.tar.gz
 0f5149752281f9daeb2415a9de4f01e551c37485 1192804 python-netaddr_0.7.5-4_all.deb
Checksums-Sha256: 
 178a2d6ee46cbe3c068b0f515f00b508c0323909f61f28014c06a5610b2b2fa1 1396 
python-netaddr_0.7.5-4.dsc
 7d05849378a1ebe0b07fb38ab45e3e4194a7e2104ab0dd373319a093774239f7 4716 
python-netaddr_0.7.5-4.debian.tar.gz
 4d8298dd30ea5d8baf58b160b9dd231d4a7def1cde30a2a9197aa30059c88634 1192804 
python-netaddr_0.7.5-4_all.deb
Files: 
 fa480c405fd36c1851aa75184141464f 1396 python optional 
python-netaddr_0.7.5-4.dsc
 836804f08a98ccf3830cecffbfd9d977 4716 python optional 
python-netaddr_0.7.5-4.debian.tar.gz
 0cfb57caede83999bcb46ce8cdb4680f 1192804 python optional 
python-netaddr_0.7.5-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4+QVIACgkQKFvXofIqeU5RxACgwOfguUClbKtL8oSb/lC2HChE
W0MAn2UCqejvZ30Lm4FqTx0Yi2ESE1Al
=OdmL
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to