[Pkg-ocaml-maint-commits] r4210 - in /trunk/tools/build-dep-graph: ocaml_src_pkgs.txt update_src_list.exclude update_src_list.sh

gildor at users.alioth.debian.org gildor at users.alioth.debian.org
Wed Aug 29 20:48:01 UTC 2007


Author: gildor
Date: Wed Aug 29 20:48:01 2007
New Revision: 4210

URL: http://svn.debian.org/wsvn/?sc=1&rev=4210
Log:
* Add a list of exclusion to ocaml source package

Added:
    trunk/tools/build-dep-graph/update_src_list.exclude
Modified:
    trunk/tools/build-dep-graph/ocaml_src_pkgs.txt
    trunk/tools/build-dep-graph/update_src_list.sh

Modified: trunk/tools/build-dep-graph/ocaml_src_pkgs.txt
URL: http://svn.debian.org/wsvn/trunk/tools/build-dep-graph/ocaml_src_pkgs.txt?rev=4210&op=diff
==============================================================================
--- trunk/tools/build-dep-graph/ocaml_src_pkgs.txt (original)
+++ trunk/tools/build-dep-graph/ocaml_src_pkgs.txt Wed Aug 29 20:48:01 2007
@@ -7,16 +7,16 @@
 cameleon
 camlidl
 camlimages
-camlrpc
 camlzip
 camomile
 cduce
+cmigrep
 confluence
 coq
+cryptgps
 cryptokit
 dag2html
 edos-debcheck
-equeue
 extlib
 facile
 felix
@@ -29,17 +29,13 @@
 headache
 hevea
 hlins
-kdeedu
 lablgl
 lablgtk2
 lablgtk2-doc
 lablgtkmathview
 lablgtksourceview
 ledit
-linux-2.6
-linux-2.6.16
-mediawiki1.5
-mediawiki1.7
+liquidsoap
 menhir
 missinglib
 mldonkey
@@ -48,15 +44,17 @@
 monotone-viz
 mtasc
 mysql-ocaml
-netclient
 numerix
 ocaml
 ocamlagrep
+ocaml-alsa
+ocaml-ao
 ocaml-benchmark
 ocamlcreal
 ocamldap
 ocamldbi
 ocamldsort
+ocaml-dtools
 ocaml-expat
 ocaml-fileutils
 ocaml-getopt
@@ -68,13 +66,14 @@
 ocamlodbc
 ocamlsdl
 ocaml-sha
-ocaml-sha1
 ocaml-shout
 ocaml-sqlite
+ocaml-sqlite3
 ocaml-ssl
-ocaml-tools
 ocaml-vorbis
+ocamlwc
 ocamlweb
+ocsigen
 ocurl
 omake
 orpie
@@ -89,14 +88,13 @@
 pxp
 pycaml
 regexp-pp
-scilab
 spamoracle
-swig1.3
 syslog-ocaml
 ulex
 unison
 unison2.9.1
 whitelister
+why
 wyrd
 xml-light
 xstr

Added: trunk/tools/build-dep-graph/update_src_list.exclude
URL: http://svn.debian.org/wsvn/trunk/tools/build-dep-graph/update_src_list.exclude?rev=4210&op=file
==============================================================================
--- trunk/tools/build-dep-graph/update_src_list.exclude (added)
+++ trunk/tools/build-dep-graph/update_src_list.exclude Wed Aug 29 20:48:01 2007
@@ -1,0 +1,7 @@
+linux2\.6
+kdeedu
+graphviz
+kdeedu
+langscan
+mediawiki1\.10
+swig1\.3

Modified: trunk/tools/build-dep-graph/update_src_list.sh
URL: http://svn.debian.org/wsvn/trunk/tools/build-dep-graph/update_src_list.sh?rev=4210&op=diff
==============================================================================
--- trunk/tools/build-dep-graph/update_src_list.sh (original)
+++ trunk/tools/build-dep-graph/update_src_list.sh Wed Aug 29 20:48:01 2007
@@ -1,4 +1,8 @@
 #!/bin/sh
+
+set -e
+set -x
+
 mirror="http://ftp.debian.org"
 suite="unstable"
 sections="main contrib non-free"
@@ -21,9 +25,18 @@
       ${section}_sources
   done
 }
+grep_exclude ()
+{
+  if [ -e "update_src_list.exclude" ]; then
+    PATTERN=`awk 'BEGIN { ORS=""; print "^("; ORS="|" } { print } END { ORS=""; print ")$"; }' "update_src_list.exclude"`
+    grep -v -E "$PATTERN"
+  else
+    cat 
+  fi
+}
 
 get_sources
 (echo "ocaml"; \
  grep_sources | cut -f 2 -d ' ') \
-  | sort > ocaml_src_pkgs.txt
+  | sort | grep_exclude > ocaml_src_pkgs.txt
 




More information about the Pkg-ocaml-maint-commits mailing list