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/configfile/
Date: Thu, 20 Aug 2020 08:01:24
Message-Id: 1597910477.d1a398ab759489923d700779afec89b4059da46e.slyfox@gentoo
1 commit: d1a398ab759489923d700779afec89b4059da46e
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 08:01:11 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 08:01:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a398ab
7
8 dev-haskell/configfile: drop IUSE=buildtests
9
10 buildtests pulls in unmaintained testpack.
11
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 dev-haskell/configfile/configfile-1.1.4.ebuild | 17 ++++++++---------
16 dev-haskell/configfile/metadata.xml | 18 ------------------
17 2 files changed, 8 insertions(+), 27 deletions(-)
18
19 diff --git a/dev-haskell/configfile/configfile-1.1.4.ebuild b/dev-haskell/configfile/configfile-1.1.4.ebuild
20 index 27a4c529df8..5e1022976cf 100644
21 --- a/dev-haskell/configfile/configfile-1.1.4.ebuild
22 +++ b/dev-haskell/configfile/configfile-1.1.4.ebuild
23 @@ -1,11 +1,12 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=5
29 +EAPI=7
30
31 -# ebuild generated by hackport 0.4.4.9999
32 +# ebuild generated by hackport 0.6.6.9999
33 +#hackport: flags: -buildtests
34
35 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
36 +CABAL_FEATURES="lib profile haddock hoogle hscolour"
37 inherit haskell-cabal
38
39 MY_PN="ConfigFile"
40 @@ -18,22 +19,20 @@ SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
41 LICENSE="BSD"
42 SLOT="0/${PV}"
43 KEYWORDS="~amd64 ~x86"
44 -IUSE="buildtests"
45 +IUSE=""
46
47 RDEPEND=">=dev-haskell/missingh-1.0.0:=[profile?]
48 dev-haskell/mtl:=[profile?]
49 dev-haskell/parsec:=[profile?]
50 >=dev-lang/ghc-7.4.1:=
51 - buildtests? ( dev-haskell/hunit:=[profile?]
52 - dev-haskell/testpack:=[profile?] )
53 "
54 DEPEND="${RDEPEND}
55 - >=dev-haskell/cabal-1.2.3
56 + >=dev-haskell/cabal-1.2
57 "
58
59 S="${WORKDIR}/${MY_P}"
60
61 src_configure() {
62 haskell-cabal_src_configure \
63 - $(cabal_flag buildtests buildtests)
64 + --flag=-buildtests
65 }
66
67 diff --git a/dev-haskell/configfile/metadata.xml b/dev-haskell/configfile/metadata.xml
68 index c430e789391..b7878815d80 100644
69 --- a/dev-haskell/configfile/metadata.xml
70 +++ b/dev-haskell/configfile/metadata.xml
71 @@ -5,22 +5,4 @@
72 <email>haskell@g.o</email>
73 <name>Gentoo Haskell</name>
74 </maintainer>
75 - <longdescription>
76 - Parser and writer for handling sectioned config files in
77 - Haskell.
78 -
79 - The ConfigFile module works with configuration files in a standard
80 - format that is easy for the user to edit, easy for the programmer
81 - to work with, yet remains powerful and flexible. It is inspired by,
82 - and compatible with, Python's ConfigParser module. It uses files
83 - that resemble Windows .INI-style files, but with numerous
84 - improvements.
85 -
86 - ConfigFile provides simple calls to both read and write config files.
87 - It's possible to make a config file parsable by this module,
88 - the Unix shell, and make.
89 - </longdescription>
90 - <use>
91 - <flag name="buildtests">Build the executable to run unit tests.</flag>
92 - </use>
93 </pkgmetadata>