r47892 - in /packages/experimental/gnome-builder/debian: changelog control.in gnome-builder.postinst rules
ah at users.alioth.debian.org
ah at users.alioth.debian.org
Tue Apr 12 13:46:44 UTC 2016
Author: ah
Date: Tue Apr 12 13:46:44 2016
New Revision: 47892
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=47892
Log:
* Build-dep on dh-python, use --with python3 and dep on ${python3:Depends}.
- according to man dh_python3 for fixing up module path.
* Remove gi override pycache and use py3compile in postinst.
Added:
packages/experimental/gnome-builder/debian/gnome-builder.postinst
Modified:
packages/experimental/gnome-builder/debian/changelog
packages/experimental/gnome-builder/debian/control.in
packages/experimental/gnome-builder/debian/rules
Modified: packages/experimental/gnome-builder/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-builder/debian/changelog?rev=47892&op=diff
==============================================================================
--- packages/experimental/gnome-builder/debian/changelog [utf-8] (original)
+++ packages/experimental/gnome-builder/debian/changelog [utf-8] Tue Apr 12 13:46:44 2016
@@ -40,6 +40,9 @@
create-project-plugin, fpaste-plugin, gcc-plugin, gettext-plugin,
jhbuild-plugin, library-template-plugin, project-tree-plugin,
support-plugin, todo-plugin, xdg-app-plugin
+ * Build-dep on dh-python, use --with python3 and dep on ${python3:Depends}.
+ - according to man dh_python3 for fixing up module path.
+ * Remove gi override pycache and use py3compile in postinst.
[ Michael Biebl ]
* Drop uploaders.mk from debian/rules as this breaks the clean target with
Modified: packages/experimental/gnome-builder/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-builder/debian/control.in?rev=47892&op=diff
==============================================================================
--- packages/experimental/gnome-builder/debian/control.in [utf-8] (original)
+++ packages/experimental/gnome-builder/debian/control.in [utf-8] Tue Apr 12 13:46:44 2016
@@ -5,6 +5,7 @@
Uploaders: @GNOME_TEAM@
Build-Depends: appstream-util,
dh-autoreconf,
+ dh-python,
debhelper (>= 9),
desktop-file-utils,
exuberant-ctags,
@@ -48,6 +49,7 @@
valac-0.32-vapi,
${gir:Depends},
${misc:Depends},
+ ${python3:Depends},
${shlibs:Depends}
Recommends: python3-jedi
Description: IDE for GNOME
Added: packages/experimental/gnome-builder/debian/gnome-builder.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-builder/debian/gnome-builder.postinst?rev=47892&op=file
==============================================================================
--- packages/experimental/gnome-builder/debian/gnome-builder.postinst (added)
+++ packages/experimental/gnome-builder/debian/gnome-builder.postinst [utf-8] Tue Apr 12 13:46:44 2016
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+py3compile --package=gnome-builder
Modified: packages/experimental/gnome-builder/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/gnome-builder/debian/rules?rev=47892&op=diff
==============================================================================
--- packages/experimental/gnome-builder/debian/rules [utf-8] (original)
+++ packages/experimental/gnome-builder/debian/rules [utf-8] Tue Apr 12 13:46:44 2016
@@ -20,7 +20,7 @@
%:
- dh $@ --with autoreconf,gir,gnome
+ dh $@ --with autoreconf,gir,gnome,python3
override_dh_auto_configure:
dh_auto_configure -- --disable-static \
@@ -67,6 +67,7 @@
dh_auto_test || true
override_dh_install:
+ rm -rf debian/tmp/usr/lib/python*/*-packages/gi/overrides/__pycache__/
find debian/tmp -name '*.la' -delete
find debian/tmp/usr/lib/ -name '*.pyc' -o -name '*.pyo' -delete
rm -rf debian/tmp/usr/include/gnome-builder-*
More information about the pkg-gnome-commits
mailing list