From: | "Mark Wright (gienah)" <gienah@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/hdbc-postgresql: hdbc-postgresql-2.3.2.1.ebuild ChangeLog |
Date: | Sat, 02 Jun 2012 06:01:10 |
Message-Id: | 20120602060101.001C52004B@flycatcher.gentoo.org |
1 | gienah 12/06/02 06:01:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hdbc-postgresql-2.3.2.1.ebuild |
5 | Log: |
6 | Bump hdbc-postgresql to 2.3.2.1 |
7 | |
8 | (Portage version: 2.1.10.63/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.16 dev-haskell/hdbc-postgresql/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 12 Jun 2011 19:53:43 -0000 1.15 |
24 | +++ ChangeLog 2 Jun 2012 06:01:00 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-haskell/hdbc-postgresql |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog,v 1.15 2011/06/12 19:53:43 slyfox Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-postgresql/ChangeLog,v 1.16 2012/06/02 06:01:00 gienah Exp $ |
31 | + |
32 | +*hdbc-postgresql-2.3.2.1 (02 Jun 2012) |
33 | + |
34 | + 02 Jun 2012; Mark Wright <gienah@g.o> +hdbc-postgresql-2.3.2.1.ebuild: |
35 | + Bump hdbc-postgresql to 2.3.2.1 |
36 | |
37 | *hdbc-postgresql-2.2.3.3 (12 Jun 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.3.2.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: hdbc-postgresql-2.3.2.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-postgresql/hdbc-postgresql-2.3.2.1.ebuild,v 1.1 2012/06/02 06:01:00 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-postgresql" |
61 | MY_P="${MY_PN}-${PV}" |
62 | |
63 | DESCRIPTION="PostgreSQL driver for HDBC" |
64 | HOMEPAGE="http://github.com/hdbc/hdbc-postgresql" |
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="test" |
71 | RESTRICT="test" # requires configured postgresql |
72 | |
73 | hdbc_PV=$(get_version_component_range 1-2) |
74 | |
75 | RDEPEND=">dev-db/postgresql-base-8 |
76 | dev-haskell/convertible[profile?] |
77 | =dev-haskell/hdbc-${hdbc_PV}*[profile?] |
78 | dev-haskell/mtl[profile?] |
79 | dev-haskell/parsec[profile?] |
80 | dev-haskell/time[profile?] |
81 | dev-haskell/utf8-string[profile?] |
82 | >=dev-lang/ghc-6.8.2" |
83 | DEPEND="${RDEPEND} |
84 | >=dev-haskell/cabal-1.8" |
85 | |
86 | S="${WORKDIR}/${MY_P}" |
87 | |
88 | src_configure() { |
89 | cabal_src_configure $(cabal_flag test buildtests) |
90 | } |
91 | |
92 | src_test() { |
93 | # default tests |
94 | haskell-cabal_src_test || die "cabal test failed" |
95 | |
96 | # built custom tests |
97 | "${S}/dist/build/runtests/runtests" || die "unit tests failed" |
98 | } |
99 | |
100 | src_install() { |
101 | cabal_src_install |
102 | |
103 | # if tests were enabled, make sure the unit test driver is deleted |
104 | rm -f "${ED}/usr/bin/runtests" |
105 | } |