debian/0000755000000000000000000000000012151331107007160 5ustar debian/watch0000644000000000000000000000033012036251106010207 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|pastis-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/pastis \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000015512036251105010242 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000335612036251105011123 0ustar This package was debianized by Clint Adams on Sun, 16 Oct 2011 18:11:44 -0000 It was downloaded from http://hackage.haskell.org/package/pastis Upstream Authors: Alp Mestanogullari Copyright: 2011 Alp Mestanogullari License: 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 Alp Mestanogullari 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. debian/source/0000755000000000000000000000000012036251105010461 5ustar debian/source/format0000644000000000000000000000001412036251105011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012050007212010602 5ustar debian/patches/new-exceptions.diff0000644000000000000000000000243012050007212014403 0ustar Index: haskell-pastis-0.1.2/Network/Pastis.hs =================================================================== --- haskell-pastis-0.1.2.orig/Network/Pastis.hs 2012-11-10 16:46:28.384282442 +0000 +++ haskell-pastis-0.1.2/Network/Pastis.hs 2012-11-10 16:47:06.364275833 +0000 @@ -1,11 +1,14 @@ +{-# LANGUAGE ScopedTypeVariables #-} + module Network.Pastis (pastisURL) where +import Control.Exception.Base (catch, IOException) import Network.HTTP import Network.URI -- | Use pastisURL to shorten a URL. If an error occurs, the function returns 'url'. pastisURL :: String -> IO String -pastisURL url = fmap (either (const url) rspBody) (simpleHTTP request) `catch` (return . const url) +pastisURL url = fmap (either (const url) rspBody) (simpleHTTP request) `catch` (\(_ :: IOException) -> return url) where request = Request { rqURI = uri , rqMethod = GET , rqHeaders = [] @@ -14,4 +17,4 @@ , uriAuthority = Just $ URIAuth { uriUserInfo = "", uriRegName = "past.is", uriPort = "" } , uriPath = "/api/" , uriQuery = "?format=simple&url=" ++ escapeURIString isUnreserved url - , uriFragment = "" } \ No newline at end of file + , uriFragment = "" } debian/patches/series0000644000000000000000000000002412050007212012013 0ustar new-exceptions.diff debian/compat0000644000000000000000000000000212147616272010374 0ustar 9 debian/control0000644000000000000000000000332312150230155010564 0ustar Source: haskell-pastis 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/pastis Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-pastis Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-pastis Package: libghc-pastis-dev Architecture: any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: interface to the past.is URL shortening service${haskell:ShortBlurb} It provides an interface to the past.is URL-shortening web service. . ${haskell:Blurb} Package: libghc-pastis-prof Architecture: any Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: interface to the past.is URL shortening service${haskell:ShortBlurb} It provides an interface to the past.is URL-shortening web service. . ${haskell:Blurb} Package: libghc-pastis-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: interface to the past.is URL shortening service${haskell:ShortBlurb} It provides an interface to the past.is URL-shortening web service. . ${haskell:Blurb} debian/changelog0000644000000000000000000000230112151331107011026 0ustar haskell-pastis (0.1.2-5build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Wed, 29 May 2013 08:46:14 +0100 haskell-pastis (0.1.2-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:35 +0200 haskell-pastis (0.1.2-4) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:51:38 +0200 haskell-pastis (0.1.2-3) experimental; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Bump standards version, no change [ Clint Adams ] * Patch to build with newer exceptions. -- Clint Adams Sat, 10 Nov 2012 16:48:58 +0000 haskell-pastis (0.1.2-2) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Joey Hess Mon, 27 Feb 2012 19:44:46 -0400 haskell-pastis (0.1.2-1) unstable; urgency=low * Initial release. -- Clint Adams Sun, 16 Oct 2011 14:11:44 -0400