* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxdirect/, dev-haskell/wxdirect/files/
@ 2017-01-16 10:23 Sergei Trofimovich
0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2017-01-16 10:23 UTC (permalink / raw
To: gentoo-commits
commit: 835da35df667c0ca9305b6b38828b31098b4ebe6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 10:00:56 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 10:22:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=835da35d
dev-haskell/wxdirect: drop old. Depends on to be removed wxGTK:2.8, bug #605268.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-haskell/wxdirect/Manifest | 1 -
.../files/wxdirect-0.13.1.3-ghc-7.10.patch | 25 ----------
.../wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch | 54 ----------------------
dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild | 41 ----------------
4 files changed, 121 deletions(-)
diff --git a/dev-haskell/wxdirect/Manifest b/dev-haskell/wxdirect/Manifest
index 87b4b10f..5362333 100644
--- a/dev-haskell/wxdirect/Manifest
+++ b/dev-haskell/wxdirect/Manifest
@@ -1,3 +1,2 @@
-DIST wxdirect-0.13.1.3.tar.gz 32748 SHA256 2691991b319db1a57b9ee8895f78474ac4cbb947040e250d86975a30e8cf7411 SHA512 fc0ae01937c524105edcc39a8cbb3b0ac45d2d8b34346f59ada30171ed78f1a3e0be4010ffe63cd37ee0cc38c1b08e31628281efaa3ccc847a19f9518ecbe08c WHIRLPOOL db92071df161d4f25ddbd0af24153a21c3eb51877496f5fa60cf655bf71fc7c19f06f70fd3919798fcde50052205d04932307d8eaec65bb47dc9e561cb8ba02f
DIST wxdirect-0.90.1.1.tar.gz 29893 SHA256 282968b7fc52ed67f1efaf357cac05ffad58b7f80128062549801b6309ed7045 SHA512 f32b62db9c88a282531081a1a1e40757335306306af28a38ed364d28ca532418aca18e44ec6b5a789e02f5dddb455c9a7eb7f7e7c24b8a155df80628dcd2cfa1 WHIRLPOOL fbcb554ddaa6d96d3b87dc2c1423802409a8d763c59981446c7005b56455f275854587c49eb56da371ff350eacd1d76059f8b850844ffa05ef177b8338d10f12
DIST wxdirect-0.92.2.0.tar.gz 30544 SHA256 2303834061c544f7e32ffd7aaf91e644ee89e178487689f109f06625f0eefd3b SHA512 f112fc0a62031bc9eb8e6caa2bd70f0b9fa66a81380785165a07bdffa6fa2b44652ffb9f1165c3b8ab7db8a31273650e36e98c8eb72f7cec5873ecb75f58dc21 WHIRLPOOL 86f23acadec66f9fcb658c0e9faac33800396c11819c5950285f72e23233603866fad0e00c376636c69d3f7a16ee91ff327cf715f33edfa0628f20d8837ba883
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.10.patch b/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.10.patch
deleted file mode 100644
index 38889be..00000000
--- a/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.10.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/src/HaskellNames.hs b/src/HaskellNames.hs
-index 6e1910e..bd61137 100644
---- a/src/HaskellNames.hs
-+++ b/src/HaskellNames.hs
-@@ -147,6 +147,7 @@ isBuiltin name
- {-----------------------------------------------------------------------------------------
- Haddock prologue
- -----------------------------------------------------------------------------------------}
-+getPrologue :: [Char] -> [Char] -> [Char] -> [String] -> IO [String]
- getPrologue moduleName content contains inputFiles
- = do time <- getCurrentTime
- return (prologue time)
-diff --git a/wxdirect.cabal b/wxdirect.cabal
-index 83be4af..02b56af 100644
---- a/wxdirect.cabal
-+++ b/wxdirect.cabal
-@@ -61,7 +61,7 @@ executable wxdirect-2.8
-
- build-depends:
- parsec >= 2.1.0 && < 4,
-- time >= 1.0 && < 1.5,
-+ time >= 1.0,
- strict >= 0.3 && < 1.0,
- directory >= 1.0 && < 2.0
-
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch b/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch
deleted file mode 100644
index dfc484a..00000000
--- a/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- wxdirect-0.13.1.3-orig/src/ParseEiffel.hs 2012-09-30 20:02:15.000000000 +1000
-+++ wxdirect-0.13.1.3/src/ParseEiffel.hs 2014-03-23 14:15:23.118131281 +1100
-@@ -1,3 +1,4 @@
-+{-# LANGUAGE ScopedTypeVariables #-}
- -----------------------------------------------------------------------------------------
- {-| Module : ParseEiffel
- Copyright : (c) Daan Leijen 2003
-@@ -12,6 +13,8 @@
- -----------------------------------------------------------------------------------------
- module ParseEiffel( parseEiffel ) where
-
-+import Prelude hiding ( catch )
-+import Control.Exception ( catch, IOException )
- import Data.Char( digitToInt )
- import Text.ParserCombinators.Parsec
- import qualified Text.ParserCombinators.Parsec.Token as P
---- wxdirect-0.13.1.3-orig/src/Classes.hs 2012-09-30 20:02:15.000000000 +1000
-+++ wxdirect-0.13.1.3/src/Classes.hs 2014-03-23 14:15:23.118131281 +1100
-@@ -1,3 +1,4 @@
-+{-# LANGUAGE CPP #-}
- -----------------------------------------------------------------------------------------
- {-| Module : Classes
- Copyright : (c) Daan Leijen 2003
-@@ -28,7 +29,9 @@
- import Data.List( sort, sortBy )
- 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 HaskellNames( haskellTypeName, isBuiltin )
- import Types
-
---- wxdirect-0.13.1.3-orig/src/CompileClasses.hs 2012-09-30 20:02:15.000000000 +1000
-+++ wxdirect-0.13.1.3/src/CompileClasses.hs 2014-03-23 14:15:23.119131301 +1100
-@@ -89,7 +89,7 @@
- (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
-
- methodCount = length decls
-- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
-+ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
-
- export = concat [ ["module " ++ moduleRoot ++ moduleName
- , " ( -- * Global" ]
-@@ -104,6 +104,9 @@
- , "import System.IO.Unsafe( unsafePerformIO )"
- , "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.13.1.3.ebuild b/dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild
deleted file mode 100644
index 116f193..00000000
--- a/dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.6.9999
-
-WX_GTK_VER="2.8"
-
-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-0.3:=[profile?] <dev-haskell/strict-1.0:=[profile?]
- >=dev-lang/ghc-6.12.1:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.8.0.2
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.13.1.3-ghc-7.6.patch
- "${FILESDIR}"/${PN}-0.13.1.3-ghc-7.10.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}"
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxdirect/, dev-haskell/wxdirect/files/
@ 2018-01-04 22:34 Sergei Trofimovich
0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2018-01-04 22:34 UTC (permalink / raw
To: gentoo-commits
commit: 5c3e587b4f4e464b3bdc18d35993b8a9d755ad31
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 22:34:35 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 22:34:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3e587b
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
dev-haskell/wxdirect/Manifest | 1 -
.../wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch | 38 --------------------
dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild | 41 ----------------------
3 files changed, 80 deletions(-)
diff --git a/dev-haskell/wxdirect/Manifest b/dev-haskell/wxdirect/Manifest
index 9f4b7437a04..d7baf064462 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 df29d1ba08b..00000000000
--- 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 76c6fd4073b..00000000000
--- 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'
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxdirect/, dev-haskell/wxdirect/files/
@ 2021-04-16 22:11 Sergei Trofimovich
0 siblings, 0 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2021-04-16 22:11 UTC (permalink / raw
To: gentoo-commits
commit: 0f58ec95f1f02d7f4bf2572a08fa2b7762a5210e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 22:02:11 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 22:11:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f58ec95
dev-haskell/wxdirect: switch to WX_GTK_VER="3.0-gtk3"
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch | 49 ++++++++++++++++++++++
.../wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch | 38 +++++++++++++++++
dev-haskell/wxdirect/wxdirect-0.92.3.0-r2.ebuild | 47 +++++++++++++++++++++
3 files changed, 134 insertions(+)
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch b/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
new file mode 100644
index 00000000000..75d9bf21c72
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
@@ -0,0 +1,49 @@
+--- wxdirect-0.90.0.1-orig/wxdirect.cabal 2012-04-19 01:05:11.000000000 +1000
++++ wxdirect-0.90.0.1/wxdirect.cabal 2012-05-19 21:12:02.612085338 +1000
+@@ -66,7 +66,7 @@
+ if flag(splitBase)
+ build-depends:
+ base >= 4 && < 5,
+- containers >= 0.2 && < 0.5
++ containers >= 0.2 && < 0.6
+ else
+ build-depends:
+ base >= 3 && < 4,
+--- wxdirect-0.90.0.1-orig/src/Classes.hs 2012-04-19 01:05:10.000000000 +1000
++++ wxdirect-0.90.0.1/src/Classes.hs 2012-07-14 13:58:48.072492467 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : Classes
+ Copyright : (c) Daan Leijen 2003
+@@ -28,7 +29,9 @@
+ import Data.List( sort, sortBy )
+ 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 HaskellNames( haskellTypeName, isBuiltin )
+ import Types
+
+--- wxdirect-0.90.0.1-orig/src/CompileClasses.hs 2012-04-19 01:05:10.000000000 +1000
++++ wxdirect-0.90.0.1/src/CompileClasses.hs 2012-05-19 21:28:27.358052781 +1000
+@@ -89,7 +89,7 @@
+ (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
+
+ methodCount = length decls
+- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
+
+ export = concat [ ["module " ++ moduleRoot ++ moduleName
+ , " ( -- * Global" ]
+@@ -103,6 +103,9 @@
+ , "import System.IO.Unsafe( unsafePerformIO )"
+ , "import " ++ moduleRoot ++ "WxcTypes"
+ , "import " ++ moduleRoot ++ moduleClassTypesName
++ , "#if (__GLASGOW_HASKELL__>=705)"
++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
++ , "#endif"
+ , ""
+ ]
+ ]
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
new file mode 100644
index 00000000000..df29d1ba08b
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch
@@ -0,0 +1,38 @@
+--- 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.92.3.0-r2.ebuild b/dev-haskell/wxdirect/wxdirect-0.92.3.0-r2.ebuild
new file mode 100644
index 00000000000..0e8ca99f46d
--- /dev/null
+++ b/dev-haskell/wxdirect/wxdirect-0.92.3.0-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.5.3.9999
+
+WX_GTK_VER="3.0-gtk3"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="helper tool for building wxHaskell"
+HOMEPAGE="https://wiki.haskell.org/WxHaskell"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~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:=
+ !!dev-haskell/wxdirect:3.0
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'process >= 1.1 && < 1.5' 'process >= 1.1'\
+ 'base >= 3 && < 4' 'base >=3'\
+ 'containers >= 0.1 && < 0.3' 'containers >=0.1'
+
+ 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}"
+
+ # embed ${CHOST}-cpp instead of "cpp" to support sys-devel/gcc-config[-native-symlinks]
+ # Ideally it should also obey CPP variable
+ sed -e 's/"cpp"/"'${CHOST}-cpp'"/g' \
+ -i src/ParseC.hs || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-16 22:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 22:34 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/wxdirect/, dev-haskell/wxdirect/files/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2021-04-16 22:11 Sergei Trofimovich
2017-01-16 10:23 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox