diff --git a/dev-haskell/some/Manifest b/dev-haskell/some/Manifest new file mode 100644 index 0000000000000..1a6a770766d00 --- /dev/null +++ b/dev-haskell/some/Manifest @@ -0,0 +1 @@ +DIST some-1.0.5.tar.gz 10917 BLAKE2B 3acf2a7fc75466a343f0d6030b7d5357de0a351b64f50556dab65ac618d1c3eaac6f5f2128f1c1a4becf11d45f70bee00f0214f79aa0495f2c309d13381b0bef SHA512 17b316d074c1afb755440c0284bb40e0f2ad9229ff10f991c28259786f97d214d271a05d1b603ccccbaab1e9fe6523091293773d14529bd5622c2f71e30d8763 diff --git a/dev-haskell/some/metadata.xml b/dev-haskell/some/metadata.xml new file mode 100644 index 0000000000000..e9b6d1f84d77f --- /dev/null +++ b/dev-haskell/some/metadata.xml @@ -0,0 +1,15 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Use implementation using @newtype@ and unsafe @Any@, instead of GADT + + + some + haskellari/some + + diff --git a/dev-haskell/some/some-1.0.5.ebuild b/dev-haskell/some/some-1.0.5.ebuild new file mode 100644 index 0000000000000..e5083536c7cca --- /dev/null +++ b/dev-haskell/some/some-1.0.5.ebuild @@ -0,0 +1,29 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Existential type: Some" +HOMEPAGE="https://github.com/haskellari/some" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+newtype-unsafe" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag newtype-unsafe newtype-unsafe) +}