debian/0000755000000000000000000000000012226457437007202 5ustar debian/copyright0000644000000000000000000000326012036247626011132 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: distributive Maintainer: Edward A. Kmett Source: http://hackage.haskell.org/package/distributive Copyright: (C) 2011 Edward Kmett 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 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/watch0000644000000000000000000000020212224036521010206 0ustar version=3 http://hackage.haskell.org/package/distributive/distro-monitor .*-([0-9\.]+).(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/compat0000644000000000000000000000000212147616161010371 0ustar 9 debian/patches/0000755000000000000000000000000012226457127010625 5ustar debian/patches/series0000644000000000000000000000007212226457135012040 0ustar no-transformers-compat.diff 0001-fix-build-on-armel.patch debian/patches/no-transformers-compat.diff0000644000000000000000000000050312117153036016064 0ustar --- a/distributive.cabal +++ b/distributive.cabal @@ -33,8 +33,7 @@ library build-depends: base >= 4 && < 5, - transformers >= 0.2 && < 0.4, - transformers-compat >= 0.1 && < 0.2 + transformers >= 0.3 && < 0.4 hs-source-dirs: src exposed-modules: Data.Distributive debian/patches/0001-fix-build-on-armel.patch0000644000000000000000000000237712226457127015630 0ustar From ef79f8fbbff8501b99ff08addfef752176f61117 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 12 Oct 2013 22:26:45 -0400 Subject: [PATCH] fix build on armel --- distributive.cabal | 1 + src/Data/Distributive.hs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/distributive.cabal b/distributive.cabal index 316962a..562f99a 100644 --- a/distributive.cabal +++ b/distributive.cabal @@ -37,6 +37,7 @@ library hs-source-dirs: src exposed-modules: Data.Distributive + extensions: CPP if flag(lib-Werror) ghc-options: -Werror diff --git a/src/Data/Distributive.hs b/src/Data/Distributive.hs index 6f5613d..171ec2f 100644 --- a/src/Data/Distributive.hs +++ b/src/Data/Distributive.hs @@ -15,6 +15,8 @@ module Data.Distributive , comapM ) where +{-# LANGUAGE CPP #-} + import Control.Applicative import Control.Applicative.Backwards import Control.Monad (liftM) @@ -26,7 +28,9 @@ import Data.Functor.Identity import Data.Functor.Product import Data.Functor.Reverse +#ifndef DEBIAN_NO_GHCI {-# ANN module "ignore Use section" #-} +#endif -- | This is the categorical dual of 'Traversable'. However, there appears -- to be little benefit to allow the distribution via an arbitrary comonad -- 1.7.10.4 debian/control0000644000000000000000000000334412226457437010611 0ustar Source: haskell-distributive Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Iulian Udrea Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof , libghc-transformers-dev (>> 0.3) , libghc-transformers-dev (<< 0.4) , libghc-transformers-prof Build-Depends-Indep: ghc-doc , libghc-transformers-doc Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/distributive Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-distributive Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-distributive Package: libghc-distributive-dev Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell 98 Distributive functors -- Dual to Traversable${haskell:ShortBlurb} Haskell 98 Distributive functors -- Dual to Traversable. . ${haskell:Blurb} Package: libghc-distributive-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell 98 Distributive functors -- Dual to Traversable${haskell:ShortBlurb} Haskell 98 Distributive functors -- Dual to Traversable. . ${haskell:Blurb} Package: libghc-distributive-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${haskell:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell 98 Distributive functors -- Dual to Traversable${haskell:ShortBlurb} Haskell 98 Distributive functors -- Dual to Traversable. . ${haskell:Blurb} debian/rules0000755000000000000000000000015512036247626010257 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/changelog0000644000000000000000000000277312226457206011057 0ustar haskell-distributive (0.3-3) unstable; urgency=low * Adjust watch file to new hackage layout * Let it build without GHCi (thx to Joey Hess for the patch) (Closes: #726173) -- Joachim Breitner Sun, 13 Oct 2013 10:49:10 +0200 haskell-distributive (0.3-2) unstable; urgency=low [ Colin Watson ] * Build-depend on ghc-ghci, due to use of annotations. [ Joachim Breitner ] * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:29 +0200 haskell-distributive (0.3-1) experimental; urgency=low * New upstream version. * Patch away spurious transformers-compat dependency. -- Clint Adams Sat, 09 Feb 2013 01:06:27 -0500 haskell-distributive (0.2.2-2) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change -- Joachim Breitner Sun, 14 Oct 2012 12:00:42 +0200 haskell-distributive (0.2.2-1) unstable; urgency=low * New upstream release -- Joachim Breitner Thu, 17 May 2012 12:46:54 +0200 haskell-distributive (0.2.0.1-2) unstable; urgency=low * Sourceful upload to rebuild documentation package -- Joachim Breitner Sat, 04 Feb 2012 19:45:05 +0100 haskell-distributive (0.2.0.1-1) unstable; urgency=low * Initial release. -- Iulian Udrea Fri, 02 Sep 2011 23:06:18 +0100 debian/source/0000755000000000000000000000000012036247626010476 5ustar debian/source/format0000644000000000000000000000001412036247626011704 0ustar 3.0 (quilt)