Bug#587853: subversion: Suggest using XS-Python-Version: = 2.4

2010-07-02 Thread Peter Samuelson

[Max Bowsher]
 In Ubuntu, we've applied the attached patch amending the
 XS-Python-Version line to = 2.4 rather than a list of explicit
 versions.

From 
http://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html,
looks like it really should be = 2.4,  3.0.  Subversion doesn't
support Python 3, and quite possibly never will.

That URL also points at BX-Python-Version in the package section, which
I'm not using, so I've added that too.

Thanks,
Peter


--- debian/control
+++ debian/control
@@ -14,7 +14,7 @@
gcj-jdk (= 4:4.4) [!alpha !arm !hppa !m68k !mips !mipsel 
!hurd-i386],
junit [!alpha !arm !hppa !m68k !mips !mipsel !hurd-i386]
 Build-Conflicts: libsvn-dev ( 1.6)
-XS-Python-Version: 2.4, 2.5, 2.6
+XS-Python-Version: = 2.4,  3.0
 Homepage: http://subversion.tigris.org/
 Vcs-Svn: svn://svn.debian.org/pkg-subversion/src/1.6.x/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-subversion/src/1.6.x/
@@ -80,6 +80,7 @@
 Architecture: any
 Depends: subversion, ${shlibs:Depends}, ${python:Depends}
 Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
 Description: Python bindings for Subversion
  This is a set of Python interfaces to libsvn, the Subversion
  libraries.  It is useful if you want to, for example, write a Python



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587853: subversion: Suggest using XS-Python-Version: = 2.4

2010-07-02 Thread Max Bowsher
Package: subversion
Version: 1.6.12dfsg-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch



*** /tmp/tmpIEOYZv
In Ubuntu, we've applied the attached patch amending the
XS-Python-Version line to = 2.4 rather than a list of explicit
versions.

I think this should be equally applicable to Debian, and would save
needing to explicitly change the line when new Python versions are added
to Debian. (OK, granted there's probably only going to *be* one more 2.x
Python version, but, hey, it still kind of makes sense.)
--- debian/control  2010-01-27 01:57:47 +
+++ debian/control  2010-07-02 05:53:43 +
@@ -18,7 +18,7 @@
gcj-jdk (= 4:4.4) [!alpha !arm !hppa !m68k !mips !mipsel 
!hurd-i386],
junit [!alpha !arm !hppa !m68k !mips !mipsel !hurd-i386]
 Build-Conflicts: libsvn-dev ( 1.6)
-XS-Python-Version: 2.4, 2.5, 2.6
+XS-Python-Version: = 2.4
 Homepage: http://subversion.tigris.org/
 Vcs-Svn: svn://svn.debian.org/pkg-subversion/1.6.x/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-subversion/1.6.x/