r50637 - in /desktop/unstable/libpeas/debian: changelog control.in docs rules

ah at users.alioth.debian.org ah at users.alioth.debian.org
Thu Sep 15 11:58:40 UTC 2016


Author: ah
Date: Thu Sep 15 11:58:39 2016
New Revision: 50637

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=50637
Log:
Convert from cdbs to dh.

Added:
    desktop/unstable/libpeas/debian/docs
Modified:
    desktop/unstable/libpeas/debian/changelog
    desktop/unstable/libpeas/debian/control.in
    desktop/unstable/libpeas/debian/rules

Modified: desktop/unstable/libpeas/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libpeas/debian/changelog?rev=50637&op=diff
==============================================================================
--- desktop/unstable/libpeas/debian/changelog	[utf-8] (original)
+++ desktop/unstable/libpeas/debian/changelog	[utf-8] Thu Sep 15 11:58:39 2016
@@ -1,3 +1,9 @@
+libpeas (1.18.0-4) UNRELEASED; urgency=medium
+
+  * Convert from cdbs to dh.
+
+ -- Andreas Henriksson <andreas at fatal.se>  Thu, 15 Sep 2016 13:12:01 +0200
+
 libpeas (1.18.0-3) unstable; urgency=medium
 
   * Convert to multiarch. (Closes: #815727)

Modified: desktop/unstable/libpeas/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libpeas/debian/control.in?rev=50637&op=diff
==============================================================================
--- desktop/unstable/libpeas/debian/control.in	[utf-8] (original)
+++ desktop/unstable/libpeas/debian/control.in	[utf-8] Thu Sep 15 11:58:39 2016
@@ -2,8 +2,7 @@
 Priority: extra
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: @GNOME_TEAM@
-Build-Depends: cdbs (>= 0.4.90),
-               debhelper (>= 9),
+Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                gnome-pkg-tools,
                intltool (>= 0.40),

Added: desktop/unstable/libpeas/debian/docs
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libpeas/debian/docs?rev=50637&op=file
==============================================================================
--- desktop/unstable/libpeas/debian/docs	(added)
+++ desktop/unstable/libpeas/debian/docs	[utf-8] Thu Sep 15 11:58:39 2016
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README

Modified: desktop/unstable/libpeas/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libpeas/debian/rules?rev=50637&op=diff
==============================================================================
--- desktop/unstable/libpeas/debian/rules	[utf-8] (original)
+++ desktop/unstable/libpeas/debian/rules	[utf-8] Thu Sep 15 11:58:39 2016
@@ -1,33 +1,34 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-include /usr/share/cdbs/1/rules/utils.mk
-include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
-DEB_DH_AUTORECONF_ARGS = "NOCONFIGURE=yes gnome-autogen.sh"
+%:
+	dh $@ --with gnome,gir,autoreconf
 
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
-                             --enable-python2 \
-                             --enable-python3 \
-                             --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+override_dh_autoreconf:
+	NOCONFIGURE=yes dh_autoreconf gnome-autogen.sh
 
-DEB_MAKE_CHECK_TARGET =
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--enable-gtk-doc \
+		--enable-python2 \
+		--enable-python3
 
-DEB_DH_INSTALL_ARGS = --fail-missing -X.la -X.pyc
+override_dh_makeshlibs:
+	dh_makeshlibs -p libpeas-1.0-0 \
+		-X/usr/lib/$(DEB_HOST_MULTIARCH)/libpeas-1.0/ -V -- -c4
+	dh_makeshlibs --remaining-packages
 
-build/libpeas-1.0-0::
+override_dh_install:
+	# remove compiled python and libtool .la files
+	find debian/tmp \( \
+		-name '*.la' -o -name '*.pyc' -o -name '*.pyo' \
+		\) -delete
+	rm -rf debian/tmp/usr/lib/*/peas-demo/plugins/*/__pycache__
+	dh_install --fail-missing
+
+override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	HOME=$(CURDIR) xvfb-run $(MAKE) check
 endif
 
-DEB_DH_MAKESHLIBS_ARGS_libpeas-1.0-0 += -X/usr/lib/$(DEB_HOST_MULTIARCH)/libpeas-1.0/ -V -- -c4
-
-binary-post-install/libpeas-doc::
-	# remove compiled python and libtool .la files
-	find debian/$(cdbs_curpkg) -name '*.pyo' -delete
-	find debian/$(cdbs_curpkg) -name '*.pyc' -delete
-	find debian/$(cdbs_curpkg) -name '__pycache__' -delete
-	find debian/$(cdbs_curpkg) -name '*.la' -delete




More information about the pkg-gnome-commits mailing list