dev-haskell/some: new package, add 1.0.5

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:09:39 -06:00 committed by Sam James
parent 2efaa4129f
commit 745bb48a49
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST some-1.0.5.tar.gz 10917 BLAKE2B 3acf2a7fc75466a343f0d6030b7d5357de0a351b64f50556dab65ac618d1c3eaac6f5f2128f1c1a4becf11d45f70bee00f0214f79aa0495f2c309d13381b0bef SHA512 17b316d074c1afb755440c0284bb40e0f2ad9229ff10f991c28259786f97d214d271a05d1b603ccccbaab1e9fe6523091293773d14529bd5622c2f71e30d8763

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="newtype-unsafe">Use implementation using @newtype@ and unsafe @Any@, instead of GADT</flag>
</use>
<upstream>
<remote-id type="hackage">some</remote-id>
<remote-id type="github">haskellari/some</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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)
}