Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/pxp/
Date: Fri, 03 Mar 2017 11:28:58
Message-Id: 1488540522.c4944c3f1574fab9ad8ba99fe8b742cdc225f961.aballier@gentoo
1 commit: c4944c3f1574fab9ad8ba99fe8b742cdc225f961
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 11:08:05 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 11:28:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4944c3f
7
8 dev-ml/pxp: Bump to 1.2.9
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-ml/pxp/Manifest | 1 +
13 dev-ml/pxp/pxp-1.2.9.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-ml/pxp/Manifest b/dev-ml/pxp/Manifest
17 index 578c26c86d4..ab3b65350d7 100644
18 --- a/dev-ml/pxp/Manifest
19 +++ b/dev-ml/pxp/Manifest
20 @@ -1 +1,2 @@
21 DIST pxp-1.2.8.tar.gz 619689 SHA256 701754f4460595434ea6db77c33e046d33e4a485e8d28c5d39ced56112c94452 SHA512 3292bfbda494066e454331a9cfc56b03f55afe8548bdf24fea09d9bc0a03c333c027f7b527983bd9b4d659458c95acf7e3fc251c72d26ab3502f52067c9f2549 WHIRLPOOL 5529a6ad818428b03664764704e62d200802dc26c8c344897f4b15b17945e4620fa4b878f0108b12f346000a7cc070b50d2ce82d945c6bcd34a0e5e811ec8c0a
22 +DIST pxp-1.2.9.tar.gz 626001 SHA256 b1ba8f305913b7e9d0bcbce0c532aeb28a79396e08f178b119c2050835ab1c7b SHA512 d3a8ab9eab0f5219b889dc7a0b4936e4ae81f2dd3eb06c45b25ff70b8e2c6151c917bf43cf84a90061c6efe0ec344c2703566d2d513e45e1fceab5740bdf9808 WHIRLPOOL 80ec9c681464821931d2b0ec6e7034023b1300bf56b42bfc33720c309e3290697cd20efe98c869949a80710f01460bf6896ba6f7a8413c3beef884eef9b74c85
23
24 diff --git a/dev-ml/pxp/pxp-1.2.9.ebuild b/dev-ml/pxp/pxp-1.2.9.ebuild
25 new file mode 100644
26 index 00000000000..58fa81ed219
27 --- /dev/null
28 +++ b/dev-ml/pxp/pxp-1.2.9.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="5"
34 +
35 +inherit findlib eutils
36 +
37 +MY_P=${P/_beta/test}
38 +
39 +DESCRIPTION="validating XML parser library for O'Caml"
40 +HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
41 +SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +
46 +SLOT="0/${PV}"
47 +DEPEND=">=dev-ml/pcre-ocaml-4.31:=
48 + >=dev-ml/ulex-0.5:=
49 + >=dev-ml/ocamlnet-4:=
50 + >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
51 + dev-ml/camlp4:="
52 +RDEPEND="${DEPEND}"
53 +
54 +IUSE="examples +ocamlopt"
55 +
56 +S=${WORKDIR}/${MY_P}
57 +
58 +src_configure() {
59 + #the included configure does not support many standard switches and is quite picky
60 + ./configure || die "configure failed"
61 +}
62 +
63 +src_compile() {
64 + emake -j1 all
65 + if use ocamlopt; then
66 + emake -j1 opt
67 + fi
68 +}
69 +
70 +src_install() {
71 + findlib_src_install
72 + if use examples; then
73 + dodoc -r examples
74 + docompress -x /usr/share/doc/${PF}/examples
75 + fi
76 +
77 + cd doc
78 + dodoc ABOUT-FINDLIB README SPEC design.txt
79 +}