[Python-modules-team] Bug#736878: python-django: Please provide python3-django

Brian May brian at microcomaustralia.com.au
Mon Jun 23 02:55:13 UTC 2014


Latest patch attached. As far as I can tell, I now have working packages.

Some generally observations.

* python2: binaries under library path have '#!/usr/bin/env python'.
* python3: binaries under library path have '#!/usr/bin/env python'.

* binaries installed under /usr/bin/ have correct hash bang (yes, this is
with the attached patch).

* python3 package doesn't include the following files, so no conflicts.
  * /etc/bash_completion.d/django_bash_completion (installed via dh_install
)
  * /usr/bin/django-admin (installed via setup.py and renamed in
debian/rules)

* The python3 package does include:
  * /usr/bin/django-admin.py (installed via setup.py and NOT renamed in
debian/rules)

* There was stuff in debian/rules looked kind of ugly and broken (hard
coded referenced site-packages, but dist-packages used), so I deleted it
until I can work out if it really is required or not. It doesn't appear to
have been doing anything useful.

* many lintian image-file-in-usr-lib warnings.


Todo:

* Obviously, we still need to fix the conflicting binary issue. It may not
conflict at the moment, but that is only because the python3 package hasn't
renamed it correctly.
* Also uncomfortable with /etc/bash_completion.d/django_bash_completion
only being included in the python2 package.
-- 
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140623/0ba3d83a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3-django.patch
Type: text/x-patch
Size: 5183 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140623/0ba3d83a/attachment.bin>


More information about the Python-modules-team mailing list