Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/pandoc: pandoc-1.8.1.1-r1.ebuild ChangeLog pandoc-1.8.1.1.ebuild
Date: Tue, 03 May 2011 19:36:08
Message-Id: 20110503193558.7D97D20054@flycatcher.gentoo.org
1 slyfox 11/05/03 19:35:58
2
3 Modified: ChangeLog
4 Added: pandoc-1.8.1.1-r1.ebuild
5 Removed: pandoc-1.8.1.1.ebuild
6 Log:
7 USE flags work this time (passed to configure phase).
8
9 (Portage version: 2.1.9.42/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 app-text/pandoc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pandoc/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pandoc/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pandoc/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/pandoc/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 25 Apr 2011 12:30:48 -0000 1.1
25 +++ ChangeLog 3 May 2011 19:35:58 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-text/pandoc
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/ChangeLog,v 1.1 2011/04/25 12:30:48 slyfox Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/ChangeLog,v 1.2 2011/05/03 19:35:58 slyfox Exp $
31 +
32 +*pandoc-1.8.1.1-r1 (03 May 2011)
33 +
34 + 03 May 2011; Sergei Trofimovich <slyfox@g.o> -pandoc-1.8.1.1.ebuild,
35 + +pandoc-1.8.1.1-r1.ebuild:
36 + USE flags work this time (passed to configure phase).
37
38 *pandoc-1.8.1.1 (25 Apr 2011)
39
40
41
42
43 1.1 app-text/pandoc/pandoc-1.8.1.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pandoc/pandoc-1.8.1.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pandoc/pandoc-1.8.1.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pandoc-1.8.1.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.8.1.1-r1.ebuild,v 1.1 2011/05/03 19:35:58 slyfox Exp $
53
54 # ebuild generated by hackport 0.2.11
55
56 EAPI="3"
57
58 CABAL_FEATURES="bin lib profile haddock hscolour"
59 inherit haskell-cabal
60
61 DESCRIPTION="Conversion between markup formats"
62 HOMEPAGE="http://johnmacfarlane.net/pandoc"
63 SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="highlight pdf"
69 RESTRICT="test" # needs quickcheck-2.4 in tree
70
71 RDEPEND=">=dev-haskell/citeproc-hs-0.3.1
72 =dev-haskell/dlist-0.5*
73 =dev-haskell/http-4000.1*
74 =dev-haskell/json-0.4*
75 <dev-haskell/mtl-2.1
76 =dev-haskell/network-2.3*
77 =dev-haskell/pandoc-types-1.8*
78 >=dev-haskell/parsec-2.1
79 =dev-haskell/tagsoup-0.12*
80 =dev-haskell/texmath-0.5*
81 =dev-haskell/utf8-string-0.3*
82 =dev-haskell/xhtml-3000.2*
83 >=dev-haskell/xml-1.3.5
84 >=dev-haskell/zip-archive-0.1.1.7
85 >=dev-lang/ghc-6.10.1
86 highlight? ( =dev-haskell/highlighting-kate-0.2.9* )
87 pdf? ( virtual/latex-base )
88 "
89
90 DEPEND="${RDEPEND}
91 >=dev-haskell/cabal-1.6"
92
93 pandoc_init() {
94 pandoc="${PN}"
95 pdfscript="markdown2pdf"
96 }
97
98 installMan() {
99 local prog=$1
100 doman "${S}/man/man1/${prog}.1"
101 }
102
103 src_configure() {
104 cabal_src_configure \
105 $(cabal_flag highlight highlighting)
106 }
107
108 src_install() {
109 pandoc_init
110 cabal_src_install
111
112 installMan "${pandoc}"
113 use pdf && installMan "${pdfscript}"
114
115 # COPYING is installed by the Cabal eclass
116 dodoc README COPYRIGHT changelog
117 }