debian/0000755000000000000000000000000012151331157007165 5ustar debian/watch0000644000000000000000000000033212036251714010216 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|TinyURL-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/TinyURL \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000015512036251714010250 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000320512036251714011122 0ustar This package was debianized by Clint Adams on Sat, 22 Oct 2011 19:56:40 -0000 It was downloaded from http://hackage.haskell.org/package/TinyURL Upstream Authors: Reid Barton Copyright: 2009 Reid Barton License: 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. debian/source/0000755000000000000000000000000012036251714010467 5ustar debian/source/format0000644000000000000000000000001412036251714011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012050007313010604 5ustar debian/patches/new-exceptions.diff0000644000000000000000000000146512050007313014414 0ustar Index: haskell-tinyurl-0.1.0/Network/TinyURL.hs =================================================================== --- haskell-tinyurl-0.1.0.orig/Network/TinyURL.hs 2009-02-16 19:19:31.000000000 +0000 +++ haskell-tinyurl-0.1.0/Network/TinyURL.hs 2012-11-10 17:09:05.063668586 +0000 @@ -1,5 +1,8 @@ +{-# LANGUAGE ScopedTypeVariables #-} + module Network.TinyURL (tinyURL) where +import Control.Exception.Base (catch, IOException) import Network.HTTP import Network.URI @@ -7,7 +10,7 @@ -- the original URL. tinyURL :: String -> IO String tinyURL url = do - result <- simpleHTTP request `catch` (const . return $ Left undefined) + result <- simpleHTTP request `catch` (\(_ :: IOException) -> return $ Left undefined) case result of Left _ -> return url Right response -> return $ rspBody response debian/patches/series0000644000000000000000000000002412050007313012015 0ustar new-exceptions.diff debian/compat0000644000000000000000000000000212147616344010374 0ustar 9 debian/control0000644000000000000000000000332412150230177010571 0ustar Source: haskell-tinyurl 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-http-dev , libghc-http-prof , libghc-network-dev , libghc-network-prof Build-Depends-Indep: ghc-doc , libghc-http-doc , libghc-network-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/TinyURL Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-tinyurl Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-tinyurl Package: libghc-tinyurl-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: interface to TinyURL web service${haskell:ShortBlurb} It exports a single function that uses the TinyURL API to compress a given URL. . ${haskell:Blurb} Package: libghc-tinyurl-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: interface to TinyURL web service${haskell:ShortBlurb} It exports a single function that uses the TinyURL API to compress a given URL. . ${haskell:Blurb} Package: libghc-tinyurl-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: interface to TinyURL web service${haskell:ShortBlurb} It exports a single function that uses the TinyURL API to compress a given URL. . ${haskell:Blurb} debian/changelog0000644000000000000000000000231012151331157011033 0ustar haskell-tinyurl (0.1.0-5build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Wed, 29 May 2013 08:46:55 +0100 haskell-tinyurl (0.1.0-5) 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:48 +0200 haskell-tinyurl (0.1.0-4) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:52:18 +0200 haskell-tinyurl (0.1.0-3) experimental; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change [ Clint Adams ] * Patch to build with newer exceptions. -- Clint Adams Sat, 10 Nov 2012 17:09:47 +0000 haskell-tinyurl (0.1.0-2) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Joey Hess Mon, 27 Feb 2012 19:43:28 -0400 haskell-tinyurl (0.1.0-1) unstable; urgency=low * Initial release. -- Clint Adams Sat, 22 Oct 2011 15:56:40 -0400