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/hdbc-sqlite3/
Date: Thu, 20 Aug 2020 09:17:44
Message-Id: 1597915058.79696f08869f666647edb98725e1f58738ecf9f1.slyfox@gentoo
1 commit: 79696f08869f666647edb98725e1f58738ecf9f1
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 09:17:32 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 09:17:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79696f08
7
8 dev-haskell/hdbc-sqlite3: drop USE=test support, requres testpack
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 .../hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild | 18 +++++++-----------
14 dev-haskell/hdbc-sqlite3/metadata.xml | 5 -----
15 2 files changed, 7 insertions(+), 16 deletions(-)
16
17 diff --git a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
18 index 6f71fc5a2a9..5cb19571040 100644
19 --- a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
20 +++ b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
21 @@ -1,9 +1,10 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -# ebuild generated by hackport 0.5.1
30 +# ebuild generated by hackport 0.6.6.9999
31 +#hackport: flags: -buildtests
32
33 CABAL_FEATURES="lib profile haddock hoogle hscolour"
34 inherit haskell-cabal
35 @@ -18,27 +19,22 @@ SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
36 LICENSE="BSD"
37 SLOT="0/${PV}"
38 KEYWORDS="~amd64 ~x86"
39 -IUSE="buildtests +splitbase"
40 +IUSE="+splitbase"
41
42 RDEPEND=">=dev-db/sqlite-3.0
43 >=dev-haskell/hdbc-2.3.0.0:2=[profile?]
44 dev-haskell/mtl:=[profile?]
45 dev-haskell/utf8-string:=[profile?]
46 >=dev-lang/ghc-7.4.1:=
47 - buildtests? ( dev-haskell/convertible:=[profile?]
48 - dev-haskell/hunit:=[profile?]
49 - dev-haskell/old-locale:=[profile?]
50 - dev-haskell/old-time:=[profile?]
51 - dev-haskell/testpack:=[profile?] )
52 "
53 DEPEND="${RDEPEND}
54 - >=dev-haskell/cabal-1.2.3
55 + >=dev-haskell/cabal-1.2
56 "
57
58 S="${WORKDIR}/${MY_P}"
59
60 src_configure() {
61 haskell-cabal_src_configure \
62 - $(cabal_flag buildtests buildtests) \
63 + --flag=-buildtests \
64 $(cabal_flag splitbase splitbase)
65 }
66
67 diff --git a/dev-haskell/hdbc-sqlite3/metadata.xml b/dev-haskell/hdbc-sqlite3/metadata.xml
68 index a6dc7b001d9..b9f67a8436a 100644
69 --- a/dev-haskell/hdbc-sqlite3/metadata.xml
70 +++ b/dev-haskell/hdbc-sqlite3/metadata.xml
71 @@ -6,13 +6,8 @@
72 <name>Gentoo Haskell</name>
73 </maintainer>
74 <use>
75 - <flag name="buildtests">Build the executable to run unit tests</flag>
76 <flag name="splitbase">Choose the new smaller, split-up package.</flag>
77 </use>
78 - <longdescription>
79 - This is the Sqlite v3 driver for HDBC, the generic
80 - database access system for Haskell
81 - </longdescription>
82 <upstream>
83 <remote-id type="github">hdbc/hdbc-sqlite3</remote-id>
84 </upstream>