debian/0000755000000000000000000000000012150657445007177 5ustar debian/copyright0000644000000000000000000000366212036250377011135 0ustar Format-Specification: # http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: HUnit Maintainer: hunit@richardg.name Source: http://hackage.haskell.org/packages/archive/HUnit/1.2.2.1/HUnit-1.2.2.1.tar.gz Copyright: 2002, Dean Herington License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer. . - Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. . - The names of the copyright holders may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2010, Marco Túlio Gontijo e Silva 2009, Kari Pahula 2006-2008, Ian Lynagh License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000032612036250377010225 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|HUnit-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/HUnit \ ([\d\.]*\d)/ debian/compat0000644000000000000000000000000212147616227010374 0ustar 9 debian/patches/0000755000000000000000000000000012036250377010622 5ustar debian/patches/broken_links.patch0000644000000000000000000000447412036250377014334 0ustar # Description: Correct broken links in documentation # Some " were left without a quote in the documentation. This patch only # changes them to \". # Bug: http://sourceforge.net/tracker/?func=detail&aid=2955563&group_id=46796&atid=447396 # Forwarded: http://sourceforge.net/tracker/download.php?group_id=46796&atid=447396&file_id=363731&aid=2955563 # Author: Marco Túlio Gontijo e Silva # Last-Update: 2010-02-20 Index: HUnit-1.2.2.1/Test/HUnit.hs =================================================================== --- HUnit-1.2.2.1.orig/Test/HUnit.hs 2010-02-20 11:08:41.000000000 -0200 +++ HUnit-1.2.2.1/Test/HUnit.hs 2010-02-20 11:09:16.000000000 -0200 @@ -12,17 +12,17 @@ -- Define test cases as appropriate: -- -- @ --- test1 = TestCase (assertEqual "for (foo 3)," (1,2) (foo 3)) +-- test1 = TestCase (assertEqual \"for (foo 3),\" (1,2) (foo 3)) -- test2 = TestCase (do (x,y) <- partA 3 --- assertEqual "for the first result of partA," 5 x +-- assertEqual \"for the first result of partA,\" 5 x -- b <- partB y --- assertBool ("(partB " ++ show y ++ ") failed") b) +-- assertBool (\"(partB \" ++ show y ++ \") failed\") b) -- @ -- -- Name the test cases and group them together: -- -- @ --- tests = TestList [TestLabel "test1" test1, TestLabel "test2" test2] +-- tests = TestList [TestLabel \"test1\" test1, TestLabel \"test2\" test2] -- @ -- -- Run the tests as a group. At a Haskell interpreter prompt, apply the function @@ -51,10 +51,10 @@ -- functions that HUnit provides: -- -- @ --- tests = test [ "test1" ~: "(foo 3)" ~: (1,2) ~=? (foo 3), --- "test2" ~: do (x, y) <- partA 3 --- assertEqual "for the first result of partA," 5 x --- partB y \@? "(partB " ++ show y ++ ") failed" ] +-- tests = test [ \"test1\" ~: \"(foo 3)\" ~: (1,2) ~=? (foo 3), +-- \"test2\" ~: do (x, y) <- partA 3 +-- assertEqual \"for the first result of partA,\" 5 x +-- partB y \@? \"(partB \" ++ show y ++ \") failed\" ] -- @ -- -- Assuming the same test failures as before, you would see: debian/patches/series0000644000000000000000000000002312036250377012032 0ustar broken_links.patch debian/control0000644000000000000000000000330112150230135010556 0ustar Source: haskell-hunit Section: haskell Priority: optional Maintainer: Debian Haskell Group Uploaders: Marco Túlio Gontijo e Silva Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9), haskell-devscripts (>= 0.8.15), ghc, ghc-prof, cdbs Build-Depends-Indep: ghc-doc Homepage: http://hunit.sourceforge.net/ Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hunit Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hunit Package: libghc-hunit-dev Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell unit testing framework for GHC${haskell:ShortBlurb} HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java, see: . . ${haskell:Blurb} Package: libghc-hunit-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell unit testing framework for GHC${haskell:ShortBlurb} HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java, see: . . ${haskell:Blurb} Package: libghc-hunit-doc Section: doc Architecture: all Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell unit testing framework for GHC${haskell:ShortBlurb} HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java, see: . . ${haskell:Blurb} debian/rules0000755000000000000000000000022212036250377010247 0ustar #!/usr/bin/make -f DEB_BUILD_DEPENDENCIES = build-arch include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/changelog0000644000000000000000000001541312150657445011055 0ustar haskell-hunit (1.2.5.2-1) unstable; urgency=low * New upstream release -- Joachim Breitner Mon, 27 May 2013 15:27:01 +0200 haskell-hunit (1.2.5.1-3) unstable; urgency=low * Move Haskell blurb to the end of the description, reduces the impact of #708703 -- Joachim Breitner Sat, 25 May 2013 23:52:25 +0200 haskell-hunit (1.2.5.1-2) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:51:05 +0200 haskell-hunit (1.2.5.1-1) experimental; urgency=low * New upstream version. -- Clint Adams Fri, 04 Jan 2013 11:34:16 -0500 haskell-hunit (1.2.4.2-3) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Bump standards version, no change -- Joachim Breitner Sun, 14 Oct 2012 12:01:14 +0200 haskell-hunit (1.2.4.2-2) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Joachim Breitner Mon, 06 Feb 2012 17:33:28 +0100 haskell-hunit (1.2.4.2-1) unstable; urgency=low * New upstream release -- Joachim Breitner Thu, 22 Sep 2011 21:32:22 +0200 haskell-hunit (1.2.2.3-1) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 [ Joachim Breitner ] * New upstream release -- Joachim Breitner Sun, 27 Mar 2011 11:19:45 +0530 haskell-hunit (1.2.2.1-2) unstable; urgency=low * debian/copyright: Specify revision of Format-Specification:. * Use debian/compat 7. * Add patch that corrects broken links in Documentation. * Split Build-Depends: in Build-Depends-Indep:. * debian/source/format: Use source format 3.0 (quilt). -- Marco Túlio Gontijo e Silva Sat, 20 Feb 2010 11:39:17 -0200 haskell-hunit (1.2.2.1-1) unstable; urgency=low * New upstream version. * debian/control: Addopt by the Debian Haskell Group. * debian/control: Bump Standards-Version to 3.8.4, no changes needed. * debian/control: Bump Build-Depends: on haskell-devscripts, removing haddock and hscolour from Build-Depends: and using an unversioned Build-Depends: on ghc6. * debian/control: Add field Provides: to -dev and -prof packages. * debian/control: Use ${haskell:Recommends} and Suggests. * debian/watch: Created. * debian/copyright: Use DEP-5 format. * debian/control: Use Section: haskell. -- Marco Túlio Gontijo e Silva Sat, 13 Feb 2010 00:02:52 -0200 haskell-hunit (1.2.0.3-3) unstable; urgency=low * Use hlibrary.mk from haskell-devscripts and remove the local copy. -- Kari Pahula Wed, 25 Feb 2009 14:46:49 +0200 haskell-hunit (1.2.0.3-2) unstable; urgency=low * Updated hlibrary.mk to put .haddock to -dev package. -- Kari Pahula Fri, 20 Feb 2009 09:27:49 +0200 haskell-hunit (1.2.0.3-1) unstable; urgency=low * New upstream release * New maintainer. * Switch over to hlibrary.mk and haskell-dev. -- Kari Pahula Thu, 19 Feb 2009 19:16:52 +0200 haskell-hunit (1.2.0.0-2) unstable; urgency=low * Upgrade to "Generic Haskell cabal library packaging files v10": * Versioned dependencies are now generated for the Cabal packages we depend on. * Use the new ${impl:ghc6:*_deps} variables in debian/control.in. * Call canonicalise-comma-list on the depends and suggests fields in control.in. This works around bugs in lintian, where it gets confused and starts giving spurious warnings. -- Ian Lynagh (wibble) Thu, 28 Feb 2008 01:01:42 +0000 haskell-hunit (1.2.0.0-1) unstable; urgency=low * New upstream version. * Upgrade to "Generic Haskell cabal library packaging files v9": * Allows Setup to be in Setup.lhs instead of Setup.hs. * Bump the required haskell-utils from 1.8 to 1.10. * The control.in gives a standards-version of 3.7.3 (was 3.7.2). * Move everything from the devel section to the libdevel section. * Delete the LICENSE file (currently we assume it has that name, and that it exists) after "Setup copy"ing the Cabal package. * Remove some hacks that worked around older Cabal not letting us tell it exactly where to put the documentation. * Use --hyperlink-source when telling Cabal to haddock the library. * Add hscolour to the build-depends. -- Ian Lynagh (wibble) Tue, 20 Nov 2007 00:00:49 +0000 haskell-hunit (1.1.1-2) unstable; urgency=low * Upgrade to "Generic Haskell cabal library packaging files v8": * update-generated-files rule in debian/rules runs update-debian-haskell-files. * Build-dep on haddock >= 0.8-2 in order to get portable .haddock files. * We tell Cabal's configure where to put the docs so that it doesn't break when we move them around behind its back. * Use canonicalise-comma-list around the build-deps in debian/control.in to fix problems where we get an unparsable ", , " when a variable is empty. -- Ian Lynagh (wibble) Mon, 04 Jun 2007 21:53:02 +0000 haskell-hunit (1.1.1-1) unstable; urgency=low * New upstream version. * Fix Setup.hs (type signatures don't match our version of Cabal). * Split off profiling and documentation into separate packages. * debian/control.in now makes much more use of variables, including magic Cabal variables. * Use debhelper level 5 (was 4). * Bump haskell-utils build-dep requirement to 1.8. * Upgrade to "Generic Haskell cabal library debian/rules v0.7": * Generate haddock docs. * -doc package calls gen_contents_index from postinst and postrm. * Use destdir rather than deprecated copy-prefix flag to Setup copy. * Add -X.haddock to dh_compress call. -- Ian Lynagh (wibble) Thu, 10 May 2007 13:40:06 +0100 haskell-hunit (1.1-3) unstable; urgency=low * Upgrade to "Generic Haskell cabal library debian/rules v0.6". Tell setup to use ghc6 rather than ghc, so that the postinst/prerm scripts work when the ghc-pkg symlink doesn't exist or doesn't point to ghc6's ghc-pkg. -- Ian Lynagh (wibble) Mon, 20 Nov 2006 20:50:42 +0000 haskell-hunit (1.1-2) unstable; urgency=low * Update control from control.in to include arm, mips and mipsel in the architecture list. * Upgrade to "Generic Haskell cabal library debian/rules v0.5". Fixes build-failure on non-x86/amd64 due to object splitting being unconditionally enabled. -- Ian Lynagh (wibble) Mon, 23 Oct 2006 12:32:51 +0100 haskell-hunit (1.1-1) unstable; urgency=low * Initial release (was part of ghc6 until version 6.6-1). -- Ian Lynagh (wibble) Fri, 13 Oct 2006 16:43:11 +0000 debian/source/0000755000000000000000000000000012036250377010473 5ustar debian/source/format0000644000000000000000000000001412036250377011701 0ustar 3.0 (quilt)