1 |
commit: a6ba4dd10fe130824a86bec8df56fab22e09e041 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 19:27:47 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 19:31:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ba4dd1 |
7 |
|
8 |
dev-haskell/regex-compat-tdfa: update to EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-haskell/regex-compat-tdfa/metadata.xml | 9 --------- |
14 |
.../regex-compat-tdfa-0.95.1.4.ebuild | 19 +++++++++++++------ |
15 |
2 files changed, 13 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/dev-haskell/regex-compat-tdfa/metadata.xml b/dev-haskell/regex-compat-tdfa/metadata.xml |
18 |
index a4dbf2954c3..b7878815d80 100644 |
19 |
--- a/dev-haskell/regex-compat-tdfa/metadata.xml |
20 |
+++ b/dev-haskell/regex-compat-tdfa/metadata.xml |
21 |
@@ -5,13 +5,4 @@ |
22 |
<email>haskell@g.o</email> |
23 |
<name>Gentoo Haskell</name> |
24 |
</maintainer> |
25 |
- <longdescription> |
26 |
- One module layer over regex-tdfa to replace Text.Regex. |
27 |
- |
28 |
- regex-compat can't use Unicode characters correctly because |
29 |
- of using regex-posix. This is not good for Unicode users. |
30 |
- |
31 |
- I modified regex-compat to use regex-tdfa for solving today's |
32 |
- problem. |
33 |
- </longdescription> |
34 |
</pkgmetadata> |
35 |
|
36 |
diff --git a/dev-haskell/regex-compat-tdfa/regex-compat-tdfa-0.95.1.4.ebuild b/dev-haskell/regex-compat-tdfa/regex-compat-tdfa-0.95.1.4.ebuild |
37 |
index 2e51afb3c93..efe655a7cf3 100644 |
38 |
--- a/dev-haskell/regex-compat-tdfa/regex-compat-tdfa-0.95.1.4.ebuild |
39 |
+++ b/dev-haskell/regex-compat-tdfa/regex-compat-tdfa-0.95.1.4.ebuild |
40 |
@@ -1,15 +1,16 @@ |
41 |
-# Copyright 1999-2019 Gentoo Authors |
42 |
+# Copyright 1999-2020 Gentoo Authors |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
-EAPI=5 |
46 |
+EAPI=7 |
47 |
|
48 |
-# ebuild generated by hackport 0.3.4.9999 |
49 |
+# ebuild generated by hackport 0.6.6.9999 |
50 |
+#hackport: flags: +newbase,+splitbase |
51 |
|
52 |
CABAL_FEATURES="lib profile haddock hoogle hscolour" |
53 |
inherit haskell-cabal |
54 |
|
55 |
DESCRIPTION="Unicode Support version of Text.Regex, using regex-tdfa" |
56 |
-HOMEPAGE="https://hub.darcs.net/shelarcy/regex-compat-tdfa" |
57 |
+HOMEPAGE="http://hub.darcs.net/shelarcy/regex-compat-tdfa" |
58 |
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="BSD" |
61 |
@@ -19,8 +20,14 @@ IUSE="" |
62 |
|
63 |
RDEPEND=">=dev-haskell/regex-base-0.93:=[profile?] |
64 |
>=dev-haskell/regex-tdfa-1.1.0:=[profile?] |
65 |
- >=dev-lang/ghc-6.10.4:= |
66 |
+ >=dev-lang/ghc-7.4.1:= |
67 |
" |
68 |
DEPEND="${RDEPEND} |
69 |
- >=dev-haskell/cabal-1.6.0.3 |
70 |
+ >=dev-haskell/cabal-1.6 |
71 |
" |
72 |
+ |
73 |
+src_configure() { |
74 |
+ haskell-cabal_src_configure \ |
75 |
+ --flag=newbase \ |
76 |
+ --flag=splitbase |
77 |
+} |