Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/darcs: metadata.xml darcs-2.10.0-r1.ebuild ChangeLog
Date: Sat, 01 Aug 2015 11:22:35
Message-Id: 20150801112228.6509A112@oystercatcher.gentoo.org
1 slyfox 15/08/01 11:22:28
2
3 Modified: metadata.xml ChangeLog
4 Added: darcs-2.10.0-r1.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.4 dev-vcs/darcs/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/darcs/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 27 Feb 2015 22:51:17 -0000 1.3
24 +++ metadata.xml 1 Aug 2015 11:22:28 -0000 1.4
25 @@ -7,6 +7,7 @@
26 </maintainer>
27 <use>
28 <flag name="color">Use ansi color escapes.</flag>
29 + <flag name="diff">Use 'lcs' for diff building.</flag>
30 <flag name="http">Use the pure Haskell HTTP package for HTTP support.</flag>
31 <flag name="optimize">Build with optimizations (-O2).</flag>
32 <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
33
34
35
36 1.62 dev-vcs/darcs/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/ChangeLog?rev=1.62&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/ChangeLog?rev=1.62&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/ChangeLog?r1=1.61&r2=1.62
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/dev-vcs/darcs/ChangeLog,v
45 retrieving revision 1.61
46 retrieving revision 1.62
47 diff -u -r1.61 -r1.62
48 --- ChangeLog 18 Jul 2015 13:14:48 -0000 1.61
49 +++ ChangeLog 1 Aug 2015 11:22:28 -0000 1.62
50 @@ -1,6 +1,12 @@
51 # ChangeLog for dev-vcs/darcs
52 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/ChangeLog,v 1.61 2015/07/18 13:14:48 slyfox Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/ChangeLog,v 1.62 2015/08/01 11:22:28 slyfox Exp $
55 +
56 +*darcs-2.10.0-r1 (01 Aug 2015)
57 +
58 + 01 Aug 2015; Sergei Trofimovich <slyfox@g.o> +darcs-2.10.0-r1.ebuild,
59 + metadata.xml:
60 + Version bump.
61
62 18 Jul 2015; Sergei Trofimovich <slyfox@g.o> darcs-2.8.4-r6.ebuild:
63 alpha/amd64/ia64/ppc/ppc64/sparc/x86 stable wrt bug #554768
64
65
66
67 1.1 dev-vcs/darcs/darcs-2.10.0-r1.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/darcs-2.10.0-r1.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/darcs/darcs-2.10.0-r1.ebuild?rev=1.1&content-type=text/plain
71
72 Index: darcs-2.10.0-r1.ebuild
73 ===================================================================
74 # Copyright 1999-2015 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.10.0-r1.ebuild,v 1.1 2015/08/01 11:22:28 slyfox Exp $
77
78 EAPI=5
79
80 # ebuild generated by hackport 0.4.5.9999
81 #hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize
82
83 CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
84 inherit haskell-cabal
85
86 DESCRIPTION="a distributed, interactive, smart revision control system"
87 HOMEPAGE="http://darcs.net/"
88 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
89
90 LICENSE="GPL-2"
91 SLOT="0/${PV}"
92 KEYWORDS="~amd64 ~x86"
93 IUSE="+curl diff +http +terminfo +threaded"
94
95 RESTRICT=test # some files are missing
96
97 RDEPEND=">=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
98 >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?]
99 >=dev-haskell/binary-0.5:=[profile?] <dev-haskell/binary-0.8:=[profile?]
100 >=dev-haskell/cryptohash-0.4:=[profile?] <dev-haskell/cryptohash-0.12:=[profile?]
101 >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?]
102 >=dev-haskell/dataenc-0.11:=[profile?] <dev-haskell/dataenc-0.15:=[profile?]
103 >=dev-haskell/hashable-1.0:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
104 >=dev-haskell/haskeline-0.6.3:=[profile?] <dev-haskell/haskeline-0.8:=[profile?]
105 >=dev-haskell/html-1.0:=[profile?] <dev-haskell/html-1.1:=[profile?]
106 >=dev-haskell/mmap-0.5:=[profile?] <dev-haskell/mmap-0.6:=[profile?]
107 >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
108 >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?]
109 >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
110 >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
111 >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.2:=[profile?]
112 >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?]
113 >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?]
114 >=dev-haskell/tar-0.4:=[profile?] <dev-haskell/tar-0.5:=[profile?]
115 >=dev-haskell/text-0.11.2.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
116 >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.5:=[profile?]
117 >=dev-haskell/unix-compat-0.1.2:=[profile?] <dev-haskell/unix-compat-0.5:=[profile?]
118 >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
119 >=dev-haskell/vector-0.7:=[profile?] <dev-haskell/vector-0.11:=[profile?]
120 >=dev-haskell/zip-archive-0.2.3:=[profile?] <dev-haskell/zip-archive-0.3:=[profile?]
121 >=dev-haskell/zlib-0.5.3.0:=[profile?] <dev-haskell/zlib-0.6.0.0:=[profile?]
122 >=dev-lang/ghc-7.4.1:=
123 virtual/libiconv
124 || ( ( >=dev-haskell/transformers-0.3:=[profile?] <dev-haskell/transformers-0.4.0.0:=[profile?] )
125 ( >dev-haskell/transformers-0.4.0.0:=[profile?] <dev-haskell/transformers-0.5:=[profile?] ) )
126 curl? ( net-misc/curl )
127 diff? ( dev-haskell/lcs:=[profile?] )
128 http? ( >=dev-haskell/http-4000.2.3:=[profile?] <dev-haskell/http-4000.3:=[profile?]
129 >=dev-haskell/network-2.6:=[profile?]
130 dev-haskell/network-uri:=[profile?]
131 )
132 terminfo? ( >=dev-haskell/terminfo-0.3:=[profile?] )
133 "
134 DEPEND="${RDEPEND}
135 >=dev-haskell/cabal-1.10
136 dev-lang/ghc
137 test? ( >=dev-haskell/cmdargs-0.10 <dev-haskell/cmdargs-0.11
138 >=dev-haskell/findbin-0.0 <dev-haskell/findbin-0.1
139 >=dev-haskell/hunit-1.0 <dev-haskell/hunit-1.3
140 >=dev-haskell/quickcheck-2.3 <dev-haskell/quickcheck-2.8
141 >=dev-haskell/shelly-1.6 <dev-haskell/shelly-1.7
142 >=dev-haskell/split-0.1.4.1 <dev-haskell/split-0.3
143 >=dev-haskell/test-framework-0.4.0 <dev-haskell/test-framework-0.9
144 >=dev-haskell/test-framework-hunit-0.2.2 <dev-haskell/test-framework-hunit-0.4
145 >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 )
146 curl? ( virtual/pkgconfig )
147 "
148
149 src_prepare() {
150 cabal_chdeps \
151 'terminfo == 0.3.*' 'terminfo >= 0.3' \
152 'network >= 2.3 && < 2.5' 'network >= 2.6, network-uri' \
153 'QuickCheck >= 2.3 && < 2.8' 'QuickCheck >= 2.3' \
154 'attoparsec >= 0.11 && < 0.13' 'attoparsec >= 0.11 && < 0.14'
155 }
156
157 src_configure() {
158 haskell-cabal_src_configure \
159 $(cabal_flag curl curl) \
160 --flag=executable \
161 $(cabal_flag diff hashed-storage-diff) \
162 --flag=-hpc \
163 $(cabal_flag http http) \
164 --flag=library \
165 --flag=-optimize \
166 --flag=pkgconfig \
167 --flag=-rts \
168 --flag=-static \
169 $(cabal_flag terminfo terminfo) \
170 $(cabal_flag threaded threaded) \
171 --flag=-warn-as-error
172 }
173
174 src_install() {
175 haskell-cabal_src_install
176
177 # fixup perms in such an an awkward way
178 mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found"
179 doman "${S}/darcs.1" || die "failed to register darcs.1 as a manpage"
180 }