From: | "Mark Wright (gienah)" <gienah@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/chell: chell-0.4.ebuild metadata.xml Manifest ChangeLog |
Date: | Wed, 02 Jul 2014 03:59:09 |
Message-Id: | 20140702035905.E09C220036@flycatcher.gentoo.org |
1 | gienah 14/07/02 03:59:05 |
2 | |
3 | Added: chell-0.4.ebuild metadata.xml Manifest ChangeLog |
4 | Log: |
5 | Bump chell to 0.4 |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-haskell/chell/chell-0.4.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/chell-0.4.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/chell-0.4.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: chell-0.4.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2014 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-haskell/chell/chell-0.4.ebuild,v 1.1 2014/07/02 03:59:05 gienah Exp $ |
20 | |
21 | EAPI=5 |
22 | |
23 | # ebuild generated by hackport 0.3.6.9999 |
24 | |
25 | CABAL_FEATURES="lib profile haddock hoogle hscolour" |
26 | inherit haskell-cabal |
27 | |
28 | DESCRIPTION="A simple and intuitive library for automated testing." |
29 | HOMEPAGE="https://john-millikin.com/software/chell/" |
30 | SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" |
31 | |
32 | LICENSE="MIT" |
33 | SLOT="0/${PV}" |
34 | KEYWORDS="~amd64 ~x86" |
35 | IUSE="+color-output" |
36 | |
37 | RDEPEND=">=dev-haskell/options-1.0:=[profile?] <dev-haskell/options-2.0:=[profile?] |
38 | >=dev-haskell/patience-0.1:=[profile?] <dev-haskell/patience-0.2:=[profile?] |
39 | >=dev-haskell/random-1.0:=[profile?] |
40 | dev-haskell/text:=[profile?] |
41 | >=dev-haskell/transformers-0.2:=[profile?] |
42 | >=dev-lang/ghc-6.10.4:= |
43 | color-output? ( >=dev-haskell/ansi-terminal-0.5:=[profile?] <dev-haskell/ansi-terminal-0.7:=[profile?] ) |
44 | " |
45 | DEPEND="${RDEPEND} |
46 | >=dev-haskell/cabal-1.6.0.3 |
47 | " |
48 | |
49 | src_configure() { |
50 | haskell-cabal_src_configure \ |
51 | $(cabal_flag color-output color-output) |
52 | } |
53 | |
54 | |
55 | |
56 | 1.1 dev-haskell/chell/metadata.xml |
57 | |
58 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/metadata.xml?rev=1.1&view=markup |
59 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/metadata.xml?rev=1.1&content-type=text/plain |
60 | |
61 | Index: metadata.xml |
62 | =================================================================== |
63 | <?xml version="1.0" encoding="UTF-8"?> |
64 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
65 | <pkgmetadata> |
66 | <herd>haskell</herd> |
67 | <maintainer> |
68 | <email>haskell@g.o</email> |
69 | </maintainer> |
70 | <longdescription> |
71 | Chell is a simple and intuitive library for automated testing. It natively |
72 | supports assertion-based testing, and can use companion libraries |
73 | such as @chell-quickcheck@ to support more complex testing strategies. |
74 | |
75 | An example test suite, which verifies the behavior of artithmetic operators. |
76 | |
77 | @ |
78 | &#x7b;-\# LANGUAGE TemplateHaskell \#-&#x7d; |
79 | |
80 | import Test.Chell |
81 | |
82 | tests_Math :: Suite |
83 | tests_Math = suite \"math\" |
84 | &#x20; test_Addition |
85 | &#x20; test_Subtraction |
86 | |
87 | test_Addition :: Test |
88 | test_Addition = assertions \"addition\" $ do |
89 | &#x20; $expect (equal (2 + 1) 3) |
90 | &#x20; $expect (equal (1 + 2) 3) |
91 | |
92 | test_Subtraction :: Test |
93 | test_Subtraction = assertions \"subtraction\" $ do |
94 | &#x20; $expect (equal (2 - 1) 1) |
95 | &#x20; $expect (equal (1 - 2) (-1)) |
96 | |
97 | main :: IO () |
98 | main = defaultMain [tests_Math] |
99 | @ |
100 | |
101 | @ |
102 | $ ghc --make chell-example.hs |
103 | $ ./chell-example |
104 | PASS: 2 tests run, 2 tests passed |
105 | @ |
106 | </longdescription> |
107 | <use> |
108 | <flag name="color-output">use colors in program output</flag> |
109 | </use> |
110 | </pkgmetadata> |
111 | |
112 | |
113 | |
114 | 1.1 dev-haskell/chell/Manifest |
115 | |
116 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/Manifest?rev=1.1&view=markup |
117 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/Manifest?rev=1.1&content-type=text/plain |
118 | |
119 | Index: Manifest |
120 | =================================================================== |
121 | DIST chell-0.4.tar.gz 12437 SHA256 cf824e5ada55b18aa1e3fca93996fb04521cafcb7db0fccd1fec757eecc9d6c3 SHA512 8acbab62b84566ca03f44465de6911d72b3fae16292ff3f666bd6614c2e6c7bf9a2be04ca4a6b3d53802f29d23569034908371244a015b4159fea173b24f602c WHIRLPOOL 6771ad4bf27f5ce6852e74d3fe54b23048cc7d6594b94c29e7a725b63dd8beaee0b661840d389e59bf994e579bd442783123feabd28cee6d937a0fa0961f632f |
122 | EBUILD chell-0.4.ebuild 1063 SHA256 e2107ac68bb1fae989ae3baea3094d19318a8fe3624294b67045fab3c2d1aed8 SHA512 9bfc9234f2bac06cc4c8e0fd7e11fd7470e86a4ea57a5da3f1584067cda5645f1829979b1bb0afbab174791ec9877be49b771e356edf09fa27276f23bf57b3ec WHIRLPOOL 4ebbd0c5f59f3461357beb4d3d04a83f23eec2e9a664a508a1e54fb39f683c2dcb22cab93f357f32b58a96f1b4c943d0b807239feb7d4028cadeb14f76ef2c2d |
123 | MISC metadata.xml 1355 SHA256 11887b9036c4ecb7e0a955a3188d9deb24ba479713194cec686904bb33071b7e SHA512 fc0d3d6d8d7580723379e683a86ad37a48144cb5a06b5768772f2eea42f9c1a1804c431a7a78ebf7afaac6c8f925fe33960dff6c285209d3bf3a8e364d9cb2ad WHIRLPOOL 42612889418a574bf07d5bd01534311a6b796ce2393fdb36ffcce2aaec075caee2ef3a990d20036e6bc0d83bf29507e89a13a4744e7489fc237f38eea81155f6 |
124 | |
125 | |
126 | |
127 | 1.1 dev-haskell/chell/ChangeLog |
128 | |
129 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/ChangeLog?rev=1.1&view=markup |
130 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/ChangeLog?rev=1.1&content-type=text/plain |
131 | |
132 | Index: ChangeLog |
133 | =================================================================== |
134 | # ChangeLog for dev-haskell/chell |
135 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
136 | # $Header: /var/cvsroot/gentoo-x86/dev-haskell/chell/ChangeLog,v 1.1 2014/07/02 03:59:05 gienah Exp $ |
137 | |
138 | *chell-0.4 (02 Jul 2014) |
139 | |
140 | 02 Jul 2014; Mark Wright <gienah@g.o> +chell-0.4.ebuild, +metadata.xml: |
141 | Bump chell to 0.4 |