debian/0000755000000000000000000000000012234600453007165 5ustar debian/rules0000755000000000000000000000031712234600452010245 0ustar #!/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 debian/control0000644000000000000000000000656212234600452010600 0ustar Source: haskell-hsx2hs Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Clint Adams Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof , libghc-src-exts-dev (>= 1.14) , libghc-src-exts-dev (<< 1.15) , libghc-src-exts-prof , libghc-src-meta-dev (>> 0.6) , 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} debian/copyright0000644000000000000000000000542712234600452011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: hsx2hs Upstream-Contact: Niklas Broberg 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. debian/hsx2hs.dirs0000644000000000000000000000001012234600452011255 0ustar usr/bin debian/changelog0000644000000000000000000000063012234600452011035 0ustar haskell-hsx2hs (0.13.1-1) unstable; urgency=low [ Joachim Breitner ] * Adjust watch file to new hackage layout [ Raúl Benencia ] * New upstream release * Depend on haskell-src-exts 1.14 -- Raúl Benencia Thu, 31 Oct 2013 15:45:34 -0300 haskell-hsx2hs (0.13.0-1) unstable; urgency=low * Initial release. -- Clint Adams Fri, 09 Aug 2013 19:44:41 -0400 debian/compat0000644000000000000000000000000212234600452010362 0ustar 9 debian/source/0000755000000000000000000000000012234600452010464 5ustar debian/source/format0000644000000000000000000000001412234600452011672 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017412234600453010220 0ustar version=3 http://hackage.haskell.org/package/hsx2hs/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))