[Pkg-haskell-commits] darcs: haskell-hsx2hs: Initial Check-In

Clint Adams clint at debian.org
Fri Aug 9 23:59:22 UTC 2013


Fri Aug  9 23:58:51 UTC 2013  Clint Adams <clint at debian.org>
  * Initial Check-In

    A ./changelog
    A ./compat
    A ./control
    A ./copyright
    A ./hsx2hs.dirs
    A ./rules
    A ./source/
    A ./source/format
    A ./watch

Fri Aug  9 23:58:51 UTC 2013  Clint Adams <clint at debian.org>
  * Initial Check-In
diff -rN -u old-haskell-hsx2hs/changelog new-haskell-hsx2hs/changelog
--- old-haskell-hsx2hs/changelog	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/changelog	2013-08-09 23:59:22.201544329 +0000
@@ -0,0 +1,5 @@
+haskell-hsx2hs (0.13.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Clint Adams <clint at debian.org>  Fri, 09 Aug 2013 19:44:41 -0400
diff -rN -u old-haskell-hsx2hs/compat new-haskell-hsx2hs/compat
--- old-haskell-hsx2hs/compat	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/compat	2013-08-09 23:59:22.201544329 +0000
@@ -0,0 +1 @@
+9
diff -rN -u old-haskell-hsx2hs/control new-haskell-hsx2hs/control
--- old-haskell-hsx2hs/control	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/control	2013-08-09 23:59:22.201544329 +0000
@@ -0,0 +1,99 @@
+Source: haskell-hsx2hs
+Section: haskell
+Priority: extra
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Build-Depends: debhelper (>= 9)
+  , cdbs
+  , haskell-devscripts (>= 0.8.15)
+  , ghc
+  , ghc-prof
+  , libghc-src-exts-dev (>> 1.13)
+  , libghc-src-exts-prof
+  , libghc-src-meta-dev (>> 0.6)
+  , libghc-src-meta-dev (<< 0.7)
+  , libghc-src-meta-prof
+  , libghc-mtl-dev (>> 2.0)
+  , libghc-mtl-dev (<< 2.2)
+  , libghc-mtl-prof
+  , ghc-ghci
+  , libghc-utf8-string-dev (>> 0.3)
+  , libghc-utf8-string-dev (<< 0.4)
+  , libghc-utf8-string-prof
+Build-Depends-Indep: ghc-doc
+  , libghc-src-exts-doc
+  , libghc-src-meta-doc
+  , libghc-mtl-doc
+  , libghc-utf8-string-doc
+Standards-Version: 3.9.4
+Homepage: http://hackage.haskell.org/package/hsx2hs
+Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hsx2hs
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hsx2hs
+X-Description: literal XML syntax in Haskell source code
+ HSX (Haskell Source with XML) allows literal XML syntax in Haskell
+ source code. The hsx2hs preprocessor translates .hsx source files
+ into ordinary .hs files. Literal XML syntax is translated into
+ function calls for creating XML values of the appropriate forms.
+ hsx2hs transforms literal XML syntax into a series of function calls.
+ Any project can make use of the syntax by providing definitions for
+ those functions, and the XML values produced will be of the types
+ specified. This works for any types, since hsx2hs doesn't make any
+ assumptions, or inserts any information depending on types.
+ XMLGenerator defines a few typeclasses that together cover the
+ functions injected by the preprocessor. A project that uses these
+ classes to provide the semantics for the injected syntax will be
+ able to use any functions written in terms of these, allowing
+ better code reusability than if each project defines its own
+ semantics for the XML syntax. Also, the classes makes it possible
+ to use the literal syntax at different types within the same module.
+ Achieving that is not as simple as it may seem, but the XMLGenerator
+ module provides all the necessary machinery.
+
+Package: hsx2hs
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription} - preprocessor
+ ${haskell:LongDescription}
+ .
+ This contains the hsx2hs executable for preprocessing.
+
+Package: libghc-hsx2hs-dev
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${shlibs:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hsx2hs-prof
+Architecture: any
+Depends: ${haskell:Depends}
+  , ${misc:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Provides: ${haskell:Provides}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hsx2hs-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${haskell:Depends}
+Recommends: ${haskell:Recommends}
+Suggests: ${haskell:Suggests}
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
diff -rN -u old-haskell-hsx2hs/copyright new-haskell-hsx2hs/copyright
--- old-haskell-hsx2hs/copyright	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/copyright	2013-08-09 23:59:22.201544329 +0000
@@ -0,0 +1,53 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hsx2hs
+Upstream-Contact: Niklas Broberg <niklas.broberg at gmail.com>
+Source: http://hackage.haskell.org/package/hsx2hs
+
+Files: *
+Copyright: 2004-2012 Niklas Broberg
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2013 Clint Adams
+License: Expat
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ .
+ 2. 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.
+ .
+ 3. Neither the name of the author nor the names of his contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``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 AUTHORS 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.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff -rN -u old-haskell-hsx2hs/hsx2hs.dirs new-haskell-hsx2hs/hsx2hs.dirs
--- old-haskell-hsx2hs/hsx2hs.dirs	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/hsx2hs.dirs	2013-08-09 23:59:22.205541857 +0000
@@ -0,0 +1 @@
+usr/bin
diff -rN -u old-haskell-hsx2hs/rules new-haskell-hsx2hs/rules
--- old-haskell-hsx2hs/rules	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/rules	2013-08-09 23:59:22.205541857 +0000
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+install/hsx2hs:: debian/tmp-inst-ghc
+	cp -av debian/tmp-inst-ghc/usr/bin/* debian/hsx2hs/usr/bin
diff -rN -u old-haskell-hsx2hs/source/format new-haskell-hsx2hs/source/format
--- old-haskell-hsx2hs/source/format	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/source/format	2013-08-09 23:59:22.205541857 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -rN -u old-haskell-hsx2hs/watch new-haskell-hsx2hs/watch
--- old-haskell-hsx2hs/watch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-hsx2hs/watch	2013-08-09 23:59:22.209541690 +0000
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|hsx2hs-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/hsx2hs \
+    ([\d\.]*\d)/




More information about the Pkg-haskell-commits mailing list