[Pkg-ocaml-maint-commits] [SCM] pkglab packaging branch, master, updated. debian/1.4.2-4-19-ga45b894
Ralf Treinen
treinen at free.fr
Sun Sep 27 19:20:29 UTC 2009
The following commit has been merged in the master branch:
commit a45b894143a3e8b11e807f726aa630500a96bf04
Author: Ralf Treinen <treinen at free.fr>
Date: Sun Sep 27 21:19:58 2009 +0200
drop all dependencies on build-essential packages
diff --git a/debian/changelog b/debian/changelog
index cae90fe..dd94ed4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pkglab (1.4.2-6) UNRELEASED; urgency=low
+
+ * add-sources.py: drop all relations to build-essential packages
+
+ --
+
pkglab (1.4.2-5) unstable; urgency=low
* Standards-version 3.8.3 (no change)
diff --git a/debian/contrib/add-sources.py b/debian/contrib/add-sources.py
index 31e3c66..2c6c00a 100755
--- a/debian/contrib/add-sources.py
+++ b/debian/contrib/add-sources.py
@@ -12,6 +12,16 @@
# $Id: add-sources.py 5957 2008-08-16 18:32:17Z zack $
+# build-essential packages. All build-dependencies and build-conflicts
+# to one of these packages is simply ignored.
+# TODO: this list should be obtained from the binary package file,
+# by grep-dctrl -F Build-Essential --pattern=yes -s Package -n
+# but then we have to change the way this command is called.
+buildessentials = ['apt', 'binutils', 'cpio', 'cpp', 'dpkg-dev',
+ 'g++', 'gcc', 'libc6-dev', 'make', 'patch',
+ 'perl', 'perl-modules']
+
+
import string
import sys
@@ -37,7 +47,9 @@ def pkg_of_src(src):
def dep_for_me(dep):
for_me = None
- if dep['arch'] is None:
+ if buildessentials.count(dep['name']) > 0:
+ for_me = False
+ elif dep['arch'] is None:
for_me = True
elif dep['arch']:
(polarity, _) = dep['arch'][0]
--
pkglab packaging
More information about the Pkg-ocaml-maint-commits
mailing list