diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/c2hs |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/c2hs')
-rw-r--r-- | dev-haskell/c2hs/Manifest | 17 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.16.4.ebuild | 48 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.16.5.ebuild | 45 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.17.2.ebuild | 32 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.20.1.ebuild | 33 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.25.2.ebuild | 40 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.27.1.ebuild | 40 | ||||
-rw-r--r-- | dev-haskell/c2hs/files/c2hs-0.16.3-language-c-0.4.patch | 25 | ||||
-rw-r--r-- | dev-haskell/c2hs/files/c2hs-0.16.4-ghc-7.6.patch | 34 | ||||
-rw-r--r-- | dev-haskell/c2hs/metadata.xml | 22 |
10 files changed, 336 insertions, 0 deletions
diff --git a/dev-haskell/c2hs/Manifest b/dev-haskell/c2hs/Manifest new file mode 100644 index 000000000000..abfe9de5a3ee --- /dev/null +++ b/dev-haskell/c2hs/Manifest @@ -0,0 +1,17 @@ +AUX c2hs-0.16.3-language-c-0.4.patch 790 SHA256 acf72e4f7e18fb3e58772719cf43056efe80e2106c026c86a7f16e7b0c971f5b SHA512 c7a3baacb08dd7fca8688f04e7cdd434c8a6e37c6ec98abbf1ea329842a9d4d8639b1a326fa73919f83557760d9b87c0467f2af6801408a7c6d6eb71ce85ef76 WHIRLPOOL c2f2fdb2c8305c83e6f77bd89a3cf425f89e333779d78b8766d18de4e00044c3c8d1a59dc7a3c398819b27c8fe9f273ab295bc4fc3d484fa328dcf99d5ab14d5 +AUX c2hs-0.16.4-ghc-7.6.patch 1412 SHA256 6364cdcf39f66b1f96af08ff18c082be97fe9895a7bcb449966f28a15d93fd9a SHA512 d697baf43aa8b54abe292d7efff9907a1673b022cb2cc554ba44c3965fb1bfda979edadb46527325c431d7d727e86ce04c63c1dc235ed6b95d173d69829f24a0 WHIRLPOOL 29fa51f56bbb977ab8c1842d0457362c922dd8f292d87ab80c9aaa37f859d5abf3ad14e18bc58dbd70919a3278ec79087aae25ebb087d4473f1dbc330c0c2066 +DIST c2hs-0.16.4.tar.gz 138114 SHA256 f1b15c18de884273eeab4400097a6fad8373849835e2a943d4583d9602fb1555 SHA512 7dacfab1a469d6613b6acd6ebfb70efa275c4588bcaa6277aa411b90674c11ae031bb9edae6b7e648da6a1232fc6cb702af2fce5a68dd04124bf2f5ba9813329 WHIRLPOOL f152cb48237170abf407ad694164cb4d1eed21674156d8e8917acd138159e6e334d68a358c5ca1d127aed136341232f13a7f7b6a9b2c3f7346963c36708e45f2 +DIST c2hs-0.16.5.tar.gz 137294 SHA256 1e55b42f1648fbbee290d9316fa7954b40e3b27e33707cdcb8c7e763effd04a6 SHA512 4ef187366da3ca33f10eb878b5f31603ebb038b9f02a6d22f284ad8212a0de2ce7f48bc1a9fe0fe94d52588594c9230ebd69cb4c17d0601b4d3326474220636b WHIRLPOOL 5102a3d299b84954be8b4f0df69d588577dc03c754ebbe69b6257fe6ab5236f45cd7981cd67d3997e2370c9418607ca1008301eb5cfa28867679ee91bce6da9f +DIST c2hs-0.17.2.tar.gz 167739 SHA256 b32ff232cf59d41ed875579400f95661bf5a194b94ccf4ea935315df7e0433f7 SHA512 19ef7a589a1700af2e2f2426b43b454ab49467a97d85c3731da77a9b163709d09e4e58b31d13c0127b807764cff7c62c2b8675cf36d91198d83a9ea9ed4c402c WHIRLPOOL 6147e23ff291b7ce2865c65a09aa57955af62acb899d9a091c911a721e3356a7ceda82b113262091437ce969d5311f7bf690ecde63edeb2afc4ab5d64e0a42fe +DIST c2hs-0.20.1.tar.gz 184115 SHA256 70d8d9a55bc0c68c1315bd98327825503ffa52c153611e2d2d4dfe1cfb4f5cf0 SHA512 fe22257b6003d9133b7f0264c19070eee10200452f783a5c6f36eda44b96d80e5e728d91bca8349461c69de5ae93af3a9bbd67e67c30a182543ee3c79889c51a WHIRLPOOL 5bc4ba885060ac8bd5b6f8cfc06cc8af550441d9cc43b71105e00035a635d956be78d437ff04cf4899f257830950f19ad5fe676f9ddb16ff6d1f45c6a7ec2586 +DIST c2hs-0.25.2.tar.gz 198733 SHA256 153e28d4f8f7846fd0e09abc9b4ed0681b50cd8e2bb6100a1c3b91bf397b3934 SHA512 0f3b2df55277f9f44e39270cdc6a5695dd15e8095874406de5830c2d7d45dd364abcd5eafc9323e2a76eeb6622aa7da39734995be01e7f026d8f2395803c2ef3 WHIRLPOOL b91f89f7d6139ae0729509c1e78a07cf37d9f30d25223fdb6e19afe3ab8cbff3042e4b88f17e120a5faf69a05eef29f62b5f882d7b9e7760c29565944d02d150 +DIST c2hs-0.27.1.tar.gz 205108 SHA256 668af07f261c7c6c2537921ba58870cfb1114b33670f2c182e6f9a8794ffe41f SHA512 22894e518512a53ed23b2d6e3395918a1fdfb60180a9ec489bb7fcb70d5d870bdb37c66e9a49f07ae5babf3808e57f1d932e13cf80132ab50666c6899d55d62a WHIRLPOOL 485cc1d95cae475fbee48a72e202ea7bd50acab0ccb65415b58829dce005348df0c11a361917cddff382196dd1b646d814885c11eb958d9406814a32f41af4fd +EBUILD c2hs-0.16.4.ebuild 1051 SHA256 c3f8a171ac8f90a9a5979f882e0a2ffb75162091a62fd8aae3e4db381c83190a SHA512 c6c6fceb00e3e07d320659510a60e6d30fc10a704c6ef157068c218bfd24b190a9e5cf3a7366f98840d06cc69779d986cef482b32ac656fdd9634bbf2d098a01 WHIRLPOOL ed88cb2527ac2784cb852843b7707ea0d3c15b5dff770ddd6d5093d50fb84302337ded5bb09fd9cf3395d8ce9a83091d8506488eaf8540cd7961d100dccdda6e +EBUILD c2hs-0.16.5.ebuild 950 SHA256 7eb6fb8baab45f4ca371b1936587b1c16ac1df4b1712f71260ceeed2787a4613 SHA512 c6b6c615ea0b4760701f490d5ce0f6bb9d80125869da1beec69304fb795011e9865ad6182d99c514b0097667bff77c31b954e22ba0905366ea7c3a2258f94309 WHIRLPOOL c8a0ed945a39731b31179f67f44b6eea586d8e82d6aed044e4dd3aec5a2e21d03e3a49e6873d65805fbab1366f84fdfc988fee14b91dd463c2ec824acec47d0a +EBUILD c2hs-0.17.2.ebuild 780 SHA256 2ec2b3365b8b4edba37c75090ccd539db5a80bf1a996c818496ccc3774d443e1 SHA512 113c47fb00c2aade18ff5453504ee095aeb20df447b28821eeaa2ac5216b3f9d44101b499c19eeafa057715ca4dd8bca592c7a3531302038a2d59136897688a7 WHIRLPOOL c628a19e4ba46297679f136ebf14a8b0e2512c8149e3dd5a03a50790e281a811cecbf85cfe2b7590b53f00124c9d3b42d7595a6470d9fd3a499255641ee42ace +EBUILD c2hs-0.20.1.ebuild 804 SHA256 c155d5d0fa98729839254c5f8374c6c9b2c43c3916ad9400a7e629c9fb7b3f67 SHA512 dedf09e1c4c7658cc4df559eac2a3bb92cb17467e418110401805d4f8e3eb2b7ecbcf6880732c26e1db0b6498a329a1b9587fd1bb6098166eb4483bfe28afa59 WHIRLPOOL 37b3dc7c82b2f6d956a25d8bd6e4e64e0a697b02f741fa024b833bec75680bfe87cbde83a706f3d4e61695e4a4389295019b34c7840ca4679c319d76c8d8bd4b +EBUILD c2hs-0.25.2.ebuild 1004 SHA256 d596f81e442c7424e60e2d848bca93e121914a2bb9f68f9a61b52a1d2eb162f0 SHA512 a64ab98bb59e183f3a3e9155887567d2c1400d80c8e3bbe0d2e2e924ef2a23a0d744b9b22939a79f9b074d4bc52a8413df543ac1f60baba72f021fea40aa43dd WHIRLPOOL 8c02977e69475f4e578c5d9775fae5915964ce704da2d5e7832a8a4da9ffeebacfa63e5b8e9a6bdd7e164ef04aa298b21356b460ef8565540c2ad00cd9f70d3a +EBUILD c2hs-0.27.1.ebuild 1002 SHA256 032cdd937ac80a7a2ae734e1f83491486ac32a30e0bcf018f8c86f4a4f5d9dff SHA512 9b258f39804514459f8f03d5aa334a28c9e1303849ed2d03a631e3a8cd24ab8012d2984ce9ba69a10979f63520df92f5fdc90cb8be3fbdf3ca371e3e8911eb09 WHIRLPOOL e7a8c731f6b107d8cc816806cac8c15c199b180e79d47bea6c98dc9c2dc8c3156c3c1b7f107e629ab1f2a04264e8c71c017aa4cce2fe1699125a5296acf648c0 +MISC ChangeLog 3380 SHA256 1f24215e3c404f6e143bcd6113d1fe846604d48a9b93f55f648439a366dcb8c4 SHA512 f2e1a9f70c46d0a23ea9d7c1ca30e1fb2b9e5e8ba8de07f39adb6f92da34b61329f9db013a558a0e5fca22cb0161d1f880a52866d1ebe65da7e2491565cccf3c WHIRLPOOL 83ea579a4d30a2d078eda9fb37378a924d785c6e01c67e7ab1d746e82a01021b1ede1c1b28884c2dd874e38eb2a3d5d979117e0a868af5af01fa953169725edb +MISC ChangeLog-2015 8755 SHA256 a4b51019879c458ba8840ec771a6b03ead54b3d5dc345bb246a7330e9772ea6e SHA512 bb028e100eca8fb0d589ac81c529f839919831c1ca63fe9a77610823d3f8513d56bfa2588d5f8e04377bbb41d5f1bfaec56f0161e9c9ca63251e1426004852d1 WHIRLPOOL a1cee81e72792538c2a3f4eb13c0f068b70744fd155b07f401b94d5870d60aa1973ad8dca0538c4610ce7be6a7b489506053a0d7159bd6847ce66f55baedcadb +MISC metadata.xml 774 SHA256 ac9c5bbab9396f7a6646b6a1360c539200f8c7682c82c63709716463763b421c SHA512 386edcd02a6773727944eff89793daaf36bc88678123ba3b047086acdf6a89743fde55ce2afbd26a26601fccf497dc477871dd01013bdf21f00ca869fe5b2a05 WHIRLPOOL 92f7bcf401cb13a0d4b87a49785206e2833b3b16dd3755c6d4dce20ec4684e6b67fae91e976be2124d194ed227021673946c679ef96827c87805a2192b25922b diff --git a/dev-haskell/c2hs/c2hs-0.16.4.ebuild b/dev-haskell/c2hs/c2hs-0.16.4.ebuild new file mode 100644 index 000000000000..f155caac2f45 --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.16.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin" +inherit base haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="doc" + +DEPEND=">=dev-lang/ghc-6.10.4 + >=dev-haskell/cabal-1.6 + >=dev-haskell/language-c-0.3.1.1 + <dev-haskell/language-c-0.5 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 )" +RDEPEND="dev-libs/gmp" + +PATCHES=("${FILESDIR}/${PN}"-0.16.3-language-c-0.4.patch + "${FILESDIR}/${PN}"-0.16.4-ghc-7.6.patch) + +src_compile() { + cabal_src_compile + + if use doc; then + emake -C doc + fi +} + +src_install() { + cabal_src_install + + doman "${S}/doc/man1/c2hs.1" + + if use doc; then + dohtml "${S}/doc/users_guide/"* + fi +} diff --git a/dev-haskell/c2hs/c2hs-0.16.5.ebuild b/dev-haskell/c2hs/c2hs-0.16.5.ebuild new file mode 100644 index 000000000000..881f9ea1e06f --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.16.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="http://www.cse.unsw.edu.au/~chak/haskell/c2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="doc" + +DEPEND=">=dev-lang/ghc-6.10.4 + >=dev-haskell/cabal-1.6 + >=dev-haskell/language-c-0.3.1.1 + <dev-haskell/language-c-0.5 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets + >=dev-libs/libxslt-1.1.2 )" +RDEPEND="dev-libs/gmp" + +src_compile() { + cabal_src_compile + + if use doc; then + emake -C doc + fi +} + +src_install() { + cabal_src_install + + doman "${S}/doc/man1/c2hs.1" + + if use doc; then + dohtml "${S}/doc/users_guide/"* + fi +} diff --git a/dev-haskell/c2hs/c2hs-0.17.2.ebuild b/dev-haskell/c2hs/c2hs-0.17.2.ebuild new file mode 100644 index 000000000000..14d1f3248bf3 --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.17.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 + +CABAL_FEATURES="bin test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="test" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + >=dev-haskell/language-c-0.4.2 <dev-haskell/language-c-0.5 + >=dev-lang/ghc-6.10.4 + test? ( dev-haskell/hunit + >=dev-haskell/shelly-1.0 + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/text + >=dev-haskell/yaml-0.8 ) +" diff --git a/dev-haskell/c2hs/c2hs-0.20.1.ebuild b/dev-haskell/c2hs/c2hs-0.20.1.ebuild new file mode 100644 index 000000000000..0e3334cbf25c --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.20.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.3 + +CABAL_FEATURES="bin test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + dev-haskell/dlist + >=dev-haskell/language-c-0.4.7 <dev-haskell/language-c-0.5 + >=dev-lang/ghc-7.4.1 + test? ( dev-haskell/hunit + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/transformers + >=dev-haskell/shelly-1.0 + dev-haskell/text + >=dev-haskell/yaml-0.8 ) +" diff --git a/dev-haskell/c2hs/c2hs-0.25.2.ebuild b/dev-haskell/c2hs/c2hs-0.25.2.ebuild new file mode 100644 index 000000000000..38b1c7d671c0 --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.25.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="regression" + +RDEPEND="dev-haskell/dlist:= + >=dev-haskell/language-c-0.4.7:= <dev-haskell/language-c-0.5:= + >=dev-lang/ghc-7.4.1:= + regression? ( >=dev-haskell/shelly-1.0:= + dev-haskell/text:= + >=dev-haskell/yaml-0.8:= ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( dev-haskell/hunit + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/transformers + !regression? ( >=dev-haskell/shelly-1.0 + dev-haskell/text ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag regression regression) +} diff --git a/dev-haskell/c2hs/c2hs-0.27.1.ebuild b/dev-haskell/c2hs/c2hs-0.27.1.ebuild new file mode 100644 index 000000000000..4b19c3274fc3 --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.27.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="regression" + +RDEPEND="dev-haskell/dlist:= + >=dev-haskell/language-c-0.4.7:= <dev-haskell/language-c-0.5:= + >=dev-lang/ghc-7.4.1:= + regression? ( >=dev-haskell/shelly-1.0:= + dev-haskell/text:= + >=dev-haskell/yaml-0.8:= ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( dev-haskell/hunit + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/transformers + !regression? ( >=dev-haskell/shelly-1.0 + dev-haskell/text ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag regression regression) +} diff --git a/dev-haskell/c2hs/files/c2hs-0.16.3-language-c-0.4.patch b/dev-haskell/c2hs/files/c2hs-0.16.3-language-c-0.4.patch new file mode 100644 index 000000000000..cdf0fbe547d6 --- /dev/null +++ b/dev-haskell/c2hs/files/c2hs-0.16.3-language-c-0.4.patch @@ -0,0 +1,25 @@ +diff --git a/c2hs.cabal b/c2hs.cabal +index 89f978f..53a96e5 100644 +--- a/c2hs.cabal ++++ b/c2hs.cabal +@@ -41,7 +41,7 @@ flag base3 + + Executable c2hs + Build-Depends: base >= 2 && < 5, +- language-c >= 0.3.1.1 && < 0.4.0, ++ language-c >= 0.3.1.1 && < 0.5, + filepath + + if flag(base3) +diff --git a/src/C2HS/Gen/Bind.hs b/src/C2HS/Gen/Bind.hs +index 1fd2acc..9c25b42 100644 +--- a/src/C2HS/Gen/Bind.hs ++++ b/src/C2HS/Gen/Bind.hs +@@ -117,6 +117,7 @@ import Control.Monad (when, unless, liftM, mapAndUnzipM) + import Language.C.Data.Position + import Language.C.Data.Ident + import Language.C.Pretty ++import Language.C.Syntax.AST + import Text.PrettyPrint.HughesPJ (render) + import Data.Errors + import Data.Attributes (newAttrsOnlyPos) diff --git a/dev-haskell/c2hs/files/c2hs-0.16.4-ghc-7.6.patch b/dev-haskell/c2hs/files/c2hs-0.16.4-ghc-7.6.patch new file mode 100644 index 000000000000..e6d808bb98a5 --- /dev/null +++ b/dev-haskell/c2hs/files/c2hs-0.16.4-ghc-7.6.patch @@ -0,0 +1,34 @@ +--- c2hs-0.16.4-orig/src/C2HS/Config.hs 2012-11-01 08:02:48.000000000 +1100 ++++ c2hs-0.16.4/src/C2HS/Config.hs 2012-11-03 12:12:15.754353409 +1100 +@@ -1,3 +1,4 @@ ++{-# LANGUAGE CPP #-} + -- -*-haskell-*- + -- ** @configure_input@ ** + -- =========================================================================== +--- c2hs-0.16.4-orig/src/Control/StateTrans.hs 2012-11-01 08:02:48.000000000 +1100 ++++ c2hs-0.16.4/src/Control/StateTrans.hs 2012-11-03 12:12:15.755353436 +1100 +@@ -1,3 +1,4 @@ ++{-# LANGUAGE CPP, ScopedTypeVariables #-} + -- The HiPar Toolkit: state transformer routines + -- + -- Author : Manuel M. T. Chakravarty +@@ -80,6 +81,10 @@ + -- Launchbury/Peyton-Jones' texts before entering. Otherwise, + -- your mental health my be in danger. You have been warned! + ++#if !MIN_VERSION_base(4,6,0) ++import Prelude hiding (catch) ++#endif ++import Control.Exception (catch, IOException) + + -- state transformer base and its monad operations + -- ----------------------------------------------- +@@ -298,7 +303,7 @@ + ioError err + Right _a -> return state + ) +- `catch` (\err -> let ++ `catch` (\(err :: IOException) -> let + STB handler' = handler err + in + handler' bs gs) diff --git a/dev-haskell/c2hs/metadata.xml b/dev-haskell/c2hs/metadata.xml new file mode 100644 index 000000000000..807fa1b6c176 --- /dev/null +++ b/dev-haskell/c2hs/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + C->Haskell assists in the development of Haskell bindings to C + libraries. It extracts interface information from C header + files and generates Haskell code with foreign imports and + marshaling. Unlike writing foreign imports by hand (or using + hsch2s), this ensures that C functions are imported with the + correct Haskell types. + </longdescription> + <use> + <flag name="regression">run regression tests</flag> + </use> + <upstream> + <remote-id type="github">haskell/c2hs</remote-id> + </upstream> +</pkgmetadata> |