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.3.1.1.ebuild ChangeLog |
Date: | Sat, 02 Jun 2012 05:58:12 |
Message-Id: | 20120602055802.E0D8C2004B@flycatcher.gentoo.org |
1 | gienah 12/06/02 05:58:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hdbc-2.3.1.1.ebuild |
5 | Log: |
6 | Bump hdbc to 2.3.1.1 |
7 | |
8 | (Portage version: 2.1.10.63/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.14 dev-haskell/hdbc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?rev=1.14&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?rev=1.14&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/ChangeLog?r1=1.13&r2=1.14 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v |
20 | retrieving revision 1.13 |
21 | retrieving revision 1.14 |
22 | diff -u -r1.13 -r1.14 |
23 | --- ChangeLog 12 Jun 2011 19:50:10 -0000 1.13 |
24 | +++ ChangeLog 2 Jun 2012 05:58:02 -0000 1.14 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-haskell/hdbc |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.13 2011/06/12 19:50:10 slyfox Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.14 2012/06/02 05:58:02 gienah Exp $ |
31 | + |
32 | +*hdbc-2.3.1.1 (02 Jun 2012) |
33 | + |
34 | + 02 Jun 2012; Mark Wright <gienah@g.o> +hdbc-2.3.1.1.ebuild: |
35 | + Bump hdbc to 2.3.1.1 |
36 | |
37 | *hdbc-2.2.7.0 (12 Jun 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-haskell/hdbc/hdbc-2.3.1.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/hdbc-2.3.1.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc/hdbc-2.3.1.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: hdbc-2.3.1.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 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.3.1.1.ebuild,v 1.1 2012/06/02 05:58:02 gienah Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | # ebuild generated by hackport 0.2.18.9999 |
56 | |
57 | CABAL_FEATURES="bin lib profile haddock hoogle hscolour" |
58 | inherit haskell-cabal versionator |
59 | |
60 | MY_PN="HDBC" |
61 | MY_P="${MY_PN}-${PV}" |
62 | |
63 | DESCRIPTION="Haskell Database Connectivity" |
64 | HOMEPAGE="https://github.com/hdbc/hdbc" |
65 | SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" |
66 | |
67 | LICENSE="BSD" |
68 | SLOT="2" |
69 | KEYWORDS="~amd64 ~x86" |
70 | IUSE="mysql odbc postgres sqlite3 test" |
71 | |
72 | RDEPEND=">=dev-haskell/convertible-1.0.10.0[profile?] |
73 | dev-haskell/mtl[profile?] |
74 | dev-haskell/text[profile?] |
75 | >=dev-haskell/time-1.1.3[profile?] |
76 | <=dev-haskell/time-1.5[profile?] |
77 | dev-haskell/utf8-string[profile?] |
78 | >=dev-lang/ghc-6.8.2" |
79 | DEPEND="${RDEPEND} |
80 | >=dev-haskell/cabal-1.8 |
81 | test? ( dev-haskell/hunit |
82 | dev-haskell/quickcheck |
83 | dev-haskell/testpack |
84 | ) |
85 | " |
86 | |
87 | DEPENDV="$(get_version_component_range 1-2)" |
88 | PDEPEND="mysql? ( dev-haskell/hdbc-mysql ) |
89 | odbc? ( =dev-haskell/hdbc-odbc-${DEPENDV}* ) |
90 | postgres? ( =dev-haskell/hdbc-postgresql-${DEPENDV}* ) |
91 | sqlite3? ( >=dev-haskell/hdbc-sqlite-${DEPENDV} )" |
92 | |
93 | S="${WORKDIR}/${MY_P}" |
94 | |
95 | src_configure() { |
96 | cabal_src_configure $(cabal_flag test buildtests) |
97 | } |
98 | |
99 | src_test() { |
100 | # default tests |
101 | haskell-cabal_src_test || die "cabal test failed" |
102 | |
103 | # built custom tests |
104 | "${S}/dist/build/runtests/runtests" || die "unit tests failed" |
105 | } |
106 | |
107 | src_install() { |
108 | cabal_src_install |
109 | |
110 | # if tests were enabled, make sure the unit test driver is deleted |
111 | rm -f "${ED}/usr/bin/runtests" |
112 | } |