r23954 - in /desktop/unstable/pygtksourceview/debian: changelog control control.in rules
pochu at users.alioth.debian.org
pochu at users.alioth.debian.org
Thu Apr 22 11:45:10 UTC 2010
Author: pochu
Date: Thu Apr 22 11:45:08 2010
New Revision: 23954
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=23954
Log:
* debian/control.in,
debian/rules:
- Switch to CDBS with python-autotools.mk.
Modified:
desktop/unstable/pygtksourceview/debian/changelog
desktop/unstable/pygtksourceview/debian/control
desktop/unstable/pygtksourceview/debian/control.in
desktop/unstable/pygtksourceview/debian/rules
Modified: desktop/unstable/pygtksourceview/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtksourceview/debian/changelog?rev=23954&op=diff
==============================================================================
--- desktop/unstable/pygtksourceview/debian/changelog [utf-8] (original)
+++ desktop/unstable/pygtksourceview/debian/changelog [utf-8] Thu Apr 22 11:45:08 2010
@@ -1,3 +1,11 @@
+pygtksourceview (2.10.1-2) UNRELEASED; urgency=low
+
+ * debian/control.in,
+ debian/rules:
+ - Switch to CDBS with python-autotools.mk.
+
+ -- Emilio Pozuelo Monfort <pochu at debian.org> Thu, 22 Apr 2010 12:19:51 +0200
+
pygtksourceview (2.10.1-1) unstable; urgency=low
* New upstream bugfix release.
Modified: desktop/unstable/pygtksourceview/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtksourceview/debian/control?rev=23954&op=diff
==============================================================================
--- desktop/unstable/pygtksourceview/debian/control [utf-8] (original)
+++ desktop/unstable/pygtksourceview/debian/control [utf-8] Thu Apr 22 11:45:08 2010
@@ -9,6 +9,7 @@
Maintainer: Josselin Mouette <joss at debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Sebastian Dröge <slomo at debian.org>
Build-Depends: debhelper (>= 5),
+ cdbs (>= 0.4.73),
python-support (>= 0.4),
gnome-pkg-tools (>= 0.10),
python-all-dev (>= 2.5),
@@ -18,7 +19,6 @@
xsltproc,
docbook-xsl,
gtk-doc-tools (>= 1.4),
- autotools-dev,
python-gtk2-doc
Standards-Version: 3.8.4
Modified: desktop/unstable/pygtksourceview/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtksourceview/debian/control.in?rev=23954&op=diff
==============================================================================
--- desktop/unstable/pygtksourceview/debian/control.in [utf-8] (original)
+++ desktop/unstable/pygtksourceview/debian/control.in [utf-8] Thu Apr 22 11:45:08 2010
@@ -4,6 +4,7 @@
Maintainer: Josselin Mouette <joss at debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper (>= 5),
+ cdbs (>= 0.4.73),
python-support (>= 0.4),
gnome-pkg-tools (>= 0.10),
python-all-dev (>= 2.5),
@@ -13,7 +14,6 @@
xsltproc,
docbook-xsl,
gtk-doc-tools (>= 1.4),
- autotools-dev,
python-gtk2-doc
Standards-Version: 3.8.4
Modified: desktop/unstable/pygtksourceview/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtksourceview/debian/rules?rev=23954&op=diff
==============================================================================
--- desktop/unstable/pygtksourceview/debian/rules [utf-8] (original)
+++ desktop/unstable/pygtksourceview/debian/rules [utf-8] Thu Apr 22 11:45:08 2010
@@ -1,85 +1,11 @@
#!/usr/bin/make -f
+DEB_BUILDDIR = debian/build
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-autotools.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
-CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
-
-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 \
- --enable-thread \
- --build=$(DEB_BUILD_GNU_TYPE)
-
-ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
- configure_flags += --host=$(DEB_HOST_GNU_TYPE)
-endif
-
-PYVERS := $(shell pyversions -vr)
-
-build-%/configure-stamp:
- dh_testdir
- mkdir -p build-$*
- cd build-$* && \
- PYTHON=/usr/bin/python$* CFLAGS="$(CFLAGS)" \
- $(CURDIR)/configure $(configure_flags)
- touch $@
-
-build-%/build-stamp: build-%/configure-stamp
- dh_testdir
- $(MAKE) -C build-$*
- touch $@
-
-build: $(PYVERS:%=build-%/build-stamp)
-
-install-clean:
- dh_testdir
- dh_testroot
- dh_clean -k
-
-install-%: build-%/build-stamp
- dh_testdir
- dh_testroot
- $(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/python-gtksourceview2
-
-install: build install-clean $(PYVERS:%=install-%)
- dh_testdir
- dh_testroot
- find debian/python-gtksourceview2 -name \*.la -exec rm -f \{\} \;
-
-clean::
- dh_testdir
- dh_testroot
- rm -Rf build-*
- -test -f config.sub && \
- test -r /usr/share/misc/config.sub && \
- cp -f /usr/share/misc/config.sub config.sub
- -test -f config.guess && \
- test -r /usr/share/misc/config.guess && \
- cp -f /usr/share/misc/config.guess config.guess
- dh_clean *.pyc */*.pyc
-
-binary-indep: build install
-#Nothing to do
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs -a
- dh_installexamples -a
- dh_installchangelogs ChangeLog -a
- dh_strip -a
- dh_link -a
- dh_compress -a -X.py
- dh_fixperms -a
- dh_pysupport -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary build install
+DEB_COMPRESS_EXCLUDE += .py
More information about the pkg-gnome-commits
mailing list