diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-04 22:34:35 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-04 22:34:42 +0000 |
commit | 5c3e587b4f4e464b3bdc18d35993b8a9d755ad31 (patch) | |
tree | a59c9fb0f7a7e25c25562323395ac0c544b47a6e /dev-haskell | |
parent | media-sound/terminatorx: Force building with X support (-X fails to build, bu... (diff) | |
download | gentoo-5c3e587b4f4e464b3bdc18d35993b8a9d755ad31.tar.gz gentoo-5c3e587b4f4e464b3bdc18d35993b8a9d755ad31.tar.bz2 gentoo-5c3e587b4f4e464b3bdc18d35993b8a9d755ad31.zip |
dev-haskell/wxdirect: drop SLOW=2.9 as wxGTK:2.9 gone away a while ago
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/wxdirect/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch | 38 | ||||
-rw-r--r-- | dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild | 41 |
3 files changed, 0 insertions, 80 deletions
diff --git a/dev-haskell/wxdirect/Manifest b/dev-haskell/wxdirect/Manifest index 9f4b7437a042..d7baf0644624 100644 --- a/dev-haskell/wxdirect/Manifest +++ b/dev-haskell/wxdirect/Manifest @@ -1,2 +1 @@ -DIST wxdirect-0.90.1.1.tar.gz 29893 BLAKE2B 2e594ba127ab4340be0e488ebdf3eb3659fcf5eabb659be5ac64e0864607be0f8fd68b95a2ae558557101641071c42965ad1c45c80792007299fdf37e4baafc7 SHA512 f32b62db9c88a282531081a1a1e40757335306306af28a38ed364d28ca532418aca18e44ec6b5a789e02f5dddb455c9a7eb7f7e7c24b8a155df80628dcd2cfa1 DIST wxdirect-0.92.2.0.tar.gz 30544 BLAKE2B 3d51252cc792f2d00be9ec53f139d961c19d6bf5e5aa792b1fe65ed258b2f98b9da30fda28d018b6d26dae72d80d8c394c17ba822e43c2ba89611881b7ba9b29 SHA512 f112fc0a62031bc9eb8e6caa2bd70f0b9fa66a81380785165a07bdffa6fa2b44652ffb9f1165c3b8ab7db8a31273650e36e98c8eb72f7cec5873ecb75f58dc21 diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch deleted file mode 100644 index df29d1ba08b8..000000000000 --- a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- wxdirect-0.90.1.1-orig/src/Classes.hs 2014-03-23 01:08:59.000000000 +1100 -+++ wxdirect-0.90.1.1/src/Classes.hs 2014-03-23 15:43:57.402011540 +1100 -@@ -1,3 +1,4 @@ -+{-# LANGUAGE CPP #-} - ----------------------------------------------------------------------------------------- - {-| Module : Classes - Copyright : (c) Daan Leijen 2003 -@@ -24,6 +25,9 @@ - - import qualified Data.Set as Set - import qualified Data.Map as Map -+#if !MIN_VERSION_base(4,6,0) -+import Prelude hiding ( catch ) -+#endif - import Text.Parsec.Prim hiding ( try ) - import HaskellNames( haskellTypeName, isBuiltin ) - import Types ---- wxdirect-0.90.1.1-orig/src/CompileClasses.hs 2014-03-23 01:08:59.000000000 +1100 -+++ wxdirect-0.90.1.1/src/CompileClasses.hs 2014-03-23 15:42:14.123894206 +1100 -@@ -96,7 +96,7 @@ - (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass [] - - methodCount = length decls -- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"] -+ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"] - - export = concat [ ["module " ++ moduleRoot ++ moduleName - , " ( -- * Global" ] -@@ -111,6 +111,9 @@ - , "import Foreign.C.Types(CInt(..), CWchar(..), CChar(..), CDouble(..))" - , "import " ++ moduleRoot ++ "WxcTypes" - , "import " ++ moduleRoot ++ moduleClassTypesName -+ , "#if (__GLASGOW_HASKELL__>=705)" -+ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))" -+ , "#endif" - , "" - ] - ] diff --git a/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild b/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild deleted file mode 100644 index 76c6fd4073bb..000000000000 --- a/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# ebuild generated by hackport 0.3.6.9999 - -WX_GTK_VER="2.9" - -CABAL_FEATURES="bin lib profile haddock hoogle hscolour" -inherit base haskell-cabal - -DESCRIPTION="helper tool for building wxHaskell" -HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell" -SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="${WX_GTK_VER}/${PV}" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?] - dev-haskell/strict:=[profile?] - >=dev-lang/ghc-7.4.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.2 -" - -PATCHES=("${FILESDIR}/${PN}-0.90.1.1-ghc-7.5.patch") - -src_prepare() { - base_src_prepare - sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \ - -i "${S}/${PN}.cabal" \ - || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}" - cabal_chdeps \ - 'process >= 1.1 && < 1.2' 'process >= 1.1' \ - 'time >= 1.0 && < 1.5' 'time >= 1.0' \ - 'filepath < 1.4' 'filepath' -} |