1 |
commit: 4e11438af326a6689764481c700797127c8ab0c9 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 08:33:13 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 08:33:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e11438a |
7 |
|
8 |
dev-haskell/hdbc: 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 |
dev-haskell/hdbc/hdbc-2.4.0.3.ebuild | 29 +++-------------------------- |
14 |
1 file changed, 3 insertions(+), 26 deletions(-) |
15 |
|
16 |
diff --git a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild b/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild |
17 |
index fb05e030b9d..90831462697 100644 |
18 |
--- a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild |
19 |
+++ b/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
@@ -19,9 +19,9 @@ SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" |
27 |
LICENSE="BSD" |
28 |
SLOT="2/${PV}" |
29 |
KEYWORDS="~amd64 ~x86" |
30 |
-IUSE="test" |
31 |
+IUSE="" |
32 |
|
33 |
-RESTRICT="test" # Requires dev-haskell/testpack (deprecated), and this is a problem. |
34 |
+RESTRICT="test" # Requires unmaintaned dev-haskell/testpack |
35 |
|
36 |
RDEPEND=">=dev-haskell/convertible-1.1.0.0:=[profile?] |
37 |
dev-haskell/mtl:=[profile?] |
38 |
@@ -30,32 +30,9 @@ RDEPEND=">=dev-haskell/convertible-1.1.0.0:=[profile?] |
39 |
dev-haskell/text:=[profile?] |
40 |
dev-haskell/utf8-string:=[profile?] |
41 |
>=dev-lang/ghc-7.4.1:= |
42 |
- test? ( dev-haskell/hunit:=[profile?] |
43 |
- >=dev-haskell/quickcheck-2.0:2=[profile?] |
44 |
- >=dev-haskell/testpack-2.0:=[profile?] ) |
45 |
" |
46 |
DEPEND="${RDEPEND} |
47 |
>=dev-haskell/cabal-1.8 |
48 |
" |
49 |
|
50 |
S="${WORKDIR}/${MY_P}" |
51 |
- |
52 |
-src_configure() { |
53 |
- haskell-cabal_src_configure \ |
54 |
- $(cabal_flag test buildtests) |
55 |
-} |
56 |
- |
57 |
-src_test() { |
58 |
- # default tests |
59 |
- haskell-cabal_src_test || die "cabal test failed" |
60 |
- |
61 |
- # built custom tests |
62 |
- "${S}/dist/build/runtests/runtests" || die "unit tests failed" |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- cabal_src_install |
67 |
- |
68 |
- # if tests were enabled, make sure the unit test driver is deleted |
69 |
- rm -f "${ED}/usr/bin/runtests" |
70 |
-} |