debian: Switch to CDBS and build for Python 2.6.
[catacomb-python] / debian / control
index e1382d4..6930e6e 100644 (file)
@@ -1,13 +1,16 @@
-Source: python-catacomb
+Source: catacomb-python
 Section: python
 Priority: extra
+XS-Python-Version: >= 2.4, << 2.7
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
-Build-Depends: catacomb-dev, python, python2.3-dev, python2.4-dev, python2.5-dev
-Standards-Version: 3.1.1
+Build-Depends: catacomb-dev, python, python2.4-dev, python2.5-dev
+Standards-Version: 3.8.0
 
 Package: python-catacomb
-Architecture: all
-Depends: ${python:Depends}
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${shlibs:Depends}, ${python:Depends}
+Provides: python2.4-catacomb, python2.5-catacomb, python2.6-catacomb
 Description: Python bindings for the Catacomb cryptographic library.
  Catacomb is a cryptographic library.  It implements a large number of
  encryption algorithms, hash functions, message authentication codes
@@ -22,42 +25,9 @@ Description: Python bindings for the Catacomb cryptographic library.
  This is a dummy package for making sure you have the right package
  for the default Debian Python installation.
 
-Package: python2.4-catacomb
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Python bindings for the Catacomb cryptographic library.
- Catacomb is a cryptographic library.  It implements a large number of
- encryption algorithms, hash functions, message authentication codes
- and random number generators.  It has a multi-precision maths library,
- for implementing public key schemes such as RSA, DSA and Diffie-Hellman.
- It contains rudimentary key-management tools.
- .
- The objective of Catacomb is to make a crypto library which is
- relatively straightforward to audit for security.  Its focus is on
- clarity of source code and portability more than performance.
- .
- This package contains the Python bindings for Catacomb, for version 2.4 of
- Python.
-
-Package: python2.5-catacomb
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: Python bindings for the Catacomb cryptographic library.
- Catacomb is a cryptographic library.  It implements a large number of
- encryption algorithms, hash functions, message authentication codes
- and random number generators.  It has a multi-precision maths library,
- for implementing public key schemes such as RSA, DSA and Diffie-Hellman.
- It contains rudimentary key-management tools.
- .
- The objective of Catacomb is to make a crypto library which is
- relatively straightforward to audit for security.  Its focus is on
- clarity of source code and portability more than performance.
- .
- This package contains the Python bindings for Catacomb, for version 2.5 of
- Python.
-
 Package: python-catacomb-bin
 Architecture: all
+XB-Python-Version: ${python:Versions}
 Depends: python, python-catacomb
 Description: Catacomb utilities in Python
  Catacomb is a cryptographic library.  It implements a large number of