+python-cdb (0.32-5.2) unstable; urgency=low
+
+ * Hack for python-2.6 support.
+
+ -- Mark Wooding <mdw@distorted.org.uk> Sun, 04 Oct 2009 00:07:39 +0100
+
python-cdb (0.32-5.1) unstable; urgency=low
* NMU
-- Adam D. McKenna <adam@debian.org> Thu, 31 Jan 2002 14:12:03 -0800
-Local variables:
-mode: debian-changelog
-End:
+
Source: python-cdb
-Section: contrib/python
-Priority: optional
-Maintainer: Adam D. McKenna <adam@debian.org>
-Build-Depends: debhelper (>> 3.0.0), python-dev (>= 2.3) | python2.3-dev
+Section: python
+Priority: extra
+XS-Python-Version: >= 2.4, << 2.7
+Maintainer: Mark Wooding <mdw@distorted.org.uk>
+Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2
Package: python-cdb
Architecture: any
-Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${shlibs:Depends}
Description: Python CDB (constant database) library
D. J. Bernstein's cdb library adapted as a python extension module. You
probably already know that cdb files are mappings of keys to values (c.f.,
dbm and friends), designed for wickedly fast lookups and atomic updates.
.
- This interface presents cdb files as (surprise!) mapping objects with a few
- special features. In general, the module tries to mimic the functionality of
+ This interface presents cdb files as (surprise!) mapping objects with a few
+ special features. In general, the module tries to mimic the functionality of
the normal cdb utilities.
#!/usr/bin/make -f
-export DH_COMPAT=3
+CDBS = /usr/share/cdbs/1
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch configure-stamp
+DEB_PYTHON_SYSTEM = pycentral
+include $(CDBS)/rules/debhelper.mk
+include $(CDBS)/class/python-distutils.mk
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
-
- python2.3 setup.py build
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- rm -rf build dist
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- python2.3 setup.py install --prefix=debian/python-cdb/usr
-
-binary-indep: build install
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs ChangeLog
- dh_link
- dh_python
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+###----- That's all, folks --------------------------------------------------