public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
@ 2019-12-14 21:27 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2019-12-14 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     2409addeb58eb31760dc5ef313612b45c5a135de
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 21:21:39 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 21:27:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2409adde

dev-haskell/happy: bump up to 1.19.12

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/happy/Manifest             |  1 +
 dev-haskell/happy/happy-1.19.12.ebuild | 69 ++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
index 88ce2a4dcea..1bbc723221e 100644
--- a/dev-haskell/happy/Manifest
+++ b/dev-haskell/happy/Manifest
@@ -1,2 +1,3 @@
+DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
 DIST happy-1.19.4.tar.gz 160497 BLAKE2B a8a271ea69100d24b9a293d53e2a3262ad34c26cc9b511648cf64df719c49936b5badc6651191ca52b48ed96660335e86e706763e186f5275de1b58ae528631c SHA512 d49893098f9982321fc03dad464bf787873a1a82167165d53f617ba04923c7e5d8f177def7fa045a5669d1c7f886a88087ba8f668ef1900a71498b5800cc4b1a
 DIST happy-1.19.5.tar.gz 159280 BLAKE2B 5cfbddd981d689cfd076367e49f5b9fcfa38eca071a3d1d347a2074eb9c56436f6c7169d524b6628228472ee31ae1ccce3b5e1bcd0ae2b70d31283e3b4e33ee8 SHA512 7b43ef5236bdfba82bbddedb7edc7a8094990a389c0d3f5f848cb6208c3577e7b394cb290e51a2b2eebca25c97978a85ee932e74bbf6a792e261e5b5bff25a2b

diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild
new file mode 100644
index 00000000000..cfeff40b81c
--- /dev/null
+++ b/dev-haskell/happy/happy-1.19.12.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.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="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-haskell/mtl-2.2.1:=
+	>=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+	>=dev-haskell/cabal-1.8
+	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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
@ 2020-09-02  7:31 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-09-02  7:31 UTC (permalink / raw
  To: gentoo-commits

commit:     741f647b14abffbed96096460d72efd341d4b2fc
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 07:29:22 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 07:31:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741f647b

dev-haskell/happy: drop old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/happy/Manifest             |  2 -
 dev-haskell/happy/happy-1.19.12.ebuild | 69 ----------------------------------
 dev-haskell/happy/happy-1.19.4.ebuild  | 66 --------------------------------
 3 files changed, 137 deletions(-)

diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
index 1bbc723221e..cc64de9debf 100644
--- a/dev-haskell/happy/Manifest
+++ b/dev-haskell/happy/Manifest
@@ -1,3 +1 @@
-DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
-DIST happy-1.19.4.tar.gz 160497 BLAKE2B a8a271ea69100d24b9a293d53e2a3262ad34c26cc9b511648cf64df719c49936b5badc6651191ca52b48ed96660335e86e706763e186f5275de1b58ae528631c SHA512 d49893098f9982321fc03dad464bf787873a1a82167165d53f617ba04923c7e5d8f177def7fa045a5669d1c7f886a88087ba8f668ef1900a71498b5800cc4b1a
 DIST happy-1.19.5.tar.gz 159280 BLAKE2B 5cfbddd981d689cfd076367e49f5b9fcfa38eca071a3d1d347a2074eb9c56436f6c7169d524b6628228472ee31ae1ccce3b5e1bcd0ae2b70d31283e3b4e33ee8 SHA512 7b43ef5236bdfba82bbddedb7edc7a8094990a389c0d3f5f848cb6208c3577e7b394cb290e51a2b2eebca25c97978a85ee932e74bbf6a792e261e5b5bff25a2b

diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild
deleted file mode 100644
index c67b77e14af..00000000000
--- a/dev-haskell/happy/happy-1.19.12.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.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 ~x86"
-IUSE="doc"
-
-RDEPEND=">=dev-haskell/mtl-2.2.1:=
-	>=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
-	>=dev-haskell/cabal-1.8
-	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
-}

diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild
deleted file mode 100644
index 40f68d3e302..00000000000
--- a/dev-haskell/happy/happy-1.19.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.4.9999
-
-CABAL_FEATURES="bin test-suite"
-inherit eutils 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"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-	>=dev-haskell/cabal-1.8
-	>=dev-haskell/mtl-1.0
-	>=dev-lang/ghc-6.10.4
-	doc? ( ~app-text/docbook-xml-dtd-4.2
-			app-text/docbook-xsl-stylesheets )
-"
-
-src_prepare() {
-	for f in AttrGrammarParser Parser; do
-		# drop broken autogenerated
-		mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
-		# drop depend on itself, otherwise cabal tries to regenerate it
-		rm "src/$f.ly" || die
-	done
-	use doc && cd doc && eautoconf
-}
-
-src_configure() {
-	# '--with-happy=false' allows detecting circular
-	# depends even when 'happy' is installed in system
-	haskell-cabal_src_configure --with-happy=false
-
-	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
-		cd doc || die
-		dohtml -r happy/*
-		doman "${S}/doc/happy.1"
-	fi
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
@ 2020-09-02  7:31 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-09-02  7:31 UTC (permalink / raw
  To: gentoo-commits

commit:     98e86b5a89b210113942e7dca6d4c035da7dd088
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 07:29:10 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 07:31:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e86b5a

dev-haskell/happy: use https:// HOMEPAGE

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/happy/happy-1.19.4.ebuild | 2 +-
 dev-haskell/happy/happy-1.19.5.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild
index c7ee325b440..40f68d3e302 100644
--- a/dev-haskell/happy/happy-1.19.4.ebuild
+++ b/dev-haskell/happy/happy-1.19.4.ebuild
@@ -9,7 +9,7 @@ CABAL_FEATURES="bin test-suite"
 inherit eutils haskell-cabal autotools
 
 DESCRIPTION="Happy is a parser generator for Haskell"
-HOMEPAGE="http://www.haskell.org/happy/"
+HOMEPAGE="https://www.haskell.org/happy/"
 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
 
 LICENSE="BSD"

diff --git a/dev-haskell/happy/happy-1.19.5.ebuild b/dev-haskell/happy/happy-1.19.5.ebuild
index 5fc779132c7..da499d0821a 100644
--- a/dev-haskell/happy/happy-1.19.5.ebuild
+++ b/dev-haskell/happy/happy-1.19.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,7 @@ CABAL_FEATURES="bin test-suite"
 inherit eutils haskell-cabal autotools
 
 DESCRIPTION="Happy is a parser generator for Haskell"
-HOMEPAGE="http://www.haskell.org/happy/"
+HOMEPAGE="https://www.haskell.org/happy/"
 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
 
 LICENSE="BSD"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
@ 2020-09-02  9:06 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-09-02  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     40d2fae73f43e268424e3d14beef08452751d9e7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 09:06:04 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 09:06:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d2fae7

dev-haskell/happy: drop old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/happy/Manifest            |  2 -
 dev-haskell/happy/happy-1.19.4.ebuild | 66 -------------------------------
 dev-haskell/happy/happy-1.19.5.ebuild | 73 -----------------------------------
 3 files changed, 141 deletions(-)

diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
index 1bbc723221e..9258d530718 100644
--- a/dev-haskell/happy/Manifest
+++ b/dev-haskell/happy/Manifest
@@ -1,3 +1 @@
 DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
-DIST happy-1.19.4.tar.gz 160497 BLAKE2B a8a271ea69100d24b9a293d53e2a3262ad34c26cc9b511648cf64df719c49936b5badc6651191ca52b48ed96660335e86e706763e186f5275de1b58ae528631c SHA512 d49893098f9982321fc03dad464bf787873a1a82167165d53f617ba04923c7e5d8f177def7fa045a5669d1c7f886a88087ba8f668ef1900a71498b5800cc4b1a
-DIST happy-1.19.5.tar.gz 159280 BLAKE2B 5cfbddd981d689cfd076367e49f5b9fcfa38eca071a3d1d347a2074eb9c56436f6c7169d524b6628228472ee31ae1ccce3b5e1bcd0ae2b70d31283e3b4e33ee8 SHA512 7b43ef5236bdfba82bbddedb7edc7a8094990a389c0d3f5f848cb6208c3577e7b394cb290e51a2b2eebca25c97978a85ee932e74bbf6a792e261e5b5bff25a2b

diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild
deleted file mode 100644
index 40f68d3e302..00000000000
--- a/dev-haskell/happy/happy-1.19.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.4.9999
-
-CABAL_FEATURES="bin test-suite"
-inherit eutils 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"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-	>=dev-haskell/cabal-1.8
-	>=dev-haskell/mtl-1.0
-	>=dev-lang/ghc-6.10.4
-	doc? ( ~app-text/docbook-xml-dtd-4.2
-			app-text/docbook-xsl-stylesheets )
-"
-
-src_prepare() {
-	for f in AttrGrammarParser Parser; do
-		# drop broken autogenerated
-		mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
-		# drop depend on itself, otherwise cabal tries to regenerate it
-		rm "src/$f.ly" || die
-	done
-	use doc && cd doc && eautoconf
-}
-
-src_configure() {
-	# '--with-happy=false' allows detecting circular
-	# depends even when 'happy' is installed in system
-	haskell-cabal_src_configure --with-happy=false
-
-	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
-		cd doc || die
-		dohtml -r happy/*
-		doman "${S}/doc/happy.1"
-	fi
-}

diff --git a/dev-haskell/happy/happy-1.19.5.ebuild b/dev-haskell/happy/happy-1.19.5.ebuild
deleted file mode 100644
index da499d0821a..00000000000
--- a/dev-haskell/happy/happy-1.19.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.4.9999
-
-CABAL_FEATURES="bin test-suite"
-inherit eutils 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"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-	>=dev-haskell/cabal-1.8
-	>=dev-haskell/mtl-1.0
-	>=dev-lang/ghc-6.10.4
-	doc? ( ~app-text/docbook-xml-dtd-4.2
-			app-text/docbook-xsl-stylesheets )
-"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-1.19.5-ghc-7.10.2.patch
-
-	for f in AttrGrammarParser Parser; do
-		# drop broken autogenerated
-		mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
-		# drop depend on itself, otherwise cabal tries to regenerate it
-		rm "src/$f.ly" || die
-	done
-	use doc && cd doc && eautoconf
-}
-
-src_configure() {
-	# '--with-happy=false' allows detecting circular
-	# depends even when 'happy' is installed in system
-	haskell-cabal_src_configure --with-happy=false
-
-	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_test() {
-	# workaround https://github.com/haskell/cabal/issues/2398
-	emake -k -C tests all
-}
-
-src_install() {
-	haskell-cabal_src_install
-	if use doc; then
-		cd doc || die
-		dohtml -r happy/*
-		doman "${S}/doc/happy.1"
-	fi
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
@ 2020-09-02  9:06 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-09-02  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e10fd2fc5d48def901899220caf6bc826ff9d214
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 09:05:01 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 09:06:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10fd2fc

dev-haskell/happy: revert "drop old"

This reverts commit 741f647b14abffbed96096460d72efd341d4b2fc.

Dropped latest version by accident. Noticed by dwfreed

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-haskell/happy/Manifest             |  2 +
 dev-haskell/happy/happy-1.19.12.ebuild | 69 ++++++++++++++++++++++++++++++++++
 dev-haskell/happy/happy-1.19.4.ebuild  | 66 ++++++++++++++++++++++++++++++++
 3 files changed, 137 insertions(+)

diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
index cc64de9debf..1bbc723221e 100644
--- a/dev-haskell/happy/Manifest
+++ b/dev-haskell/happy/Manifest
@@ -1 +1,3 @@
+DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
+DIST happy-1.19.4.tar.gz 160497 BLAKE2B a8a271ea69100d24b9a293d53e2a3262ad34c26cc9b511648cf64df719c49936b5badc6651191ca52b48ed96660335e86e706763e186f5275de1b58ae528631c SHA512 d49893098f9982321fc03dad464bf787873a1a82167165d53f617ba04923c7e5d8f177def7fa045a5669d1c7f886a88087ba8f668ef1900a71498b5800cc4b1a
 DIST happy-1.19.5.tar.gz 159280 BLAKE2B 5cfbddd981d689cfd076367e49f5b9fcfa38eca071a3d1d347a2074eb9c56436f6c7169d524b6628228472ee31ae1ccce3b5e1bcd0ae2b70d31283e3b4e33ee8 SHA512 7b43ef5236bdfba82bbddedb7edc7a8094990a389c0d3f5f848cb6208c3577e7b394cb290e51a2b2eebca25c97978a85ee932e74bbf6a792e261e5b5bff25a2b

diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild
new file mode 100644
index 00000000000..c67b77e14af
--- /dev/null
+++ b/dev-haskell/happy/happy-1.19.12.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.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 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-haskell/mtl-2.2.1:=
+	>=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+	>=dev-haskell/cabal-1.8
+	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
+}

diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild
new file mode 100644
index 00000000000..40f68d3e302
--- /dev/null
+++ b/dev-haskell/happy/happy-1.19.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.4.9999
+
+CABAL_FEATURES="bin test-suite"
+inherit eutils 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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	>=dev-haskell/cabal-1.8
+	>=dev-haskell/mtl-1.0
+	>=dev-lang/ghc-6.10.4
+	doc? ( ~app-text/docbook-xml-dtd-4.2
+			app-text/docbook-xsl-stylesheets )
+"
+
+src_prepare() {
+	for f in AttrGrammarParser Parser; do
+		# drop broken autogenerated
+		mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
+		# drop depend on itself, otherwise cabal tries to regenerate it
+		rm "src/$f.ly" || die
+	done
+	use doc && cd doc && eautoconf
+}
+
+src_configure() {
+	# '--with-happy=false' allows detecting circular
+	# depends even when 'happy' is installed in system
+	haskell-cabal_src_configure --with-happy=false
+
+	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
+		cd doc || die
+		dohtml -r happy/*
+		doman "${S}/doc/happy.1"
+	fi
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-02  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-14 21:27 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/ Sergei Trofimovich
  -- strict thread matches above, loose matches on Subject: below --
2020-09-02  7:31 Sergei Trofimovich
2020-09-02  7:31 Sergei Trofimovich
2020-09-02  9:06 Sergei Trofimovich
2020-09-02  9:06 Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox