r29583 - in /desktop/experimental/pygobject/debian: changelog control control.in rules

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Mon Sep 5 05:52:55 UTC 2011


Author: mpitt
Date: Mon Sep  5 05:52:55 2011
New Revision: 29583

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=29583
Log:
debian/control.in, debian/rules: Bring back python-gobject-dev package, to
ship the include and pkg-config file. This is still needed by e. g.
libpeas. Depend on python-gobject-2-dev to retain backwards compatibility,
similar to the other binary packages.

Modified:
    desktop/experimental/pygobject/debian/changelog
    desktop/experimental/pygobject/debian/control
    desktop/experimental/pygobject/debian/control.in
    desktop/experimental/pygobject/debian/rules

Modified: desktop/experimental/pygobject/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/changelog?rev=29583&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/changelog [utf-8] (original)
+++ desktop/experimental/pygobject/debian/changelog [utf-8] Mon Sep  5 05:52:55 2011
@@ -1,3 +1,12 @@
+pygobject (2.90.3-2) UNRELEASED; urgency=low
+
+  * debian/control.in, debian/rules: Bring back python-gobject-dev package, to
+    ship the include and pkg-config file. This is still needed by e. g.
+    libpeas. Depend on python-gobject-2-dev to retain backwards compatibility,
+    similar to the other binary packages.
+
+ -- Martin Pitt <mpitt at debian.org>  Mon, 05 Sep 2011 07:09:31 +0200
+
 pygobject (2.90.3-1) experimental; urgency=low
 
   * New upstream release.

Modified: desktop/experimental/pygobject/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/control?rev=29583&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/control [utf-8] (original)
+++ desktop/experimental/pygobject/debian/control [utf-8] Mon Sep  5 05:52:55 2011
@@ -124,3 +124,19 @@
  package. With these packages, the libraries can be used from Python 3.
  .
  This package contains the extensions built for the Python 3 debug interpreter.
+
+Package: python-gobject-dev
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         python-gobject (= ${binary:Version}),
+         libglib2.0-dev (>= 2.24.0),
+         libffi-dev (>= 3.0.5),
+         python-gobject-2-dev
+Description: development headers for GObject Python bindings
+ GObject is an abstraction layer that allows programming with an object
+ paradigm that is compatible with many languages. It is a part of Glib,
+ the core library used to build GTK+ and GNOME.
+ .
+ This package contains the development headers needed to build C extensions
+ which use pygobject.

Modified: desktop/experimental/pygobject/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/control.in?rev=29583&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/control.in [utf-8] (original)
+++ desktop/experimental/pygobject/debian/control.in [utf-8] Mon Sep  5 05:52:55 2011
@@ -119,3 +119,19 @@
  package. With these packages, the libraries can be used from Python 3.
  .
  This package contains the extensions built for the Python 3 debug interpreter.
+
+Package: python-gobject-dev
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         python-gobject (= ${binary:Version}),
+         libglib2.0-dev (>= 2.24.0),
+         libffi-dev (>= 3.0.5),
+         python-gobject-2-dev
+Description: development headers for GObject Python bindings
+ GObject is an abstraction layer that allows programming with an object
+ paradigm that is compatible with many languages. It is a part of Glib,
+ the core library used to build GTK+ and GNOME.
+ .
+ This package contains the development headers needed to build C extensions
+ which use pygobject.

Modified: desktop/experimental/pygobject/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/rules?rev=29583&op=diff
==============================================================================
--- desktop/experimental/pygobject/debian/rules [utf-8] (original)
+++ desktop/experimental/pygobject/debian/rules [utf-8] Mon Sep  5 05:52:55 2011
@@ -99,6 +99,11 @@
 	dh_testdir
 	dh_testroot
 	PYTHON=/usr/bin/python2.$* $(MAKE) -C build-2.$* install DESTDIR=$(CURDIR)/debian/python-gobject pyexecdir=$(call py_libdir_sh, 2.$*)
+	# install development parts
+	mkdir -p debian/python-gobject-dev/usr/lib
+	cp -r debian/python-gobject/usr/include debian/python-gobject-dev/usr/
+	cp -r debian/python-gobject/usr/lib/pkgconfig debian/python-gobject-dev/usr/lib
+	# remove stuff that we do not need in python-gobject
 	-find debian/python-gobject/ ! -path '*/usr/lib/*' -delete
 	find debian/python-gobject/ \( -name '*.pyc' -o -name '*.pyo' -o -name '*.la' \) -delete
 	# dh_python2 trips over this empty dir in the sanity check for >= 2.6, so remove it




More information about the pkg-gnome-commits mailing list