dev-haskell/c2hs: add 0.28.8-r2

Hackage revision bump

Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap 2023-10-02 23:06:28 -06:00 committed by Sam James
parent 6b25814559
commit 0a63a5f812
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 45 additions and 9 deletions

View File

@ -1 +1,2 @@
DIST c2hs-0.28.8-rev2.cabal 9397 BLAKE2B fa4f8c6394f9d86d010a2224840483a3cd154223fbd5a993dc56250f1c49629f10a630bb33db047c091fb9ea62188728b8fe71eb044e173cc77dcdce78516706 SHA512 e8db51a51d26ef8df83e0e6a2fa643e2540135f73f1ad6409304dbd1b98e340a9aaaedf858d5fe5f18f19ce4df86568d3ad540be1c257ee352c5c3d838c879ea
DIST c2hs-0.28.8.tar.gz 207816 BLAKE2B 6d912fd93c6076ccd86ed62e075f1addb7b44378c82acc0cbaf04b6b91a2ed4530cde60a9139316d928a2867474bafde5c14aedb4ab9e78e5faaa99830276a71 SHA512 ff9119acecddd853f2f797385f971c249bcd92d4b141e8e7ea5f5d3e63aa257502c80ded2720a46e3186260026b94c9e518f08f8e452a64c9f888d0183ee1749

View File

@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.4.0.9999
#hackport: flags: -regression
CABAL_HACKAGE_REVISION=2
CABAL_FEATURES="test-suite"
inherit haskell-cabal
DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety"
HOMEPAGE="https://github.com/haskell/c2hs"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
RESTRICT=test # needs unprefixed 'cpp'
RDEPEND="
dev-haskell/dlist:=
>=dev-haskell/language-c-0.7.1:= <dev-haskell/language-c-0.10:=
>=dev-lang/ghc-9.0.2:=
"
DEPEND="
${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? (
dev-haskell/hunit
>=dev-haskell/shelly-1.9.0
dev-haskell/test-framework
dev-haskell/test-framework-hunit
dev-haskell/text
)
"
src_configure() {
haskell-cabal_src_configure --flag=-regression
}

View File

@ -5,18 +5,11 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
C-&gt;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>
<flag name="regression">Enable regression suite build.</flag>
</use>
<upstream>
<remote-id type="hackage">c2hs</remote-id>
<remote-id type="github">haskell/c2hs</remote-id>
</upstream>
</pkgmetadata>