mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
, ""
|
||||
]
|
||||
]
|
||||
@@ -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'
|
||||
}
|
||||
Reference in New Issue
Block a user