Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/hdbc: hdbc-2.4.0.0.ebuild ChangeLog
Date: Thu, 03 Jul 2014 12:03:12
Message-Id: 20140703120308.76C7D2004E@flycatcher.gentoo.org
1 gienah 14/07/03 12:03:08
2
3 Modified: ChangeLog
4 Added: hdbc-2.4.0.0.ebuild
5 Log:
6 Bump hdbc to 2.4.0.0
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
9
10 Revision Changes Path
11 1.18 dev-haskell/hdbc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 24 Dec 2012 15:30:23 -0000 1.17
24 +++ ChangeLog 3 Jul 2014 12:03:08 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-haskell/hdbc
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.17 2012/12/24 15:30:23 slyfox Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.18 2014/07/03 12:03:08 gienah Exp $
31 +
32 +*hdbc-2.4.0.0 (03 Jul 2014)
33 +
34 + 03 Jul 2014; Mark Wright <gienah@g.o> +hdbc-2.4.0.0.ebuild:
35 + Bump hdbc to 2.4.0.0
36
37 *hdbc-2.3.1.2 (24 Dec 2012)
38
39
40
41
42 1.1 dev-haskell/hdbc/hdbc-2.4.0.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/hdbc-2.4.0.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/hdbc-2.4.0.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hdbc-2.4.0.0.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/hdbc-2.4.0.0.ebuild,v 1.1 2014/07/03 12:03:08 gienah Exp $
52
53 EAPI=5
54
55 # ebuild generated by hackport 0.3.6.9999
56 #hackport: flags: buildtests:test
57
58 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
59 inherit haskell-cabal
60
61 MY_PN="HDBC"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="Haskell Database Connectivity"
65 HOMEPAGE="https://github.com/hdbc/hdbc"
66 SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
67
68 LICENSE="BSD"
69 SLOT="2/${PV}"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="test"
72
73 RDEPEND=">=dev-haskell/convertible-1.1.0.0:=[profile?]
74 dev-haskell/mtl:=[profile?]
75 dev-haskell/text:=[profile?]
76 dev-haskell/utf8-string:=[profile?]
77 >=dev-lang/ghc-6.12.1:=
78 "
79 DEPEND="${RDEPEND}
80 >=dev-haskell/cabal-1.8.0.2
81 test? ( dev-haskell/hunit
82 >=dev-haskell/quickcheck-2.0
83 >=dev-haskell/testpack-2.0 )
84 "
85
86 S="${WORKDIR}/${MY_P}"
87
88 src_configure() {
89 haskell-cabal_src_configure \
90 $(cabal_flag test buildtests)
91 }
92
93 src_test() {
94 # default tests
95 haskell-cabal_src_test || die "cabal test failed"
96
97 # built custom tests
98 "${S}/dist/build/runtests/runtests" || die "unit tests failed"
99 }
100
101 src_install() {
102 cabal_src_install
103
104 # if tests were enabled, make sure the unit test driver is deleted
105 rm -f "${ED}/usr/bin/runtests"
106 }