1 |
commit: 741f647b14abffbed96096460d72efd341d4b2fc |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 07:29:22 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 07:31:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741f647b |
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.12.ebuild | 69 ---------------------------------- |
15 |
dev-haskell/happy/happy-1.19.4.ebuild | 66 -------------------------------- |
16 |
3 files changed, 137 deletions(-) |
17 |
|
18 |
diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest |
19 |
index 1bbc723221e..cc64de9debf 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.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild |
28 |
deleted file mode 100644 |
29 |
index c67b77e14af..00000000000 |
30 |
--- a/dev-haskell/happy/happy-1.19.12.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,69 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-# ebuild generated by hackport 0.6.9999 |
39 |
-#hackport: flags: +small_base |
40 |
- |
41 |
-CABAL_FEATURES="test-suite" |
42 |
-inherit haskell-cabal autotools |
43 |
- |
44 |
-DESCRIPTION="Happy is a parser generator for Haskell" |
45 |
-HOMEPAGE="https://www.haskell.org/happy/" |
46 |
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
-IUSE="doc" |
52 |
- |
53 |
-RDEPEND=">=dev-haskell/mtl-2.2.1:= |
54 |
- >=dev-lang/ghc-7.4.1:= |
55 |
-" |
56 |
-DEPEND="${RDEPEND} |
57 |
- >=dev-haskell/cabal-1.8 |
58 |
- doc? ( ~app-text/docbook-xml-dtd-4.2 |
59 |
- app-text/docbook-xsl-stylesheets ) |
60 |
-" |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- |
65 |
- if use doc; then |
66 |
- cd doc || die |
67 |
- eautoconf |
68 |
- fi |
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 \ |
75 |
- --with-happy=false\ |
76 |
- --flag=small_base |
77 |
- |
78 |
- if use doc; then |
79 |
- # does not like out-of-source builds |
80 |
- cd doc || die |
81 |
- econf |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-src_compile() { |
86 |
- haskell-cabal_src_compile |
87 |
- |
88 |
- if use doc; then |
89 |
- emake -C doc -j1 |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- haskell-cabal_src_install |
95 |
- |
96 |
- if use doc; then |
97 |
- docinto html |
98 |
- dodoc -r doc/happy/. |
99 |
- doman doc/happy.1 |
100 |
- fi |
101 |
-} |
102 |
|
103 |
diff --git a/dev-haskell/happy/happy-1.19.4.ebuild b/dev-haskell/happy/happy-1.19.4.ebuild |
104 |
deleted file mode 100644 |
105 |
index 40f68d3e302..00000000000 |
106 |
--- a/dev-haskell/happy/happy-1.19.4.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,66 +0,0 @@ |
109 |
-# Copyright 1999-2020 Gentoo Authors |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
- |
112 |
-EAPI=5 |
113 |
- |
114 |
-# ebuild generated by hackport 0.3.4.9999 |
115 |
- |
116 |
-CABAL_FEATURES="bin test-suite" |
117 |
-inherit eutils haskell-cabal autotools |
118 |
- |
119 |
-DESCRIPTION="Happy is a parser generator for Haskell" |
120 |
-HOMEPAGE="https://www.haskell.org/happy/" |
121 |
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
122 |
- |
123 |
-LICENSE="BSD" |
124 |
-SLOT="0" |
125 |
-KEYWORDS="~amd64 ~x86" |
126 |
-IUSE="doc" |
127 |
- |
128 |
-RDEPEND="" |
129 |
-DEPEND="${RDEPEND} |
130 |
- >=dev-haskell/cabal-1.8 |
131 |
- >=dev-haskell/mtl-1.0 |
132 |
- >=dev-lang/ghc-6.10.4 |
133 |
- doc? ( ~app-text/docbook-xml-dtd-4.2 |
134 |
- app-text/docbook-xsl-stylesheets ) |
135 |
-" |
136 |
- |
137 |
-src_prepare() { |
138 |
- for f in AttrGrammarParser Parser; do |
139 |
- # drop broken autogenerated |
140 |
- mv "dist/build/happy/happy-tmp/$f.hs" src/ || die |
141 |
- # drop depend on itself, otherwise cabal tries to regenerate it |
142 |
- rm "src/$f.ly" || die |
143 |
- done |
144 |
- use doc && cd doc && eautoconf |
145 |
-} |
146 |
- |
147 |
-src_configure() { |
148 |
- # '--with-happy=false' allows detecting circular |
149 |
- # depends even when 'happy' is installed in system |
150 |
- haskell-cabal_src_configure --with-happy=false |
151 |
- |
152 |
- if use doc; then |
153 |
- # does not like out-of-source builds |
154 |
- cd doc || die |
155 |
- econf |
156 |
- fi |
157 |
-} |
158 |
- |
159 |
-src_compile() { |
160 |
- haskell-cabal_src_compile |
161 |
- |
162 |
- if use doc; then |
163 |
- emake -C doc -j1 |
164 |
- fi |
165 |
-} |
166 |
- |
167 |
-src_install() { |
168 |
- haskell-cabal_src_install |
169 |
- if use doc; then |
170 |
- cd doc || die |
171 |
- dohtml -r happy/* |
172 |
- doman "${S}/doc/happy.1" |
173 |
- fi |
174 |
-} |