Source: distlib Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Maintainer, As discussed on irc and mlist, we need universal wheel versions of distlib so that pyvenv-3.4 will work in a Debian policy compliant way. Uploads for team maintained packages html5lib, chardet, python-urllib3, and python-pip have already been done. This bug requests a similar change to build the python-distlib-wheels binary package, compatible with the pyvenv general approach. Cheers - -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.14-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTdTmuAAoJEBJutWOnSwa/JeoP/1HyFhzGUZCxXlqr6yTo+ofZ K6iDHBSzKK9BEkT3knQJN+lFgpz/gBBwCnSqhwR5765chXnNkie0DudMNFzqV/VZ 5oQyFwVPSmITjkyJrjkP7yVSCGTp//fFTE9pCswEPI166DUXh2YwjQ2YUMUCoZPc Gg0fJ1D5C4ncN3maEOCwSSmErmDa7UfjWYPgBbFB7vf2kBOGkU6yg4kUqbDDJZFD gl7EAQzm+ZmlfDkPHE/mdX8HgdoxU4o9UWHPa8esX4uiafsNZhqRJX0o2vUeZPA/ aGSxiRnoRYcbSlXBFIDvJTt20hGZNqS6t4PXAi7JzUvtvDzASXtUJEBwN5OjTeXF 7D8XHoXFUBR06UQeanyo7OiU1nIDfOqsyUk4azXD1JU7U+1C65GM4b7K5kDptwCh Mlx98xb9Vf2luwpzshYhrSuUPqYBwIRfa/+m7p3CamnzgxhbwgHzqZ8h1qMofWjE EGT6hGPLzxGaB9T25bYvzFbPfd+2oz4FKloPL+upcRzee230J5XL6/D4D0VMp/bC vSAqOgEtxqP5z5p6m4C19zIuSGrk6kCWcvGv084M6sdbV5YQnDVEmMMchH5mw1eu zI4Ms1Gn7IbaERJO97JPWrcsrUXFwIZlAbuuuZNYNV5cC9PAXkmU1tD4JZ94WDD/ 558G22GZKxKV+BUbcPjN =iLIm -----END PGP SIGNATURE-----
=== modified file 'debian/changelog' --- debian/changelog 2014-03-29 02:52:42 +0000 +++ debian/changelog 2014-05-15 22:00:36 +0000 @@ -1,3 +1,16 @@ +distlib (0.1.8-2) UNRELEASED; urgency=medium + + * d/control: + - Add python-setuptools, python3-setuptools, python3-wheels to + Build-Depends. + - Add python-distlib-wheels binary package + * d/rules: Build the universal wheel. + * d/patches/setuptools.diff: Patch setup.py to use + setuptools.setup() so that the bdist_wheel command will work. + * d/python-distlib-wheels.install: Added. + + -- Barry Warsaw <ba...@debian.org> Mon, 12 May 2014 16:12:37 -0400 + distlib (0.1.8-1) unstable; urgency=medium * New upstream version. === modified file 'debian/control' --- debian/control 2014-01-18 16:52:06 +0000 +++ debian/control 2014-05-12 20:29:56 +0000 @@ -2,7 +2,8 @@ Section: python Priority: optional Maintainer: Matthias Klose <d...@debian.org> -Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python +Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python, + python-setuptools, python3-setuptools, python3-wheel Standards-Version: 3.9.5 Homepage: https://pypi.python.org/pypi/distlib @@ -21,3 +22,13 @@ Distlib is a library which implements low-level functions that relate to packaging and distribution of Python software. It is intended to be used as the basis for third-party packaging tools. + +Package: python-distlib-wheels +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: low-level components of python distutils2/packaging + Distlib is a library which implements low-level functions that relate to + packaging and distribution of Python software. It is intended to be used + as the basis for third-party packaging tools. + . + This package provides the universal wheels. === modified file 'debian/patches/series' --- debian/patches/series 2014-01-18 16:52:06 +0000 +++ debian/patches/series 2014-05-12 20:21:13 +0000 @@ -1,1 +1,2 @@ no-binaries.diff +setuptools.diff === added file 'debian/patches/setuptools.diff' --- debian/patches/setuptools.diff 1970-01-01 00:00:00 +0000 +++ debian/patches/setuptools.diff 2014-05-12 20:28:16 +0000 @@ -0,0 +1,23 @@ +Description: Use setuptools.setup() in order to allow the bdist_wheel command. +Author: Barry Warsaw <ba...@debian.org> +Forwarded: not-needed + +--- a/setup.py ++++ b/setup.py +@@ -5,6 +5,7 @@ + # See LICENSE.txt and CONTRIBUTORS.txt. + # + ++import setuptools + import distutils.core + from distutils.sysconfig import get_python_lib + from os.path import join, dirname, abspath +@@ -31,7 +32,7 @@ + def finalize_options(self): + pass + +-distutils.core.setup( ++setuptools.setup( + name='distlib', + version=distlib.__version__, + author='Vinay Sajip', === added file 'debian/python-distlib-wheels.install' --- debian/python-distlib-wheels.install 1970-01-01 00:00:00 +0000 +++ debian/python-distlib-wheels.install 2014-05-12 20:10:00 +0000 @@ -0,0 +1,1 @@ +usr/share/python-wheels === modified file 'debian/rules' --- debian/rules 2014-01-18 16:52:06 +0000 +++ debian/rules 2014-05-12 20:09:29 +0000 @@ -6,3 +6,9 @@ %: dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_install: + dh_auto_install + python3 setup.py bdist_wheel \ + --universal \ + -d $(CURDIR)/debian/tmp/usr/share/python-wheels