--- hlint-1.6.11.orig/debian/rules +++ hlint-1.6.11/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + + +# Standard way of building Haskell libraries . +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/hlibrary.mk + +# If no threaded RTS is found, disable it +DEB_SETUP_GHC6_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc-$(GHC6_VERSION)/libHSrts_thr.a || echo --flags=-threaded) + +build/$(CABAL_PACKAGE) :: build-ghc6-stamp + +install/$(CABAL_PACKAGE) :: build/$(CABAL_PACKAGE) + mv dist-ghc6 dist + $(DEB_SETUP_BIN_NAME) copy --destdir=debian/$(CABAL_PACKAGE) + rm -rf debian/$(CABAL_PACKAGE)/usr/share/doc + install -Dm 644 hlint.htm debian/$(CABAL_PACKAGE)/usr/share/doc/$(CABAL_PACKAGE)/hlint.html + mv dist dist-ghc6 + --- hlint-1.6.11.orig/debian/manpages +++ hlint-1.6.11/debian/manpages @@ -0,0 +1 @@ +debian/hlint.1 --- hlint-1.6.11.orig/debian/watch +++ hlint-1.6.11/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://hackage.haskell.org/packages/archive/hlint/([\d\.]+)/hlint-([\d\.]+)\.tar\.gz --- hlint-1.6.11.orig/debian/control +++ hlint-1.6.11/debian/control @@ -0,0 +1,27 @@ +Source: hlint +Section: haskell +Priority: optional +Maintainer: Debian Haskell Group +Uploaders: Joachim Breitner +Build-Depends: cdbs, + haskell-devscripts (>= 0.6.15+nmu12), + debhelper (>= 7), + ghc6 (>= 6.8.2), + libghc6-mtl-dev, + libghc6-parallel-dev, + libghc6-src-exts-dev (>= 1.1), + libghc6-src-exts-dev (<< 1.2), + libghc6-hscolour-dev (>= 1.15), + libghc6-uniplate-dev (>= 1.2.0.2), + libghc6-uniplate-dev (<< 1.3), +Standards-Version: 3.8.3 +Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hlint +Homepage: http://hackage.haskell.org/package/hlint + +Package: hlint +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: ghc6 +Description: Haskell source code suggestions + HLint gives suggestions on how to improve your source code. It can either + print them directly, or generated a colored HTML output. --- hlint-1.6.11.orig/debian/hlint.1 +++ hlint-1.6.11/debian/hlint.1 @@ -0,0 +1,47 @@ +.TH HLINT "1" "July 2009" "HLint (C) Neil Mitchell 2006-2009" "User Commands" +.SH NAME +HLint \- haskell source code suggestions +.SH SYNOPSIS +.B hlint +[\fIfiles/directories\fR] [\fIoptions\fR] + +.SH DESCRIPTION +\fIHLint\fR is a tool for suggesting possible improvements to Haskell code. These suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies. + +.SH OPTIONS +.TP +\fB\-?\fR \fB\-\-help\fR +Display help message +.TP +\fB\-v\fR \fB\-\-version\fR +Display version information +.TP +\fB\-r[file]\fR \fB\-\-report\fR[=\fIfile\fR] +Generate a report in HTML +.TP +\fB\-h\fR \fIfile\fR \fB\-\-hint\fR=\fIfile\fR +Hint/ignore file to use +.TP +\fB\-c\fR \fB\-\-color\fR, \fB\-\-colour\fR +Color the output (requires ANSI terminal) +.TP +\fB\-i\fR \fImessage\fR \fB\-\-ignore\fR=\fImessage\fR +Ignore a particular hint +.TP +\fB\-s\fR \fB\-\-show\fR +Show all ignored ideas +.TP +\fB\-t\fR \fB\-\-test\fR +Run in test mode +.SH EXAMPLE +"To check all Haskell files in 'src' and generate a report type:" +.IP +hlint src \fB\-\-report\fR +.SH "SEE ALSO" +The full documentation for +.B HLint +is available in \fI/usr/share/doc/hlint/hlint.html\fI. +.SH AUTHOR +This manual page was written by Joachim Breitner +for the Debian system (but may be used by others). + --- hlint-1.6.11.orig/debian/copyright +++ hlint-1.6.11/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Joachim Breitner on +Tue, 21 Jul 2009 15:28:16 +0200 + +It was downloaded from +http://hackage.haskell.org/package/hlint + +Copyright: + (C) 2006-2009 Neil Mitchell + + This system is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This system is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this system; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + NOTE: HOWEVER, all runtime system code - ie, code required by the + output of the interface generator - is licensed under the GNU Libray + General Public License version 2 (LGPL). This means that generated + interfaces can use any license that the author of the interface sees + fit (including closed proprietary licenses). In other words, I do + not care what you use C->Haskell for or to whom you are giving + C->Haskell or any interfaces generated with C->Haskell, but if you + modify or improve C->Haskell, you have to contribute your changes + back to the community. Nevertheless, I will of course be particularly + delighted if you choose to make your work freely available. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License may be found in `/usr/share/common-licenses/GPL'. + +Copyright Debian packaging. + (C) 2009 Joachim Breitner + + The Debian packaging can be distributed under the same terms as hlint itself. --- hlint-1.6.11.orig/debian/compat +++ hlint-1.6.11/debian/compat @@ -0,0 +1 @@ +7 --- hlint-1.6.11.orig/debian/changelog +++ hlint-1.6.11/debian/changelog @@ -0,0 +1,24 @@ +hlint (1.6.11-1) unstable; urgency=low + + * New upstream version + + -- Joachim Breitner Wed, 23 Sep 2009 20:46:13 +0200 + +hlint (1.6.9-1) unstable; urgency=low + + [ Marco TĂșlio Gontijo e Silva ] + * debian/control: Use more sintetic name for Vcs-Darcs. + + [ Joachim Breitner ] + * New upstream version + * Build non-threaded binary when no threading RTS is available on this + architecture (Closes: #541679) + * Bump standards version, no change. + + -- Joachim Breitner Sun, 13 Sep 2009 03:26:35 +0200 + +hlint (1.6.4-1) unstable; urgency=low + + * Initial release + + -- Joachim Breitner Tue, 21 Jul 2009 16:12:25 +0200