From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/hdbc-odbc: hdbc-odbc-2.4.0.1.ebuild ChangeLog |
Date: | Sat, 01 Aug 2015 16:20:48 |
Message-Id: | 20150801162045.6B32811D@oystercatcher.gentoo.org |
1 | slyfox 15/08/01 16:20:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hdbc-odbc-2.4.0.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) |
9 | |
10 | Revision Changes Path |
11 | 1.24 dev-haskell/hdbc-odbc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?rev=1.24&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?rev=1.24&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog?r1=1.23&r2=1.24 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v |
20 | retrieving revision 1.23 |
21 | retrieving revision 1.24 |
22 | diff -u -r1.23 -r1.24 |
23 | --- ChangeLog 6 Jun 2015 11:22:39 -0000 1.23 |
24 | +++ ChangeLog 1 Aug 2015 16:20:45 -0000 1.24 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-haskell/hdbc-odbc |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v 1.23 2015/06/06 11:22:39 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/ChangeLog,v 1.24 2015/08/01 16:20:45 slyfox Exp $ |
30 | + |
31 | +*hdbc-odbc-2.4.0.1 (01 Aug 2015) |
32 | + |
33 | + 01 Aug 2015; Sergei Trofimovich <slyfox@g.o> +hdbc-odbc-2.4.0.1.ebuild: |
34 | + Version bump. |
35 | |
36 | 06 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
37 | Add github to remote-id in metadata.xml |
38 | |
39 | |
40 | |
41 | 1.1 dev-haskell/hdbc-odbc/hdbc-odbc-2.4.0.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.4.0.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.4.0.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: hdbc-odbc-2.4.0.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc-odbc/hdbc-odbc-2.4.0.1.ebuild,v 1.1 2015/08/01 16:20:45 slyfox Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | # ebuild generated by hackport 0.4.4.9999 |
55 | |
56 | # haddock is disabled as it chokes in .hsc file: |
57 | # Database/HDBC/ODBC/Statement.hsc:462:3: |
58 | # parse error on input `Word16' |
59 | CABAL_FEATURES="bin lib profile hoogle hscolour" |
60 | inherit haskell-cabal |
61 | |
62 | MY_PN="HDBC-odbc" |
63 | MY_P="${MY_PN}-${PV}" |
64 | |
65 | DESCRIPTION="ODBC driver for HDBC" |
66 | HOMEPAGE="https://github.com/hdbc/hdbc-odbc" |
67 | SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" |
68 | |
69 | LICENSE="BSD" |
70 | SLOT="2/${PV}" |
71 | KEYWORDS="~amd64 ~x86" |
72 | IUSE="buildstresstest test" |
73 | RESTRICT="test" # requires configured ODBC |
74 | |
75 | RDEPEND=">=dev-haskell/hdbc-2.1.0:2=[profile?] |
76 | dev-haskell/mtl:=[profile?] |
77 | dev-haskell/utf8-string:=[profile?] |
78 | >=dev-lang/ghc-7.4.1:= |
79 | >=dev-db/unixODBC-2.2 |
80 | " |
81 | DEPEND="${RDEPEND} |
82 | >=dev-haskell/cabal-1.8 |
83 | buildstresstest? ( dev-haskell/random:=[profile?] |
84 | dev-haskell/resource-pool:=[profile?] ) |
85 | test? ( dev-haskell/convertible:=[profile?] |
86 | dev-haskell/hunit:=[profile?] |
87 | dev-haskell/quickcheck:2=[profile?] |
88 | dev-haskell/testpack:=[profile?] ) |
89 | " |
90 | |
91 | S="${WORKDIR}/${MY_P}" |
92 | |
93 | src_configure() { |
94 | haskell-cabal_src_configure \ |
95 | $(cabal_flag buildstresstest buildstresstest) \ |
96 | $(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 | } |