chiark / gitweb /
debian/: Use `dh_python2' for packaging.
[mLib-python] / debian / control
index d0a0e61d7e2104974a103e1e2d50ba51eaa70d4e..41406636150d398152cf7f79766ea04e39b956b8 100644 (file)
@@ -1,35 +1,18 @@
-Source: python-mlib
+Source: mlib-python
 Section: python
 Priority: extra
 Section: python
 Priority: extra
-Build-Depends: mlib-dev, 
-  python, python2.3, python2.3-pyrex, python2.4, python2.4-pyrex
+XS-Python-Version: >= 2.6, << 2.8
+Build-Depends: debhelper (>= 9), pkg-config,
+       python (>= 2.6.6-3~), python-pyrex, python2.6-dev, python2.7-dev,
+       mlib-dev (>= 2.2.2.1)
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
-Standards-Version: 3.1.1
+Standards-Version: 3.8.0
 
 Package: python-mlib
 
 Package: python-mlib
-Architecture: all
-Depends: ${python:Depends}
-Description: A library of miscellaneous stuff
- The mLib library provides various handy utilities, including
-   * yet another options parser, like GNU getopt but more so;
-   * a simple but efficient universal hashing family;
-   * a suite for writing event-driven select-based servers;
-   * a simple exception-handling system, based on longjmp;
-   * dynamically resizing strings and arrays;
-   * a resizing hashtable;
-   * base64 and hex encoding and decoding; and
-   * a simple background DNS resolver.
- .
- This is a dummy package to pull in the right bindings for the default Debian
- version of Python.
- .
- Not all of the features of mLib are available (or, indeed, very useful) in
- Python.  For example, Python has its own exception system, and different
- ideas about how strings work.
-
-Package: python2.3-mlib
 Architecture: any
 Architecture: any
+XB-Python-Version: ${python:Versions}
 Depends: ${shlibs:Depends}, ${python:Depends}
 Depends: ${shlibs:Depends}, ${python:Depends}
+Provides: ${python:Provides}
 Description: A library of miscellaneous stuff
  The mLib library provides various handy utilities, including
    * yet another options parser, like GNU getopt but more so;
 Description: A library of miscellaneous stuff
  The mLib library provides various handy utilities, including
    * yet another options parser, like GNU getopt but more so;
@@ -41,28 +24,6 @@ Description: A library of miscellaneous stuff
    * base64 and hex encoding and decoding; and
    * a simple background DNS resolver.
  .
    * base64 and hex encoding and decoding; and
    * a simple background DNS resolver.
  .
- This package provides Python bindings for mLib, for Python version 2.3.
- .
- Not all of the features of mLib are available (or, indeed, very useful) in
- Python.  For example, Python has its own exception system, and different
- ideas about how strings work.
-
-Package: python2.4-mlib
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
-Description: A library of miscellaneous stuff
- The mLib library provides various handy utilities, including
-   * yet another options parser, like GNU getopt but more so;
-   * a simple but efficient universal hashing family;
-   * a suite for writing event-driven select-based servers;
-   * a simple exception-handling system, based on longjmp;
-   * dynamically resizing strings and arrays;
-   * a resizing hashtable;
-   * base64 and hex encoding and decoding; and
-   * a simple background DNS resolver.
- .
- This package provides Python bindings for mLib, for Python version 2.4.
- .
  Not all of the features of mLib are available (or, indeed, very useful) in
  Python.  For example, Python has its own exception system, and different
  ideas about how strings work.
  Not all of the features of mLib are available (or, indeed, very useful) in
  Python.  For example, Python has its own exception system, and different
  ideas about how strings work.