Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/happy/
Date: Wed, 02 Sep 2020 09:06:15
Message-Id: 1599037569.40d2fae73f43e268424e3d14beef08452751d9e7.slyfox@gentoo
1 commit: 40d2fae73f43e268424e3d14beef08452751d9e7
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 09:06:04 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 09:06:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d2fae7
7
8 dev-haskell/happy: drop old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/happy/Manifest | 2 -
14 dev-haskell/happy/happy-1.19.4.ebuild | 66 -------------------------------
15 dev-haskell/happy/happy-1.19.5.ebuild | 73 -----------------------------------
16 3 files changed, 141 deletions(-)
17
18 diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest
19 index 1bbc723221e..9258d530718 100644
20 --- a/dev-haskell/happy/Manifest
21 +++ b/dev-haskell/happy/Manifest
22 @@ -1,3 +1 @@
23 DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208
24 -DIST happy-1.19.4.tar.gz 160497 BLAKE2B a8a271ea69100d24b9a293d53e2a3262ad34c26cc9b511648cf64df719c49936b5badc6651191ca52b48ed96660335e86e706763e186f5275de1b58ae528631c SHA512 d49893098f9982321fc03dad464bf787873a1a82167165d53f617ba04923c7e5d8f177def7fa045a5669d1c7f886a88087ba8f668ef1900a71498b5800cc4b1a
25 -DIST happy-1.19.5.tar.gz 159280 BLAKE2B 5cfbddd981d689cfd076367e49f5b9fcfa38eca071a3d1d347a2074eb9c56436f6c7169d524b6628228472ee31ae1ccce3b5e1bcd0ae2b70d31283e3b4e33ee8 SHA512 7b43ef5236bdfba82bbddedb7edc7a8094990a389c0d3f5f848cb6208c3577e7b394cb290e51a2b2eebca25c97978a85ee932e74bbf6a792e261e5b5bff25a2b
26
27 diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild
28 deleted file mode 100644
29 index 40f68d3e302..00000000000
30 --- a/dev-haskell/happy/happy-1.19.4.ebuild
31 +++ /dev/null
32 @@ -1,66 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -# ebuild generated by hackport 0.3.4.9999
39 -
40 -CABAL_FEATURES="bin test-suite"
41 -inherit eutils haskell-cabal autotools
42 -
43 -DESCRIPTION="Happy is a parser generator for Haskell"
44 -HOMEPAGE="https://www.haskell.org/happy/"
45 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="doc"
51 -
52 -RDEPEND=""
53 -DEPEND="${RDEPEND}
54 - >=dev-haskell/cabal-1.8
55 - >=dev-haskell/mtl-1.0
56 - >=dev-lang/ghc-6.10.4
57 - doc? ( ~app-text/docbook-xml-dtd-4.2
58 - app-text/docbook-xsl-stylesheets )
59 -"
60 -
61 -src_prepare() {
62 - for f in AttrGrammarParser Parser; do
63 - # drop broken autogenerated
64 - mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
65 - # drop depend on itself, otherwise cabal tries to regenerate it
66 - rm "src/$f.ly" || die
67 - done
68 - use doc && cd doc && eautoconf
69 -}
70 -
71 -src_configure() {
72 - # '--with-happy=false' allows detecting circular
73 - # depends even when 'happy' is installed in system
74 - haskell-cabal_src_configure --with-happy=false
75 -
76 - if use doc; then
77 - # does not like out-of-source builds
78 - cd doc || die
79 - econf
80 - fi
81 -}
82 -
83 -src_compile() {
84 - haskell-cabal_src_compile
85 -
86 - if use doc; then
87 - emake -C doc -j1
88 - fi
89 -}
90 -
91 -src_install() {
92 - haskell-cabal_src_install
93 - if use doc; then
94 - cd doc || die
95 - dohtml -r happy/*
96 - doman "${S}/doc/happy.1"
97 - fi
98 -}
99
100 diff --git a/dev-haskell/happy/happy-1.19.5.ebuild b/dev-haskell/happy/happy-1.19.5.ebuild
101 deleted file mode 100644
102 index da499d0821a..00000000000
103 --- a/dev-haskell/happy/happy-1.19.5.ebuild
104 +++ /dev/null
105 @@ -1,73 +0,0 @@
106 -# Copyright 1999-2020 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=5
110 -
111 -# ebuild generated by hackport 0.3.4.9999
112 -
113 -CABAL_FEATURES="bin test-suite"
114 -inherit eutils haskell-cabal autotools
115 -
116 -DESCRIPTION="Happy is a parser generator for Haskell"
117 -HOMEPAGE="https://www.haskell.org/happy/"
118 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
119 -
120 -LICENSE="BSD"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~x86"
123 -IUSE="doc"
124 -
125 -RDEPEND=""
126 -DEPEND="${RDEPEND}
127 - >=dev-haskell/cabal-1.8
128 - >=dev-haskell/mtl-1.0
129 - >=dev-lang/ghc-6.10.4
130 - doc? ( ~app-text/docbook-xml-dtd-4.2
131 - app-text/docbook-xsl-stylesheets )
132 -"
133 -
134 -src_prepare() {
135 - epatch "${FILESDIR}"/${PN}-1.19.5-ghc-7.10.2.patch
136 -
137 - for f in AttrGrammarParser Parser; do
138 - # drop broken autogenerated
139 - mv "dist/build/happy/happy-tmp/$f.hs" src/ || die
140 - # drop depend on itself, otherwise cabal tries to regenerate it
141 - rm "src/$f.ly" || die
142 - done
143 - use doc && cd doc && eautoconf
144 -}
145 -
146 -src_configure() {
147 - # '--with-happy=false' allows detecting circular
148 - # depends even when 'happy' is installed in system
149 - haskell-cabal_src_configure --with-happy=false
150 -
151 - if use doc; then
152 - # does not like out-of-source builds
153 - cd doc || die
154 - econf
155 - fi
156 -}
157 -
158 -src_compile() {
159 - haskell-cabal_src_compile
160 -
161 - if use doc; then
162 - emake -C doc -j1
163 - fi
164 -}
165 -
166 -src_test() {
167 - # workaround https://github.com/haskell/cabal/issues/2398
168 - emake -k -C tests all
169 -}
170 -
171 -src_install() {
172 - haskell-cabal_src_install
173 - if use doc; then
174 - cd doc || die
175 - dohtml -r happy/*
176 - doman "${S}/doc/happy.1"
177 - fi
178 -}