[Pkg-haskell-commits] darcs: haskell-yesod-bin: Convert to CDBS.
Clint Adams
clint at debian.org
Wed Apr 29 15:43:42 UTC 2015
Wed Apr 29 15:43:34 UTC 2015 Clint Adams <clint at debian.org>
* Convert to CDBS.
M ./changelog -2 +6
M ./control -1 +2
M ./rules -73 +3
A ./yesod.haskell-binaries
Wed Apr 29 15:43:34 UTC 2015 Clint Adams <clint at debian.org>
* Convert to CDBS.
diff -rN -u old-haskell-yesod-bin/changelog new-haskell-yesod-bin/changelog
--- old-haskell-yesod-bin/changelog 2015-04-29 15:43:41.942405901 +0000
+++ new-haskell-yesod-bin/changelog 2015-04-29 15:43:41.942405901 +0000
@@ -1,9 +1,13 @@
haskell-yesod-bin (1.4.7.1-1) unstable; urgency=medium
+ [ Joachim Breitner ]
* New upstream release
- * Add yesod.lintian-overrides
+ * Add yesod.lintian-overrides
- -- Joachim Breitner <nomeata at debian.org> Wed, 29 Apr 2015 12:48:55 +0200
+ [ Clint Adams ]
+ * Convert packaging to CDBS.
+
+ -- Clint Adams <clint at debian.org> Wed, 29 Apr 2015 11:30:37 -0400
haskell-yesod-bin (1.4.0.6-1) experimental; urgency=medium
diff -rN -u old-haskell-yesod-bin/control new-haskell-yesod-bin/control
--- old-haskell-yesod-bin/control 2015-04-29 15:43:41.942405901 +0000
+++ new-haskell-yesod-bin/control 2015-04-29 15:43:41.946405900 +0000
@@ -5,6 +5,7 @@
Uploaders: Clint Adams <clint at debian.org>
Build-Depends: debhelper (>= 9)
, haskell-devscripts (>= 0.9)
+ , cdbs
, ghc
, libghc-attoparsec-dev (>= 0.10)
, libghc-base64-bytestring-dev
@@ -52,7 +53,7 @@
, libghc-zlib-dev (>= 0.5)
, libghc-warp-tls-dev
, libghc-async-dev
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Homepage: http://hackage.haskell.org/package/yesod-bin
Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-yesod-bin
Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-yesod-bin
diff -rN -u old-haskell-yesod-bin/rules new-haskell-yesod-bin/rules
--- old-haskell-yesod-bin/rules 2015-04-29 15:43:41.942405901 +0000
+++ new-haskell-yesod-bin/rules 2015-04-29 15:43:41.946405900 +0000
@@ -1,76 +1,6 @@
#!/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
+# DEB_ENABLE_TESTS = yes
-package=yesod
-
-clean: checkroot
-# debian/$(package).setup clean
- rm -f debian/$(package).setup *.o *.hi
- rm -f build-arch stamp-configure debian/files debian/substvars
- rm -rf dist
- rm -rf debian/$(package)
-
-debian/$(package).setup:
- ghc Setup.lhs -o $@
-
-build: build-arch build-indep
-build-indep:
-
-build-arch: stamp-configure
- $(checkdir)
-
- debian/$(package).setup build
-
- touch build-arch
-
-stamp-configure: debian/$(package).setup
- $(checkdir)
-
- debian/$(package).setup configure --prefix=/usr
-
- touch stamp-configure
-
-binary: binary-arch
-
-binary-indep: checkroot build
-
-binary-arch: checkroot build
- $(checkdir)
-
- debian/$(package).setup copy --destdir=$(CURDIR)/debian/$(package)
- rm -rf debian/$(package)/usr/share/doc/$(package)-*
- cd debian/$(package) && $(INSTALL_DIR) \
- usr/bin \
- usr/lib/$(package) \
- 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) ..
-
-define checkdir
- test -f debian/rules
-endef
-
-checkroot:
- $(checkdir)
- test root = "`whoami`"
-
-.PHONY: build build-indep binary binary-arch binary-indep clean checkroot
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff -rN -u old-haskell-yesod-bin/yesod.haskell-binaries new-haskell-yesod-bin/yesod.haskell-binaries
--- old-haskell-yesod-bin/yesod.haskell-binaries 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-yesod-bin/yesod.haskell-binaries 2015-04-29 15:43:41.950405899 +0000
@@ -0,0 +1,4 @@
+yesod
+yesod-ghc-wrapper
+yesod-ld-wrapper
+yesod-ar-wrapper
More information about the Pkg-haskell-commits
mailing list