From: | "Mark Wright (gienah)" <gienah@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/hdbc-odbc: hdbc-odbc-2.3.1.0.ebuild ChangeLog |
Date: | Sat, 02 Jun 2012 06:00:21 |
Message-Id: | 20120602060009.E7CEB2004C@flycatcher.gentoo.org |
1 | gienah 12/06/02 06:00:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hdbc-odbc-2.3.1.0.ebuild |
5 | Log: |
6 | Bump hdbc-odbc to 2.3.1.0 |
7 | |
8 | (Portage version: 2.1.10.63/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.15 dev-haskell/hdbc-odbc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?rev=1.15&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?rev=1.15&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?r1=1.14&r2=1.15 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v |
20 | retrieving revision 1.14 |
21 | retrieving revision 1.15 |
22 | diff -u -r1.14 -r1.15 |
23 | --- ChangeLog 12 Jun 2011 19:51:22 -0000 1.14 |
24 | +++ ChangeLog 2 Jun 2012 06:00:09 -0000 1.15 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-haskell/hdbc-odbc |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v 1.14 2011/06/12 19:51:22 slyfox Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v 1.15 2012/06/02 06:00:09 gienah Exp $ |
31 | + |
32 | +*hdbc-odbc-2.3.1.0 (02 Jun 2012) |
33 | + |
34 | + 02 Jun 2012; Mark Wright <gienah@g.o> |
35 | + +files/hdbc-odbc-2.3.1.0-ghc-6.12.patch, +hdbc-odbc-2.3.1.0.ebuild: |
36 | + Bump hdbc-odbc to 2.3.1.0 |
37 | |
38 | *hdbc-odbc-2.2.3.2 (12 Jun 2011) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 dev-haskell/hdbc-odbc/hdbc-odbc-2.3.1.0.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.3.1.0.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.3.1.0.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: hdbc-odbc-2.3.1.0.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.3.1.0.ebuild,v 1.1 2012/06/02 06:00:09 gienah Exp $ |
53 | |
54 | EAPI=4 |
55 | |
56 | # ebuild generated by hackport 0.2.18.9999 |
57 | |
58 | # haddock is disabled as it chokes in .hsc file: |
59 | # Database/HDBC/ODBC/Statement.hsc:462:3: |
60 | # parse error on input `Word16' |
61 | CABAL_FEATURES="bin lib profile hoogle hscolour" |
62 | inherit haskell-cabal |
63 | |
64 | MY_PN="HDBC-odbc" |
65 | MY_P="${MY_PN}-${PV}" |
66 | |
67 | DESCRIPTION="ODBC driver for HDBC" |
68 | HOMEPAGE="http://software.complete.org/hdbc-odbc" |
69 | SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" |
70 | |
71 | LICENSE="BSD" |
72 | SLOT="2" |
73 | KEYWORDS="~amd64 ~x86" |
74 | IUSE="test" |
75 | RESTRICT="test" # requires configured ODBC |
76 | |
77 | hdbc_PV=$(get_version_component_range 1-2) |
78 | |
79 | RDEPEND="=dev-haskell/hdbc-${hdbc_PV}*[profile?] |
80 | dev-haskell/mtl[profile?] |
81 | >=dev-haskell/time-1.2.0.3[profile?] |
82 | dev-haskell/utf8-string[profile?] |
83 | >=dev-lang/ghc-6.12.3 |
84 | >=dev-db/unixODBC-2.2 |
85 | " |
86 | DEPEND="${RDEPEND} |
87 | >=dev-haskell/cabal-1.2.3 |
88 | test? ( dev-haskell/convertible |
89 | dev-haskell/hunit |
90 | dev-haskell/quickcheck |
91 | dev-haskell/testpack |
92 | dev-haskell/time |
93 | ) |
94 | " |
95 | |
96 | S="${WORKDIR}/${MY_P}" |
97 | |
98 | src_prepare() { |
99 | if has_version "<dev-lang/ghc-7.0.1"; then |
100 | # Backport to ghc 6.12.3. |
101 | epatch "${FILESDIR}/${P}-ghc-6.12.patch" || die "Could not apply ${P}-ghc-6.12.patch" |
102 | fi |
103 | } |
104 | |
105 | src_configure() { |
106 | cabal_src_configure $(cabal_flag test buildtests) |
107 | } |
108 | |
109 | src_test() { |
110 | # default tests |
111 | haskell-cabal_src_test || die "cabal test failed" |
112 | |
113 | # built custom tests |
114 | "${S}/dist/build/runtests/runtests" || die "unit tests failed" |
115 | } |
116 | |
117 | src_install() { |
118 | cabal_src_install |
119 | |
120 | # if tests were enabled, make sure the unit test driver is deleted |
121 | rm -f "${ED}/usr/bin/runtests" |
122 | } |