[Pkg-haskell-commits] darcs: haskell-hledger-interest: Actually use haskell-devscripts. Should also fix this package's reproducibility.

Joachim Breitner mail at joachim-breitner.de
Sun Jun 7 13:54:38 UTC 2015


Sun Jun  7 13:49:30 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Actually use haskell-devscripts. Should also fix this package's reproducibility.

    M ./changelog +7
    A ./hledger-interest.haskell-binaries
    R ./hledger.dirs
    M ./rules -71 +2

Sun Jun  7 13:49:30 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Actually use haskell-devscripts. Should also fix this package's reproducibility.
diff -rN -u old-haskell-hledger-interest/changelog new-haskell-hledger-interest/changelog
--- old-haskell-hledger-interest/changelog	2015-06-07 13:54:38.796315473 +0000
+++ new-haskell-hledger-interest/changelog	2015-06-07 13:54:38.804315466 +0000
@@ -1,3 +1,10 @@
+haskell-hledger-interest (1.4.4-2) UNRELEASED; urgency=medium
+
+  * Actually use haskell-devscripts. Should also fix this package's
+    reproducibility.
+
+ -- Joachim Breitner <nomeata at debian.org>  Sun, 07 Jun 2015 15:48:58 +0200
+
 haskell-hledger-interest (1.4.4-1) unstable; urgency=medium
 
   * New upstream release
diff -rN -u old-haskell-hledger-interest/hledger.dirs new-haskell-hledger-interest/hledger.dirs
--- old-haskell-hledger-interest/hledger.dirs	2015-06-07 13:54:38.796315473 +0000
+++ new-haskell-hledger-interest/hledger.dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/bin
-usr/share
diff -rN -u old-haskell-hledger-interest/hledger-interest.haskell-binaries new-haskell-hledger-interest/hledger-interest.haskell-binaries
--- old-haskell-hledger-interest/hledger-interest.haskell-binaries	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hledger-interest/hledger-interest.haskell-binaries	2015-06-07 13:54:38.800315469 +0000
@@ -0,0 +1 @@
+hledger-interest
diff -rN -u old-haskell-hledger-interest/rules new-haskell-hledger-interest/rules
--- old-haskell-hledger-interest/rules	2015-06-07 13:54:38.796315473 +0000
+++ new-haskell-hledger-interest/rules	2015-06-07 13:54:38.800315469 +0000
@@ -1,73 +1,4 @@
 #!/usr/bin/make -f
 
-INSTALL = install
-INSTALL_FILE    = $(INSTALL) -p    -o root -g root  -m  644
-INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
-INSTALL_SCRIPT  = $(INSTALL) -p    -o root -g root  -m  755
-INSTALL_DIR     = $(INSTALL) -p -d -o root -g root  -m  755
-
-package=hledger-interest
-
-clean:
-	$(checkdir)
-	rm -f debian/hlibrary.setup stamp-configure build-arch
-	rm -rf debian/$(package)
-
-build: build-arch build-indep
-build-indep:
-
-build-arch: stamp-configure debian/hlibrary.setup
-	$(checkdir)
-
-	debian/hlibrary.setup build
-
-	touch build-arch
-
-stamp-configure: debian/hlibrary.setup
-	$(checkdir)
-
-	debian/hlibrary.setup configure --prefix=/usr
-
-	touch stamp-configure
-
-binary: binary-arch
-
-binary-indep:	checkroot build
-
-binary-arch:	checkroot build debian/hlibrary.setup
-	$(checkdir)
-
-	debian/hlibrary.setup copy --destdir=$(CURDIR)/debian/$(package)
-	rm -rf debian/$(package)/usr/share/doc/$(package)-*
-	cd debian/$(package) && $(INSTALL_DIR) \
-		usr/bin \
-		usr/share/doc/$(package) \
-		DEBIAN
-
-	$(INSTALL_FILE) debian/copyright debian/$(package)/usr/share/doc/$(package)/copyright
-
-	$(INSTALL_FILE) debian/changelog debian/$(package)/usr/share/doc/$(package)/changelog.Debian
-	gzip -9f debian/$(package)/usr/share/doc/$(package)/changelog.Debian
-
-	dpkg-shlibdeps -Tdebian/substvars -dDepends debian/$(package)/usr/bin/*
-	dpkg-gencontrol -ldebian/changelog -isp -p$(package) -Tdebian/substvars -Pdebian/$(package)
-
-	cd debian/$(package) && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
-
-	chown -R root:root debian/$(package)
-	chmod -R go=rX debian/$(package)
-
-	dpkg --build debian/$(package) ..
-
-debian/hlibrary.setup:
-	ghc --make Setup.hs -o $@
-
-define checkdir
-	test -f debian/rules
-endef
-
-checkroot:
-	$(checkdir)
-	test root = "`whoami`"
-
-.PHONY: binary binary-arch binary-indep clean checkroot build
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk




More information about the Pkg-haskell-commits mailing list