debian/0000755000000000000000000000000012147643130007167 5ustar debian/watch0000644000000000000000000000036012036251642010217 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|strict-concurrency-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/strict-concurrency \ ([\d\.]*\d)/ debian/control0000644000000000000000000000476012147627364010614 0ustar Source: haskell-strict-concurrency Priority: extra Section: haskell Maintainer: Debian Haskell Group Uploaders: Giovanni Mascellani Build-Depends: debhelper (>= 9), haskell-devscripts (>= 0.8.15), cdbs, ghc, ghc-prof, Build-Depends-Indep: ghc-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/strict-concurrency Vcs-Darcs: http://darcs.debian.org/darcs/pkg-haskell/haskell-strict-concurrency Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-strict-concurrency Package: libghc-strict-concurrency-dev Architecture: any Depends: ${haskell:Depends}, ${misc:Depends}, ${shlibs:Depends} Suggests: ${haskell:Suggests} Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Description: Haskell strict concurrency abstractions${haskell:ShortBlurb} This package provides head normal form strict versions of some standard Haskell concurrency abstractions (MVars,Chans), which provide control over where evaluation takes place not offered by the default lazy types. This may be useful for deciding when and where evaluation occurs, leading to improved time or space use, depending on the circumstances. . ${haskell:Blurb} Package: libghc-strict-concurrency-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Suggests: ${haskell:Suggests} Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Description: Haskell strict concurrency abstractions${haskell:ShortBlurb} This package provides head normal form strict versions of some standard Haskell concurrency abstractions (MVars,Chans), which provide control over where evaluation takes place not offered by the default lazy types. This may be useful for deciding when and where evaluation occurs, leading to improved time or space use, depending on the circumstances. . ${haskell:Blurb} Package: libghc-strict-concurrency-doc Section: doc Architecture: all Depends: ${haskell:Depends}, ${misc:Depends} Suggests: ${haskell:Suggests} Recommends: ${haskell:Recommends} Description: Haskell strict concurrency abstractions${haskell:ShortBlurb} This package provides head normal form strict versions of some standard Haskell concurrency abstractions (MVars,Chans), which provide control over where evaluation takes place not offered by the default lazy types. This may be useful for deciding when and where evaluation occurs, leading to improved time or space use, depending on the circumstances. . ${haskell:Blurb} debian/rules0000755000000000000000000000015512036251642010250 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/patches/0000755000000000000000000000000012145675045010626 5ustar debian/patches/series0000644000000000000000000000002212145675045012035 0ustar use-new-exception debian/patches/use-new-exception0000644000000000000000000000350712145675045014135 0ustar Description: Compile with GHC 7.6 (don't use Control.OldException) Forwarded: yes (private email) Author: Iain Lane Index: haskell-strict-concurrency-0.2.4.1/Control/Concurrent/MVar/Strict.hs =================================================================== --- haskell-strict-concurrency-0.2.4.1.orig/Control/Concurrent/MVar/Strict.hs 2010-08-12 00:01:17.000000000 +0000 +++ haskell-strict-concurrency-0.2.4.1/Control/Concurrent/MVar/Strict.hs 2013-04-12 11:49:08.322626389 +0000 @@ -43,9 +43,9 @@ import GHC.IOBase import Prelude -import Control.OldException as Exception -- import Control.Parallel.Strategies import Control.DeepSeq +import Control.Exception -- |Put a value into an 'MVar'. If the 'MVar' is currently full, -- 'putMVar' will wait until it becomes empty. @@ -121,8 +121,8 @@ withMVar :: NFData a => MVar a -> (a -> IO b) -> IO b withMVar m io = block $ do a <- takeMVar m - b <- Exception.catch (unblock (io a)) - (\e -> do putMVar m a; throw e) + b <- catch (unblock (io a)) + (\ (e :: IOException) -> do putMVar m a; throw e) putMVar m a return b @@ -135,8 +135,8 @@ modifyMVar_ :: NFData a => MVar a -> (a -> IO a) -> IO () modifyMVar_ m io = block $ do a <- takeMVar m - a' <- Exception.catch (unblock (io a)) - (\e -> do putMVar m a; throw e) + a' <- catch (unblock (io a)) + (\ (e :: IOException) -> do putMVar m a; throw e) putMVar m a' {-| @@ -147,8 +147,8 @@ modifyMVar :: NFData a => MVar a -> (a -> IO (a,b)) -> IO b modifyMVar m io = block $ do a <- takeMVar m - (a',b) <- Exception.catch (unblock (io a)) - (\e -> do putMVar m a; throw e) + (a',b) <- catch (unblock (io a)) + (\ (e :: IOException) -> do putMVar m a; throw e) putMVar m a' return b debian/changelog0000644000000000000000000000247312147643130011047 0ustar haskell-strict-concurrency (0.2.4.1-4) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:52:08 +0200 haskell-strict-concurrency (0.2.4.1-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 [ Iain Lane ] * Add debian/patches/use-new-exception to use Control.Exception instead of Control.OldException, resolving a build failure with GHC 7.6. -- Iain Lane Fri, 12 Apr 2013 13:00:52 +0100 haskell-strict-concurrency (0.2.4.1-2) unstable; urgency=low * Sourceful upload to rebuild documentation package. * Bump to Standards-Version 3.9.2. -- Clint Adams Sat, 04 Feb 2012 14:02:37 -0500 haskell-strict-concurrency (0.2.4.1-1) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 [ Joachim Breitner ] * New upstream release * Bump standards version, no change -- Joachim Breitner Sun, 03 Apr 2011 10:06:03 +0530 haskell-strict-concurrency (0.2.3-1) unstable; urgency=low * Initial release. (closes: #584286) -- Giovanni Mascellani Fri, 04 Jun 2010 12:53:54 +0200 debian/source/0000755000000000000000000000000012036251642010467 5ustar debian/source/format0000644000000000000000000000001412036251642011675 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147616332010371 0ustar 9 debian/copyright0000644000000000000000000000411212036251642011120 0ustar Format-Specification: http://dep.debian.net/deps/dep5 Name: Haskell strict concurrency abstractions Maintainer: Don Stewart Source: http://hackage.haskell.org/package/strict-concurrency Files: * Copyright: © 2007, Don Stewart © 2001, The University of Glasgow © Lennart Kolmodin License: BSD All rights reserved. . 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 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 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. Files: debian/* Copyright: © 2010 Giovanni Mascellani License: GPL-3+ The Debian packaging information is under the GPL, version 3 or later. On Debian GNU/Linux systems, the complete text of the GNU General Public License Version 3 can be found in `/usr/share/common-licenses/GPL-3'.