[Pkg-haskell-commits] darcs: haskell-testpack: Update testpack to latest group practices
Iain Lane
laney at ubuntu.com
Fri Jan 4 15:04:01 UTC 2013
Thu Mar 11 11:15:12 UTC 2010 Iain Lane <laney at ubuntu.com>
* Update testpack to latest group practices
Ignore-this: e2f1c4c00df014e51ef2ce414ddcdaa4
M ./changelog +16
M ./compat -1 +1
M ./control -17 +42
M ./copyright -1 +6
M ./rules -147 +3
A ./watch
Thu Mar 11 11:15:12 UTC 2010 Iain Lane <laney at ubuntu.com>
* Update testpack to latest group practices
Ignore-this: e2f1c4c00df014e51ef2ce414ddcdaa4
diff -rN -u old-haskell-testpack//changelog new-haskell-testpack//changelog
--- old-haskell-testpack//changelog 2013-01-04 15:04:00.930723151 +0000
+++ new-haskell-testpack//changelog 2013-01-04 15:04:01.430722190 +0000
@@ -1,3 +1,19 @@
+haskell-testpack (1.0.2-1) UNRELEASED; urgency=low
+
+ * New upstream release 1.0.2.
+ * debian/rules: Update to use hlibrary
+ * debian/control:
+ + Switch to team maintenance, update Vcs-* metadata accordingly
+ + Build profiling library and rename documentation package to group
+ standards
+ + Adjust build-depends to current group practice
+ + Standards-Version bump to 3.8.4, no changes required
+ + Update section to Haskell
+ + Update priority to extra
+ * debian/watch: Add, based on group template
+
+ -- Iain Lane <laney at ubuntu.com> Thu, 11 Mar 2010 10:43:15 +0000
+
haskell-testpack (1.0.0-4) unstable; urgency=low
* Rebuild for newer GHC.
diff -rN -u old-haskell-testpack//compat new-haskell-testpack//compat
--- old-haskell-testpack//compat 2013-01-04 15:04:00.930723151 +0000
+++ new-haskell-testpack//compat 2013-01-04 15:04:00.942725042 +0000
@@ -1 +1 @@
-4
+7
diff -rN -u old-haskell-testpack//control new-haskell-testpack//control
--- old-haskell-testpack//control 2013-01-04 15:04:00.930723151 +0000
+++ new-haskell-testpack//control 2013-01-04 15:04:01.442723129 +0000
@@ -1,19 +1,34 @@
Source: haskell-testpack
-Priority: optional
-Maintainer: John Goerzen <jgoerzen at complete.org>
-Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.10.3-3), haskell-devscripts (>= 0.6.15), libghc6-mtl-dev, libghc6-hunit-dev, libghc6-quickcheck1-dev
-Build-Depends-Indep: debhelper (>= 4.0.0), haddock, hugs (>= 98.200503.08-4), haskell-devscripts (>= 0.6.15), ghc6 (>= 6.10), libhugs-hunit, libhugs-mtl, libhugs-quickcheck, libghc6-hunit-doc
-Standards-Version: 3.8.0
-Section: devel
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: John Goerzen <jgoerzen at complete.org>
+Build-Depends: cdbs,
+ debhelper (>= 7),
+ ghc6,
+ haskell-devscripts (>= 0.7),
+ libghc6-mtl-dev,
+ libghc6-hunit-dev,
+ libghc6-quickcheck1-dev,
+ ghc6-prof,
+ libghc6-mtl-prof,
+ libghc6-hunit-prof,
+ libghc6-quickcheck1-prof
+Build-Depends-Indep: ghc6-doc,
+ libghc6-mtl-doc,
+ libghc6-hunit-doc,
+ libghc6-quickcheck1-doc
+Standards-Version: 3.8.4
+Section: haskell
Homepage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack
-Vcs-Browser: http://git.complete.org/testpack
-Vcs-Git: git://git.complete.org/testpack
+Vcs-Browser: http://git.debian.org/?p=pkg-haskell/haskell-testpack.git;a=summary
+Vcs-Git: git://git.debian.org/git/pkg-haskell/haskell-testpack.git
Package: libghc6-testpack-dev
-Section: libdevel
Architecture: any
-Depends: ${haskell:Depends}
-Suggests: haskell-testpack-doc
+Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
Description: Haskell Test Utility Pack for HUnit and QuickCheck
testpack provides utilities for both HUnit and QuickCheck. These include
tools for running QuickCheck properties as HUnit test cases, allowing you to
@@ -21,12 +36,15 @@
helpful displays of running progress in both HUnit and QuickCheck, additional
generators for other types for QuickCheck, and shortcuts for quickly defining new
test cases.
+ .
+ This package contains the development libraries.
-Package: libhugs-testpack
-Section: devel
-Architecture: all
-Depends: ${haskell:Depends}, hugs (>= 98.200503.08-4), libhugs-hunit, libhugs-mtl, libhugs-quickcheck
-Suggests: haskell-testpack-doc
+Package: libghc6-testpack-prof
+Architecture: any
+Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
Description: Haskell Test Utility Pack for HUnit and QuickCheck
testpack provides utilities for both HUnit and QuickCheck. These include
tools for running QuickCheck properties as HUnit test cases, allowing you to
@@ -34,10 +52,15 @@
helpful displays of running progress in both HUnit and QuickCheck, additional
generators for other types for QuickCheck, and shortcuts for quickly defining new
test cases.
+ .
+ This package contains the profiling libraries.
-Package: haskell-testpack-doc
+Package: libghc6-testpack-doc
Section: doc
Architecture: all
+Depends: ${haskell:Depends}, ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
Description: Documentation for Haskell Test Utility Pack
testpack provides utilities for both HUnit and QuickCheck. These include
tools for running QuickCheck properties as HUnit test cases, allowing you to
@@ -45,3 +68,5 @@
helpful displays of running progress in both HUnit and QuickCheck, additional
generators for other types for QuickCheck, and shortcuts for quickly defining new
test cases.
+ .
+ This package contains the documentation.
diff -rN -u old-haskell-testpack//copyright new-haskell-testpack//copyright
--- old-haskell-testpack//copyright 2013-01-04 15:04:00.846724220 +0000
+++ new-haskell-testpack//copyright 2013-01-04 15:04:00.946726101 +0000
@@ -1,4 +1,9 @@
-This is convertible, written and maintained by John Goerzen <jgoerzen at complete.org>
+This is testpack, written by John Goerzen <jgoerzen at complete.org> and
+maintained by the Debian Haskell Group
+<pkg-haskell-maintainers at lists.alioth.debian.org>.
+
+Packaging is (c) 2009 John Goerzen <jgoerzen at complete.org>
+ (c) 2010 Iain Lane <laney at ubuntu.com>
The original source can always be found at:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack
diff -rN -u old-haskell-testpack//rules new-haskell-testpack//rules
--- old-haskell-testpack//rules 2013-01-04 15:04:00.846724220 +0000
+++ new-haskell-testpack//rules 2013-01-04 15:04:00.946726101 +0000
@@ -1,150 +1,6 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+DEB_BUILD_DEPENDENCIES = build-arch
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL_PROGRAM += -s
-endif
-
-# shared library versions, option 1
-version=2.0.5
-major=2
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
- #make test-ghc6
- # Add here commands to compile the package.
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -./setup clean
- -make clean
- -rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist html
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs -a
-
- # Add here commands to install the package into debian/tmp
- dh_haskell -a
- dh_haskell_depends -a
-
-builddocs: builddocs-stamp
-builddocs-stamp:
- dh_testdir
-
- #make test-hugs
-
-installdocs: builddocs
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs -i
-
- #dh_haskell -i disabled since there is no more hugs
- #make test-hugs
-
-# Build architecture-independent files here.
-binary-indep: builddocs installdocs
- dh_testdir
- dh_testroot
- dh_haskell -i
- dh_haskell_depends -i
- dh_installchangelogs -i
- dh_installdocs -i
- dh_installexamples -i
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman -i
- dh_link -i
- dh_strip -i
- dh_compress -i
- dh_fixperms -i
-# dh_perl
-# dh_python
-# dh_makeshlibs
- dh_installdeb -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs -a
- dh_installdocs -a
- dh_installexamples -a
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman -a
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
-# dh_perl
-# dh_python
-# dh_makeshlibs
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff -rN -u old-haskell-testpack//watch new-haskell-testpack//watch
--- old-haskell-testpack//watch 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-testpack//watch 2013-01-04 15:04:00.946726101 +0000
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|testpack-$1.tar.gz|" \
+ http://hackage.haskell.org/packages/archive/testpack \
+ ([\d\.]*\d)/
More information about the Pkg-haskell-commits
mailing list