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/ghc-lib-parser-ex/
Date: Wed, 21 Apr 2021 07:40:31
Message-Id: 1618990824.d8c7a219a11681d908a587c687872566cb7bf34c.slyfox@gentoo
1 commit: d8c7a219a11681d908a587c687872566cb7bf34c
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 21 07:37:39 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 21 07:40:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c7a219
7
8 dev-haskell/ghc-lib-parser-ex: new package, a depend of hlint-3
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/ghc-lib-parser-ex/Manifest | 1 +
14 .../ghc-lib-parser-ex-8.10.0.19.ebuild | 36 ++++++++++++++++++++++
15 dev-haskell/ghc-lib-parser-ex/metadata.xml | 8 +++++
16 3 files changed, 45 insertions(+)
17
18 diff --git a/dev-haskell/ghc-lib-parser-ex/Manifest b/dev-haskell/ghc-lib-parser-ex/Manifest
19 new file mode 100644
20 index 00000000000..fff6c700059
21 --- /dev/null
22 +++ b/dev-haskell/ghc-lib-parser-ex/Manifest
23 @@ -0,0 +1 @@
24 +DIST ghc-lib-parser-ex-8.10.0.19.tar.gz 21193 BLAKE2B 83bbc7f8ef439960cc075d12bfc64e36a44444be5a415d90a5cc3630b51c766158d12459cc9a4f1afc0a615ce1afcac8017333e388ba0c4c622f880dc56faa59 SHA512 a286a0874191e7e10484279e9a70e1dc1add602ee6180718e7936f9ac0714ad0997a0398d1879ae0b1d1864f5976c26eb05d8db621343885630e37739e6cc17f
25
26 diff --git a/dev-haskell/ghc-lib-parser-ex/ghc-lib-parser-ex-8.10.0.19.ebuild b/dev-haskell/ghc-lib-parser-ex/ghc-lib-parser-ex-8.10.0.19.ebuild
27 new file mode 100644
28 index 00000000000..8df43a19e93
29 --- /dev/null
30 +++ b/dev-haskell/ghc-lib-parser-ex/ghc-lib-parser-ex-8.10.0.19.ebuild
31 @@ -0,0 +1,36 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +# ebuild generated by hackport 0.6.7.9999
38 +#hackport: flags: -no-ghc-lib,+auto
39 +
40 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
41 +inherit haskell-cabal
42 +
43 +DESCRIPTION="Algorithms on GHC parse trees"
44 +HOMEPAGE="https://github.com/shayne-fletcher/ghc-lib-parser-ex#readme"
45 +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0/${PV}"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +RDEPEND=">=dev-haskell/ghc-lib-parser-8.10:=[profile?] <dev-haskell/ghc-lib-parser-8.11:=[profile?]
52 + >=dev-haskell/uniplate-1.5:=[profile?]
53 + >=dev-lang/ghc-8.4.3:=
54 +"
55 +DEPEND="${RDEPEND}
56 + >=dev-haskell/cabal-2.2.0.1
57 + test? ( >=dev-haskell/extra-1.6
58 + >=dev-haskell/tasty-1.2
59 + >=dev-haskell/tasty-hunit-0.10.0
60 + >=dev-haskell/uniplate-1.6.12 )
61 +"
62 +
63 +src_configure() {
64 + haskell-cabal_src_configure \
65 + --flag=auto \
66 + --flag=-no-ghc-lib
67 +}
68
69 diff --git a/dev-haskell/ghc-lib-parser-ex/metadata.xml b/dev-haskell/ghc-lib-parser-ex/metadata.xml
70 new file mode 100644
71 index 00000000000..b7878815d80
72 --- /dev/null
73 +++ b/dev-haskell/ghc-lib-parser-ex/metadata.xml
74 @@ -0,0 +1,8 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 + <maintainer type="project">
79 + <email>haskell@g.o</email>
80 + <name>Gentoo Haskell</name>
81 + </maintainer>
82 +</pkgmetadata>