r23063 - in /packages/unstable/pyclutter/debian: changelog control control.in docs python-clutter.install rules

joss at users.alioth.debian.org joss at users.alioth.debian.org
Mon Feb 15 21:03:40 UTC 2010


Author: joss
Date: Mon Feb 15 21:03:37 2010
New Revision: 23063

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=23063
Log:
* Update download URL.
* Copypasta build system from gnome-python, to build for all Python 
  versions.
* Require python-all-dev.
* DIE DIE DIE DIE XS-P-V: current.
* Drop python:Provides too.
* Add missing dependencies.

Added:
    packages/unstable/pyclutter/debian/docs
Modified:
    packages/unstable/pyclutter/debian/changelog
    packages/unstable/pyclutter/debian/control
    packages/unstable/pyclutter/debian/control.in
    packages/unstable/pyclutter/debian/python-clutter.install
    packages/unstable/pyclutter/debian/rules

Modified: packages/unstable/pyclutter/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/changelog?rev=23063&op=diff
==============================================================================
--- packages/unstable/pyclutter/debian/changelog [utf-8] (original)
+++ packages/unstable/pyclutter/debian/changelog [utf-8] Mon Feb 15 21:03:37 2010
@@ -1,3 +1,15 @@
+pyclutter (1.0.0-2) unstable; urgency=low
+
+  * Update download URL.
+  * Copypasta build system from gnome-python, to build for all Python 
+    versions.
+  * Require python-all-dev.
+  * DIE DIE DIE DIE XS-P-V: current.
+  * Drop python:Provides too.
+  * Add missing dependencies.
+
+ -- Josselin Mouette <joss at debian.org>  Mon, 15 Feb 2010 21:44:30 +0100
+
 pyclutter (1.0.0-1) unstable; urgency=low
 
   [ Ross Burton ]

Modified: packages/unstable/pyclutter/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/control?rev=23063&op=diff
==============================================================================
--- packages/unstable/pyclutter/debian/control [utf-8] (original)
+++ packages/unstable/pyclutter/debian/control [utf-8] Mon Feb 15 21:03:37 2010
@@ -1,14 +1,19 @@
+# This file is autogenerated. DO NOT EDIT!
+# 
+# Modifications should be made to debian/control.in instead.
+# This file is regenerated automatically in the clean target.
+
 Source: pyclutter
 Section: python
 Priority: optional
 Maintainer: Ross Burton <ross at debian.org>
-Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Rob Bradford <robster at debian.org>
-XS-Python-Version: current
+Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Rob Bradford <robster at debian.org>
+XS-Python-Version: >= 2.5
 Build-Depends: debhelper (>= 5.0.38),
-               cdbs,
                gnome-pkg-tools,
+               quilt,
                python-support (>= 0.5.3),
-               python-dev (>= 2.5),
+               python-all-dev (>= 2.5),
                python-gtk2-dev (>= 2.8),
                libclutter-1.0-dev (>= 1.0.0),
                python-cairo-dev (>= 1.0.2),
@@ -20,9 +25,12 @@
 
 Package: python-clutter
 Architecture: any
-Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+         ${python:Depends},
+         ${misc:Depends},
+         python-cairo (>= 1.0.2),
+         python-gtk2 (>= 2.8)
 Description: Open GL based interactive canvas library - Python bindings
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,
@@ -32,7 +40,8 @@
 
 Package: python-clutter-dev
 Architecture: any
-Depends: python-clutter, ${misc:Depends}
+Depends: python-clutter (= ${binary:Version}), ${misc:Depends}
+Recommends: python-clutter-doc
 Description: Open GL based interactive canvas library - Python bindings development files
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,
@@ -55,8 +64,7 @@
 Architecture: any
 Section: debug
 Priority: extra
-XB-Python-Version: ${python:Versions}
-Depends: python-clutter, ${misc:Depends}
+Depends: python-clutter (= ${binary:Version}), ${misc:Depends}
 Description: Open GL based interactive canvas library - Python bindings debugging symbols
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,

Modified: packages/unstable/pyclutter/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/control.in?rev=23063&op=diff
==============================================================================
--- packages/unstable/pyclutter/debian/control.in [utf-8] (original)
+++ packages/unstable/pyclutter/debian/control.in [utf-8] Mon Feb 15 21:03:37 2010
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Ross Burton <ross at debian.org>
 Uploaders: @GNOME_TEAM@
-XS-Python-Version: current
+XS-Python-Version: >= 2.5
 Build-Depends: debhelper (>= 5.0.38),
-               cdbs,
                gnome-pkg-tools,
+               quilt,
                python-support (>= 0.5.3),
-               python-dev (>= 2.5),
+               python-all-dev (>= 2.5),
                python-gtk2-dev (>= 2.8),
                libclutter-1.0-dev (>= 1.0.0),
                python-cairo-dev (>= 1.0.2),
@@ -20,9 +20,12 @@
 
 Package: python-clutter
 Architecture: any
-Provides: ${python:Provides}
 XB-Python-Version: ${python:Versions}
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+         ${python:Depends},
+         ${misc:Depends},
+         python-cairo (>= 1.0.2),
+         python-gtk2 (>= 2.8)
 Description: Open GL based interactive canvas library - Python bindings
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,
@@ -32,7 +35,8 @@
 
 Package: python-clutter-dev
 Architecture: any
-Depends: python-clutter, ${misc:Depends}
+Depends: python-clutter (= ${binary:Version}), ${misc:Depends}
+Recommends: python-clutter-doc
 Description: Open GL based interactive canvas library - Python bindings development files
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,
@@ -55,8 +59,7 @@
 Architecture: any
 Section: debug
 Priority: extra
-XB-Python-Version: ${python:Versions}
-Depends: python-clutter, ${misc:Depends}
+Depends: python-clutter (= ${binary:Version}), ${misc:Depends}
 Description: Open GL based interactive canvas library - Python bindings debugging symbols
  Clutter is an Open GL based interactive canvas library, designed for creating
  fast, mainly 2D single window applications such as media box UIs,

Added: packages/unstable/pyclutter/debian/docs
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/docs?rev=23063&op=file
==============================================================================
--- packages/unstable/pyclutter/debian/docs (added)
+++ packages/unstable/pyclutter/debian/docs [utf-8] Mon Feb 15 21:03:37 2010
@@ -1,0 +1,2 @@
+NEWS
+README

Modified: packages/unstable/pyclutter/debian/python-clutter.install
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/python-clutter.install?rev=23063&op=diff
==============================================================================
--- packages/unstable/pyclutter/debian/python-clutter.install [utf-8] (original)
+++ packages/unstable/pyclutter/debian/python-clutter.install [utf-8] Mon Feb 15 21:03:37 2010
@@ -1,1 +1,1 @@
-usr/lib/python*
+usr/lib/pymodules

Modified: packages/unstable/pyclutter/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/pyclutter/debian/rules?rev=23063&op=diff
==============================================================================
--- packages/unstable/pyclutter/debian/rules [utf-8] (original)
+++ packages/unstable/pyclutter/debian/rules [utf-8] Mon Feb 15 21:03:37 2010
@@ -1,16 +1,108 @@
 #! /usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+include /usr/share/quilt/quilt.make
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
-DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-docs
-DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
+GNOME_DOWNLOAD_URL = http://www.clutter-project.org/sources/$(GNOME_MODULE)/$(DEB_UPSTREAM_VERSION_MAJOR_MINOR)/$(GNOME_TARBALL)
 
-binary-install/python-clutter::
-	dh_pysupport -p$(cdbs_curpkg)
+CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
+LDFLAGS += -Wl,-O1 -Wl,--as-needed
 
-common-binary-predeb-arch:: list-missing
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+configure_flags += \
+        --prefix=/usr \
+        --build=$(DEB_BUILD_GNU_TYPE) \
+	--enable-docs \
+	--disable-shave
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+        configure_flags += --host=$(DEB_HOST_GNU_TYPE)
+endif
+
+PYVERS := $(shell pyversions -vr debian/control 2>/dev/null)
+
+build-%/configure-stamp: patch
+	dh_testdir
+	mkdir -p build-$*
+	cd build-$* && \
+		PYTHON=/usr/bin/python$* \
+			CFLAGS="$(CFLAGS)" \
+			LDFLAGS="$(LDFLAGS)" \
+			$(CURDIR)/configure $(configure_flags)
+	touch $@
+
+build-%/build-stamp: build-%/configure-stamp
+	dh_testdir
+	$(MAKE) -C build-$* \
+		pyexecdir=/usr/lib/pymodules/python$*
+	touch $@
+
+build: $(PYVERS:%=build-%/build-stamp)
+
+install-clean:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+install-%: install-clean build-%/build-stamp
+	dh_testdir
+	dh_testroot
+	$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp \
+		pyexecdir=/usr/lib/pymodules/python$*
+
+install: $(PYVERS:%=install-%)
+	dh_installdirs
+	dh_install --sourcedir=debian/tmp
+
+clean:: unpatch
+	dh_testdir
+	dh_testroot
+	rm -rf build-*
+	dh_clean
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installmenu -i
+	dh_installcron -i
+	dh_installinfo -i
+	dh_installchangelogs ChangeLog -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_pysupport -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -s
+	dh_installexamples -s
+	dh_installmenu -s
+	dh_installman -s
+	dh_installinfo -s
+	dh_installchangelogs ChangeLog -s
+	dh_link -s
+	dh_strip -s --dbg-package=python-clutter-dbg
+	dh_compress -s
+	dh_fixperms -s
+	dh_pysupport -s
+	dh_installdeb -s
+	dh_shlibdeps -s
+	dh_gencontrol -s
+	dh_md5sums -s
+	dh_builddeb -s
+
+binary: binary-arch binary-indep
+# NB: install-% should be .PHONY to avoid checking for real files, but
+# implicit/pattern rules may only build real files; if you declare these
+# .PHONY, no command will be run
+.PHONY: build install-clean install clean binary-indep binary-arch binary




More information about the pkg-gnome-commits mailing list