[Pkg-haskell-commits] darcs: hothasktags: Initial Check-In (migrate from git)
Raúl Benencia
rul at kalgan.cc
Sat Mar 1 20:16:07 UTC 2014
Sat Mar 1 20:12:54 UTC 2014 Ra[_<U+00FA>_]l Benencia <rul at kalgan.cc>
* Initial Check-In (migrate from git)
A ./changelog
A ./compat
A ./control
A ./copyright
A ./hothasktags.1
A ./manpages
A ./patches/
A ./patches/00-bump-haskell-src-exts-version
A ./patches/series
A ./rules
A ./source/
A ./source/format
A ./watch
Sat Mar 1 20:12:54 UTC 2014 Raúl Benencia <rul at kalgan.cc>
* Initial Check-In (migrate from git)
diff -rN -u old-hothasktags/changelog new-hothasktags/changelog
--- old-hothasktags/changelog 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/changelog 2014-03-01 20:16:07.468243597 +0000
@@ -0,0 +1,28 @@
+hothasktags (0.3.1-3) UNRELEASED; urgency=medium
+
+ * Patch for compatibility with src-exts 1.14. Closes: #730888
+ * Migrate VCS from git to darcs.
+ * Bump Standards-Version without any changes.
+ * Update watch file
+
+ -- Raúl Benencia <rul at kalgan.cc> Sat, 01 Mar 2014 16:42:17 -0300
+
+hothasktags (0.3.1-2) unstable; urgency=low
+
+ * Avoid using runghc, which requires working ghci.
+
+ -- Joey Hess <joeyh at debian.org> Sun, 07 Apr 2013 14:35:38 -0400
+
+hothasktags (0.3.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Avoid running cabal in the build process; among other problems
+ cabal writes to $HOME. Closes: #704876
+
+ -- Joey Hess <joeyh at debian.org> Sun, 07 Apr 2013 13:32:05 -0400
+
+hothasktags (0.3.0-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Joey Hess <joeyh at debian.org> Wed, 30 Jan 2013 11:33:04 +1100
diff -rN -u old-hothasktags/compat new-hothasktags/compat
--- old-hothasktags/compat 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/compat 2014-03-01 20:16:07.468243597 +0000
@@ -0,0 +1 @@
+9
diff -rN -u old-hothasktags/control new-hothasktags/control
--- old-hothasktags/control 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/control 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1,24 @@
+Source: hothasktags
+Section: devel
+Priority: optional
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Joey Hess <joeyh at debian.org>
+Build-Depends: debhelper (>= 9)
+ , ghc
+ , libghc-src-exts-dev (>= 1.14)
+ , libghc-src-exts-dev (<< 1.15)
+ , cpphs (>= 1.11)
+Standards-Version: 3.9.5
+Homepage: http://hackage.haskell.org/package/hothasktags
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hothasktags
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/hothasktags
+
+Package: hothasktags
+Architecture: any
+Depends: ${shlibs:Depends}
+ , ${misc:Depends}
+Description: Haskell ctags generator
+ hothasktags generates ctags files for Haskell, with knowledge of
+ import lists and qualified imports. It provides a smart go-to-definition
+ for Vim, that almost always gets it right in the presence of multiple names
+ from different modules.
diff -rN -u old-hothasktags/copyright new-hothasktags/copyright
--- old-hothasktags/copyright 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/copyright 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://hackage.haskell.org/package/hothasktags
+
+Files: *
+Copyright: (c) 2010-2013, Luke Palmer
+License: other
+ All rights reserved.
+ .
+ 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.
+ .
+ * Neither the name of Luke Palmer nor the names of other
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "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
+ OWNER OR CONTRIBUTORS 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.
diff -rN -u old-hothasktags/hothasktags.1 new-hothasktags/hothasktags.1
--- old-hothasktags/hothasktags.1 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/hothasktags.1 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1,27 @@
+.TH hothasktags 1
+.SH NAME
+hothacktags \- generate ctags files for Haskell
+.SH SYNOPSIS
+.B hothasktags <file> <file> ... > tags
+.SH DESCRIPTION
+.BR hothasktags
+generates ctags files for Haskell, with knowledge of import
+lists and qualified imports. It provides a smart go-to-definition for Vim,
+that almost always gets it right in the presence of multiple names from
+different modules.
+.P
+You will want to configure Vim to allow dots in keywords, because hothasktags
+generates tags for qualified names. You can do this with:
+.P
+> set iskeyword=a-z,A-Z,_,.,39
+.P
+(The 39 is for the prime character)
+.P
+Usage is easy, just give hothasktags the names of all the haskell sources you
+want to index and redirect into a tags file. For example:
+.P
+> find . | egrep '\.hs$' | xargs hothasktags > tags
+.P
+will index all the hs files under the current directory.
+.P
+hothasktags does not work with the emacs tag file format. Sorry.
diff -rN -u old-hothasktags/manpages new-hothasktags/manpages
--- old-hothasktags/manpages 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/manpages 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1 @@
+debian/hothasktags.1
diff -rN -u old-hothasktags/patches/00-bump-haskell-src-exts-version new-hothasktags/patches/00-bump-haskell-src-exts-version
--- old-hothasktags/patches/00-bump-haskell-src-exts-version 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/patches/00-bump-haskell-src-exts-version 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1,50 @@
+Description: Fix compatibility with haskell-src-exts 1.14
+Author: Raúl Benencia <rul at kalgan.cc>
+--- a/Main.hs
++++ b/Main.hs
+@@ -39,7 +39,7 @@
+
+ extractPat (L.PVar _ name) = extractName name
+ extractPat (L.PApp _ _ pats) = concatMap extractPat pats
+- extractPat (L.PTuple _ pats) = concatMap extractPat pats
++ extractPat (L.PTuple _ _ pats) = concatMap extractPat pats
+ extractPat (L.PList _ pats) = concatMap extractPat pats
+ extractPat (L.PParen _ pat) = extractPat pat
+ extractPat (L.PAsPat _ name pat) = extractName name ++ extractPat pat
+@@ -175,11 +175,12 @@
+ haskellSource :: FilePath -> IO String
+ haskellSource file = do
+ contents <- readFile file
+- let needsCpp = maybe False (L.CPP `elem`) (L.readExtensions contents)
++ let needsCpp = maybe False ((L.EnableExtension L.CPP) `elem`) $ exts contents
+ if needsCpp
+ then CPP.runCpphs cppOpts file contents
+ else return contents
+ where
++ exts contents = fmap (\(_, exts') -> exts') $ L.readExtensions contents
+ cppOpts = CPP.defaultCpphsOptions { CPP.boolopts = CPP.defaultBoolOptions { CPP.hashline = False } }
+
+
+@@ -198,7 +199,10 @@
+ where
+ mode filename = L.ParseMode {
+ L.parseFilename = filename,
+- L.extensions = [L.MultiParamTypeClasses, L.ExistentialQuantification, L.FlexibleContexts],
++ L.baseLanguage = L.Haskell98,
++ L.extensions = [L.EnableExtension L.MultiParamTypeClasses,
++ L.EnableExtension L.ExistentialQuantification,
++ L.EnableExtension L.FlexibleContexts],
+ L.ignoreLanguagePragmas = False,
+ L.ignoreLinePragmas = False,
+ L.fixities = Nothing
+--- a/hothasktags.cabal
++++ b/hothasktags.cabal
+@@ -37,7 +37,7 @@
+ base == 4.*,
+ containers,
+ filepath,
+- haskell-src-exts >= 1.11 && < 1.14,
++ haskell-src-exts >= 1.14 && < 1.15,
+ cpphs >= 1.11 && < 1.17
+ main-is: Main.hs
+ ghc-options: -W
diff -rN -u old-hothasktags/patches/series new-hothasktags/patches/series
--- old-hothasktags/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/patches/series 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1 @@
+00-bump-haskell-src-exts-version
diff -rN -u old-hothasktags/rules new-hothasktags/rules
--- old-hothasktags/rules 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/rules 2014-03-01 20:16:07.472243599 +0000
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+
+override_dh_auto_configure:
+ ghc --make Setup
+ ./Setup configure
+
+override_dh_auto_build:
+ ./Setup build
+
+override_dh_auto_clean:
+ if [ -x Setup ]; then ./Setup clean; fi
+ rm -f Setup Setup.o Setup.hi
+
+override_dh_auto_install:
+ dh_install dist/build/hothasktags/hothasktags usr/bin
diff -rN -u old-hothasktags/source/format new-hothasktags/source/format
--- old-hothasktags/source/format 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/source/format 2014-03-01 20:16:07.476243601 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -rN -u old-hothasktags/watch new-hothasktags/watch
--- old-hothasktags/watch 1970-01-01 00:00:00.000000000 +0000
+++ new-hothasktags/watch 2014-03-01 20:16:07.476243601 +0000
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/hothasktags/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
More information about the Pkg-haskell-commits
mailing list