[Pkg-haskell-commits] darcs: gitit: Dependencies against pandoc and filestore generated dynamically

mascellani at poisson.phc.unipi.it mascellani at poisson.phc.unipi.it
Tue Aug 3 15:41:10 UTC 2010


Tue Aug  3 15:39:57 UTC 2010  mascellani at poisson.phc.unipi.it
  * Dependencies against pandoc and filestore generated dynamically
  Ignore-this: f8ed9c4ded236a98b7fa97d25d977eb0

    M ./control -2 +1
    M ./rules +6

Tue Aug  3 15:39:57 UTC 2010  mascellani at poisson.phc.unipi.it
  * Dependencies against pandoc and filestore generated dynamically
  Ignore-this: f8ed9c4ded236a98b7fa97d25d977eb0
diff -rN -u old-gitit/control new-gitit/control
--- old-gitit/control	2010-08-03 15:41:09.705856844 +0000
+++ new-gitit/control	2010-08-03 15:41:09.709857057 +0000
@@ -69,8 +69,7 @@
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
- pandoc,
- libghc6-filestore-data
+ ${gitit:Depends}
 Description: Wiki engine backed by a git or darcs filestore
  Gitit is a wiki backed by a git or darcs filestore. Pages and uploaded files
  can be modified either directly via the VCS’s command-line tools or through
diff -rN -u old-gitit/rules new-gitit/rules
--- old-gitit/rules	2010-08-03 15:41:09.705856844 +0000
+++ new-gitit/rules	2010-08-03 15:41:09.709857057 +0000
@@ -3,7 +3,13 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
 
+PANDOC_DEP := $(shell dpkg -p pandoc | grep ^Version: | cut -d' ' -f2)
+FILESTORE_DEP := $(shell dpkg -p libghc6-filestore-data | grep ^Version: | cut -d' ' -f2)
+
 install/gitit:: debian/tmp-inst-ghc6
 	mv debian/tmp-inst-ghc6/usr/bin/* debian/gitit/usr/bin
 	mv debian/tmp-inst-ghc6/usr/share/gitit-$(CABAL_VERSION) debian/gitit/usr/share
 
+	# Generate dependencies against data packages
+	echo "gitit:Depends=pandoc (= ${PANDOC_DEP}), libghc6-filestore-data (= ${FILESTORE_DEP})" >> debian/gitit.substvars
+





More information about the Pkg-haskell-commits mailing list