[Pkg-samba-maint] r1640 - trunk/tdb/debian
ctrlsoft-guest at alioth.debian.org
ctrlsoft-guest at alioth.debian.org
Wed Nov 28 01:43:04 UTC 2007
Author: ctrlsoft-guest
Date: 2007-11-28 01:43:04 +0000 (Wed, 28 Nov 2007)
New Revision: 1640
Added:
trunk/tdb/debian/python-tdb.install
Modified:
trunk/tdb/debian/changelog
trunk/tdb/debian/control
trunk/tdb/debian/rules
Log:
Add python package.
Modified: trunk/tdb/debian/changelog
===================================================================
--- trunk/tdb/debian/changelog 2007-11-28 00:45:10 UTC (rev 1639)
+++ trunk/tdb/debian/changelog 2007-11-28 01:43:04 UTC (rev 1640)
@@ -1,6 +1,8 @@
-tdb (1.1.0-2) UNRELEASED; urgency=low
+tdb (1.1.1~svn26181-1) UNRELEASED; urgency=low
* Set homepage field.
+ * New upstream snapshot.
+ * Add python-tdb package.
-- Jelmer Vernooij <jelmer at samba.org> Sun, 25 Nov 2007 16:31:28 +0000
Modified: trunk/tdb/debian/control
===================================================================
--- trunk/tdb/debian/control 2007-11-28 00:45:10 UTC (rev 1639)
+++ trunk/tdb/debian/control 2007-11-28 01:43:04 UTC (rev 1640)
@@ -2,8 +2,8 @@
Section: devel
Priority: optional
Maintainer: Jelmer Vernooij <jelmer at samba.org>
+Build-Depends: debhelper (>> 5.0.0), quilt (>= 0.40), python-support (>= 0.4), python-dev, swig
Homepage: http://tdb.samba.org/
-Build-Depends: debhelper (>> 5.0.0), quilt (>= 0.40)
Standards-Version: 3.7.2
Package: libtdb1
@@ -31,10 +31,20 @@
Package: tdb-dev
Section: libs
Architecture: any
-Depends: libc6-dev, libtdb1 (= ${Source-Version})
+Depends: libc6-dev, libtdb1 (= ${binary:Version})
Description: Trivial Database - development files
This is a simple database API. It is modelled after the structure
of GDBM. TDB features, unlike GDBM, multiple writers support with
appropriate locking and transactions.
.
This package contains the development files.
+
+Package: python-tdb
+Section: python
+Architecture: any
+Depends: ${python:Depends}, libtdb1 (= ${binary:Version})
+Provides: ${python:Provides}
+Description: Python bindings for TDB
+ TDB is a simple database API.
+ .
+ This package contains the Python bindings.
Added: trunk/tdb/debian/python-tdb.install
===================================================================
--- trunk/tdb/debian/python-tdb.install (rev 0)
+++ trunk/tdb/debian/python-tdb.install 2007-11-28 01:43:04 UTC (rev 1640)
@@ -0,0 +1 @@
+usr/lib/python*
Modified: trunk/tdb/debian/rules
===================================================================
--- trunk/tdb/debian/rules 2007-11-28 00:45:10 UTC (rev 1639)
+++ trunk/tdb/debian/rules 2007-11-28 01:43:04 UTC (rev 1640)
@@ -21,7 +21,7 @@
build: configure build-stamp
build-stamp:
dh_testdir
- $(MAKE)
+ $(MAKE) all build-python
touch build-stamp
clean: clean-patched unpatch
@@ -38,9 +38,10 @@
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(DESTDIR)
+ ./setup.py install --root=$(DESTDIR)
mv $(CURDIR)/debian/tmp/usr/bin/tdbbackup \
$(CURDIR)/debian/tmp/usr/bin/tdbbackup.tdbtools
- ln -s libtdb.so.1.1.0 $(DESTDIR)/usr/lib/libtdb.so.1
+ ln -s libtdb.so.1.1.1 $(DESTDIR)/usr/lib/libtdb.so.1
ln -s libtdb.so.1 $(DESTDIR)/usr/lib/libtdb.so
dh_install --fail-missing --list-missing --sourcedir=$(DESTDIR)
@@ -56,6 +57,7 @@
dh_compress
dh_fixperms
dh_makeshlibs
+ dh_pysupport
dh_installdeb
dh_shlibdeps
dh_gencontrol
More information about the Pkg-samba-maint
mailing list