summaryrefslogtreecommitdiff
path: root/dev-haskell/happy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/happy
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/happy')
-rw-r--r--dev-haskell/happy/Manifest4
-rw-r--r--dev-haskell/happy/happy-1.19.12.ebuild13
-rw-r--r--dev-haskell/happy/happy-1.20.1.1.ebuild69
3 files changed, 73 insertions, 13 deletions
diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
index 268fb403d0e7..1498c83bb753 100644
--- a/dev-haskell/happy/Manifest
+++ b/dev-haskell/happy/Manifest
@@ -1,3 +1,5 @@
DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
-EBUILD happy-1.19.12.ebuild 1822 BLAKE2B d082c64d022a159ae509e9c2637ca6d7a1eaa1edc88861fa98da6add5bb19179e16a744c9e2466d05957c93fef14d67f9941a2f6e9b53126fe8870a00b8287f0 SHA512 b14fdb0001107d4cb2618cb657ce91d3d65c6576144280e46bf7a16c3dc6689c469622afbe0b097b3d93184df6a1a8af87be9d00dda294d84fe18f5109da96e3
+DIST happy-1.20.1.1.tar.gz 183409 BLAKE2B b9bb9da227b21e6a63a9649454745f32b6f9fb2c33132da60595ab1bbca0e6659a6941ec89ed0705f9c5052dfc1dc076888c0b309d797f699a1d398e04d5913a SHA512 a2ff6a1778884de22f4900a22b8a451ed5dc8a8e66020ce9e186a03068257748a3810c63b56f1efa0b646d99fe637f87178983f387d4c49bc33b82613877ec48
+EBUILD happy-1.19.12.ebuild 1244 BLAKE2B b348eab113dc2e5041baf0ccb39ac9edcf73feea19aa58db272c2ae6589f8520f8d08d17bc256a699b2ce8e6728c9bc165041c8cf1bc45904f18246eb629ed6c SHA512 566e4575de950600c63fab760c4200c233fd6c9ce6b66695d1d7c00d34edc5fbc6423f0b1b93b7745db5ba72826f5c243a830ce79616bc72b0b2448bc7238b5c
+EBUILD happy-1.20.1.1.ebuild 1248 BLAKE2B 0e088d358ba5d0a506972f35c4e39b239beba4592b216102a77d657a9f5268ef0e04692f7695af014e0819498057b2da08befef305bf0e63584123cbdcb1d4b7 SHA512 d7413efa56123a81a166afc6bf47b023403efe958264f971dbef1fc196983b25692e6cf71114afcc42a78b3f1e3c4d3a38092cedede2e9492cb8384c4efcc921
MISC metadata.xml 250 BLAKE2B 3adf9597d5114c480b4cc9fb5c3e231d8475b795cd6dce77986e13583ab6e59b43857cf2328570490abef0062a8b8a6b73d231867f9b62124855515cdc044d6d SHA512 5ef2c1d34a3438b39a38c041d45bb06bd0f1ae8a3f8b971bd5aaf36dee560f380e9abefab0c2a4cd7b518e151f5c6a0d0c7cd53caee9a384818f1bdc7deeadc4
diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild
index 46639787fa6a..b9635469540b 100644
--- a/dev-haskell/happy/happy-1.19.12.ebuild
+++ b/dev-haskell/happy/happy-1.19.12.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ebuild generated by hackport 0.6.9999
#hackport: flags: +small_base
@@ -18,19 +18,8 @@ SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="doc"
-# Re: LLVM blocker - ghc-9.0.2 generates IR that crashes LLVM opt
-# for two test cases. Unsure yet if this is a bug in the GHC LLVM
-# backend or in LLVM itself. Tracked in
-# https://github.com/llvm/llvm-project/issues/57393
-#
-# Must be in RDEPEND or pkgcheck complains about MisplaceWeakBlocker.
-# Although in theory it's possible to enable USE=llvm on an arch with
-# native codegen, there is no reason to do so, so in practice this should
-# block USE=test exclusively on arches that support registerised GHC
-# through the LLVM backend only.
RDEPEND=">=dev-haskell/mtl-2.2.1:=
>=dev-lang/ghc-7.4.1:=
- test? ( !dev-lang/ghc[llvm(-)] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
diff --git a/dev-haskell/happy/happy-1.20.1.1.ebuild b/dev-haskell/happy/happy-1.20.1.1.ebuild
new file mode 100644
index 000000000000..de73725aa660
--- /dev/null
+++ b/dev-haskell/happy/happy-1.20.1.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.6.6.9999
+#hackport: flags: +small_base
+
+CABAL_FEATURES="test-suite"
+inherit haskell-cabal autotools
+
+DESCRIPTION="Happy is a parser generator for Haskell"
+HOMEPAGE="https://www.haskell.org/happy/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-haskell/mtl-2.2.1:=
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ doc? ( ~app-text/docbook-xml-dtd-4.2
+ app-text/docbook-xsl-stylesheets )
+"
+
+src_prepare() {
+ default
+
+ if use doc; then
+ cd doc || die
+ eautoconf
+ fi
+}
+
+src_configure() {
+ # '--with-happy=false' allows detecting circular
+ # depends even when 'happy' is installed in system
+ haskell-cabal_src_configure \
+ --with-happy=false\
+ --flag=small_base
+
+ if use doc; then
+ # does not like out-of-source builds
+ cd doc || die
+ econf
+ fi
+}
+
+src_compile() {
+ haskell-cabal_src_compile
+
+ if use doc; then
+ emake -C doc -j1
+ fi
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ if use doc; then
+ docinto html
+ dodoc -r doc/happy/.
+ doman doc/happy.1
+ fi
+}