On Sun, Nov 23, 2014 at 05:45:37PM +0000, Simon McVittie wrote: > On 23/11/14 17:19, Bill Allombert wrote: > > On Wed, Nov 05, 2014 at 02:38:39PM +1100, Brian May wrote: > >> We need two virtual package names, one for Python2 and one for Python3. > > > > What I am unclear is why a single virtual package httpd-wsgi3 will work > > for python 3.2, 3.3, 3.4 etc. > > All versions of Python 2.x are broadly source-compatible, and all > versions of Python 3.x are broadly source-compatible, but correct Python > 2.x code usually needs significant source changes to be interpreted > correctly by Python 3.x. As a result of porting being required, and the > way we package extensions in Debian, dependency declarations need to > change across the 2 -> 3 boundary, from python-foo to python3-foo.
Thanks for your clarification. Is the attached patch OK ? Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.
diff --git a/virtual-package-names-list.txt b/virtual-package-names-list.txt index f52ddba..f68133f 100644 --- a/virtual-package-names-list.txt +++ b/virtual-package-names-list.txt @@ -106,7 +106,8 @@ Network ftp-server a FTP server httpd a HTTP server httpd-cgi A CGI capable HTTP server - httpd-wsgi A WSGI capable HTTP server + httpd-wsgi A WSGI capable HTTP server (python 2 API) + httpd-wsgi3 A WSGI capable HTTP server (python 3 API) ident-server an identd daemon inet-superserver an inetd server lambdamoo-core a lambdamoo-compatible database package @@ -343,3 +344,4 @@ Bill Allombert: 16 Jul 2014 Added java{5,6,7,8,9}-runtime{,-headless} Removed java1-runtime, java2-runtime 30 Jul 2014 Added httpd-wsgi + 23 Nov 2014 Added httpd-wsgi3