From d0ce76eb68a34d3ac326643e756ad1626c1eebd2 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Wed, 27 May 2009 10:20:31 +0300 Subject: python/: packaging of the python libcontextprovider bindings. Signed-off-by: Akos Pasztory --- debian/changelog | 5 +++-- debian/control | 28 +++++++++++++++++++++++----- debian/copyright | 2 +- debian/python-contextkit.install | 1 + debian/rules | 1 + 5 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 debian/python-contextkit.install (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 6e55348a..29e8559c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ contextkit (0.1.8~unreleased) unstable; urgency=low - * + * Added python-contextkit, which is a python binding for + libcontextprovider and (in the future) libcontextsubscriber. - -- Marius Vollmer Mon, 25 May 2009 19:12:19 +0300 + -- Gergely Risko Wed, 27 May 2009 08:38:17 +0300 contextkit (0.1.7) unstable; urgency=low diff --git a/debian/control b/debian/control index e7fa1f7b..ae2a0056 100644 --- a/debian/control +++ b/debian/control @@ -4,15 +4,17 @@ Priority: optional Maintainer: Marius Vollmer Build-Depends: debhelper (>= 5), automake1.9, - gnome-common, + gnome-common, libglib2.0-dev (>= 2.12.0), libsqlite3-dev, libdbus-glib-1-dev, libgee-dev (>= 0.1.3), - python, - xsltproc, - libhal-dev, - gtk-doc-tools + python, + python-central, + xsltproc, + libhal-dev, + gtk-doc-tools +XS-Python-Version: all Standards-Version: 3.8.0 Package: contextkit @@ -89,3 +91,19 @@ Description: Provider for all unimplemented core context properties . You can use the context-commander to change the value of these properties. + +Package: python-contextkit +Section: python +Architecture: any +Provides: ${python:Provides} +Depends: ${python:Depends}, python-gobject +XB-Python-Version: ${python:Versions} +Description: Python bindings for ContextKit APIs + This package contains python bindings for the libcontextprovider + C interface, which helps you writing providers in python. + . + In the future it will contain the python bindings for + libcontextsubscriber too, but it is not ready yet. + . + If you are interested in some quick test tools for the ContextKit, + please look into the package named contextkit-utils. diff --git a/debian/copyright b/debian/copyright index 697c8747..45b04e69 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Copyright (c) 2009 Nokia Corporation. -This progra, is free software; you can redistribute it and/or modify +This program, is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. diff --git a/debian/python-contextkit.install b/debian/python-contextkit.install new file mode 100644 index 00000000..549aa9bf --- /dev/null +++ b/debian/python-contextkit.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/ContextKit/*.py diff --git a/debian/rules b/debian/rules index 07c0a6d6..d7c5249c 100755 --- a/debian/rules +++ b/debian/rules @@ -60,6 +60,7 @@ binary-arch: build install dh_installman -a dh_strip -p contextkit --dbg-package="contextkit-dbg" dh_strip -p libcontextprovider0 --dbg-package="libcontextprovider0-dbg" + dh_pycentral -ppython-contextkit dh_link -a dh_compress -a dh_fixperms -a -- cgit v1.2.3