summaryrefslogtreecommitdiff
path: root/dev-ml/pxp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/pxp')
-rw-r--r--dev-ml/pxp/Manifest8
-rw-r--r--dev-ml/pxp/files/oc43.patch13
-rw-r--r--dev-ml/pxp/metadata.xml8
-rw-r--r--dev-ml/pxp/pxp-1.2.8-r1.ebuild54
-rw-r--r--dev-ml/pxp/pxp-1.2.9.ebuild50
5 files changed, 133 insertions, 0 deletions
diff --git a/dev-ml/pxp/Manifest b/dev-ml/pxp/Manifest
new file mode 100644
index 000000000000..6719ef9b1648
--- /dev/null
+++ b/dev-ml/pxp/Manifest
@@ -0,0 +1,8 @@
+AUX oc43.patch 395 SHA256 d9d4ac7acea0999fe855160cf66821496862b121d6dab3adff74c945d28bae1f SHA512 e9d7909b05bfec7a9712aad511ad7dec699711e68ffb68e3643c077cfcc83c76f2252b1de6a74ed244825cc9fbd8ff61122f9b32777f67114b8165fd0266180a WHIRLPOOL cb5a8fdd9cf5b70c550e6e8cc7a9c24406eda315dae7e55d53cc9e4473aed0fac21249d2954508b215df14443a7dea6a22186aae420e50a13f3f8271fdaebee3
+DIST pxp-1.2.8.tar.gz 619689 SHA256 701754f4460595434ea6db77c33e046d33e4a485e8d28c5d39ced56112c94452 SHA512 3292bfbda494066e454331a9cfc56b03f55afe8548bdf24fea09d9bc0a03c333c027f7b527983bd9b4d659458c95acf7e3fc251c72d26ab3502f52067c9f2549 WHIRLPOOL 5529a6ad818428b03664764704e62d200802dc26c8c344897f4b15b17945e4620fa4b878f0108b12f346000a7cc070b50d2ce82d945c6bcd34a0e5e811ec8c0a
+DIST pxp-1.2.9.tar.gz 626001 SHA256 b1ba8f305913b7e9d0bcbce0c532aeb28a79396e08f178b119c2050835ab1c7b SHA512 d3a8ab9eab0f5219b889dc7a0b4936e4ae81f2dd3eb06c45b25ff70b8e2c6151c917bf43cf84a90061c6efe0ec344c2703566d2d513e45e1fceab5740bdf9808 WHIRLPOOL 80ec9c681464821931d2b0ec6e7034023b1300bf56b42bfc33720c309e3290697cd20efe98c869949a80710f01460bf6896ba6f7a8413c3beef884eef9b74c85
+EBUILD pxp-1.2.8-r1.ebuild 1060 SHA256 473166f2d0504596c1be4d014f2cf1c8e3ed04993eaa3b187029c570222574b6 SHA512 f2ff74e1889cef44c7d7b5645fbca6d4d0433131d9bbd305fd1915514d3a8d312f2d8b8db27ede04dbf0d218d8dd57aaa9bdddeb9940005d68c0395ec2551e00 WHIRLPOOL bb753447787850655e8dd6a431b55fbba3934eb372bb584dc7e1207b3ef404de2507ca2dd178869ce3b8426a532e011d54b346e3ad43a169d0326283481229b9
+EBUILD pxp-1.2.9.ebuild 1011 SHA256 3698e9375295ca600e951b0c158c2a9621ba2693b47aa390bfa61856d981c9d7 SHA512 dbe344799beffe9bf22fee67084d70e6e2964c4de465878a244a9e7d7a30b7740a0614b8b121674c17e67127e16e1934dfe45ba19962fe0b99c7870c8f188137 WHIRLPOOL a58e6c8b13abb74ce79b40a8ab54132dcdf6b211b13f33b3744b5a592eb6dcb124d0021cbd8fd2ee4a5989f78cc62e5cc0c4e0c896f9c76b818c2977645afc1a
+MISC ChangeLog 4980 SHA256 1157ddec7074a731b1406462c7a59c29c49925ecb3fb78c57d83a00de1218d0d SHA512 d9d859f0aea346af8c8fc6f54c877450540202b5514449b139a77ba58b8606c140bfe3c9e736138eabb0242f94de922677c2774fc5e4b96008815b77fefa18c5 WHIRLPOOL 20d0068b730832848105c17713eed97171771479293c21b78eb9c2cfbf7e80a69dc74cbc6e3c49863fdd8f9948d9a128bf23a2b16de0a445e174ae58ed4a1a36
+MISC ChangeLog-2015 4393 SHA256 9d5723fecb90b06e365959d24c2265684172f151c8f34c7bd83bb752cf5572fd SHA512 dee8182bb6f18fc5b6e5a1ebae7df0da9f59b95521bd7e60499c7bad1cd4c08ad6f42ca7a26dd93874465c630eee1e50715d44ba793bce4c134fbe68cd73050c WHIRLPOOL dea1c6770b7d8ed9346590bd92bca7293cda2d1e4505bdea7512b95c7c1ddfbaae2b02c763e0f90405bec51ed94ce92661bbeda16ca3facfeed6fb7baa5816ef
+MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a
diff --git a/dev-ml/pxp/files/oc43.patch b/dev-ml/pxp/files/oc43.patch
new file mode 100644
index 000000000000..0168c703d06d
--- /dev/null
+++ b/dev-ml/pxp/files/oc43.patch
@@ -0,0 +1,13 @@
+Index: pxp-1.2.8/src/pxp-engine/pxp_document.ml
+===================================================================
+--- pxp-1.2.8.orig/src/pxp-engine/pxp_document.ml
++++ pxp-1.2.8/src/pxp-engine/pxp_document.ml
+@@ -3398,8 +3398,6 @@ let find_all_elements ?deeply eltype bas
+ ;;
+
+
+-exception Skip;;
+-
+ let map_tree ~pre ?(post=(fun x -> x)) base =
+ let rec map_rec n =
+ let n' = pre n in
diff --git a/dev-ml/pxp/metadata.xml b/dev-ml/pxp/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/pxp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/pxp/pxp-1.2.8-r1.ebuild b/dev-ml/pxp/pxp-1.2.8-r1.ebuild
new file mode 100644
index 000000000000..46f405db67a1
--- /dev/null
+++ b/dev-ml/pxp/pxp-1.2.8-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit findlib eutils
+
+MY_P=${P/_beta/test}
+
+DESCRIPTION="validating XML parser library for O'Caml"
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="amd64 ppc x86"
+
+SLOT="0/${PV}"
+DEPEND=">=dev-ml/pcre-ocaml-4.31:=
+ >=dev-ml/ulex-0.5:=
+ >=dev-ml/ocamlnet-4:=
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+IUSE="examples +ocamlopt"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/oc43.patch"
+}
+
+src_configure() {
+ #the included configure does not support many standard switches and is quite picky
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ cd doc
+ dodoc ABOUT-FINDLIB README SPEC design.txt
+}
diff --git a/dev-ml/pxp/pxp-1.2.9.ebuild b/dev-ml/pxp/pxp-1.2.9.ebuild
new file mode 100644
index 000000000000..58fa81ed2194
--- /dev/null
+++ b/dev-ml/pxp/pxp-1.2.9.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit findlib eutils
+
+MY_P=${P/_beta/test}
+
+DESCRIPTION="validating XML parser library for O'Caml"
+HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
+SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+SLOT="0/${PV}"
+DEPEND=">=dev-ml/pcre-ocaml-4.31:=
+ >=dev-ml/ulex-0.5:=
+ >=dev-ml/ocamlnet-4:=
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ dev-ml/camlp4:="
+RDEPEND="${DEPEND}"
+
+IUSE="examples +ocamlopt"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ #the included configure does not support many standard switches and is quite picky
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ cd doc
+ dodoc ABOUT-FINDLIB README SPEC design.txt
+}