summaryrefslogtreecommitdiff
path: root/dev-ml/pxp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/pxp')
-rw-r--r--dev-ml/pxp/Manifest6
-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, 131 insertions, 0 deletions
diff --git a/dev-ml/pxp/Manifest b/dev-ml/pxp/Manifest
new file mode 100644
index 000000000000..31b9da86613d
--- /dev/null
+++ b/dev-ml/pxp/Manifest
@@ -0,0 +1,6 @@
+AUX oc43.patch 395 BLAKE2B fff93ecf1bd9f1b04c142f73923e2b8fdcee520dc8ed71d3e1a1fe024114170a5b678c6489e3052800fd0ab986286086e1996088f56ed4bc619282fcc6d15164 SHA512 e9d7909b05bfec7a9712aad511ad7dec699711e68ffb68e3643c077cfcc83c76f2252b1de6a74ed244825cc9fbd8ff61122f9b32777f67114b8165fd0266180a
+DIST pxp-1.2.8.tar.gz 619689 BLAKE2B ac63bdee598e368bbe96bbdab38e2fe96902346f80769d51ac2ea47d54a5066d8de35e96d13c0fc7af3ac822e2b121d8f7c033fe00b2f052fc734ccc0f8cca3f SHA512 3292bfbda494066e454331a9cfc56b03f55afe8548bdf24fea09d9bc0a03c333c027f7b527983bd9b4d659458c95acf7e3fc251c72d26ab3502f52067c9f2549
+DIST pxp-1.2.9.tar.gz 626001 BLAKE2B aa3ab609751745b51d8dfb2a0aa2543f46002de4d116cf7e184dfa6153dd4d0657f718af5c98eb2c2f9d5805da5fa7087918afc949e43d6e1dea8d4d812c6256 SHA512 d3a8ab9eab0f5219b889dc7a0b4936e4ae81f2dd3eb06c45b25ff70b8e2c6151c917bf43cf84a90061c6efe0ec344c2703566d2d513e45e1fceab5740bdf9808
+EBUILD pxp-1.2.8-r1.ebuild 1060 BLAKE2B 732dd52a8567ae8a672033511e4fb183128a32f874561b3698b99e8c04c8757bdb18807793b4af5f5eab11a756cda1a6ab546428c1c5c84e5e316a8493025325 SHA512 f2ff74e1889cef44c7d7b5645fbca6d4d0433131d9bbd305fd1915514d3a8d312f2d8b8db27ede04dbf0d218d8dd57aaa9bdddeb9940005d68c0395ec2551e00
+EBUILD pxp-1.2.9.ebuild 1011 BLAKE2B 918f8e3d0f31dce91118df4aeed20827d3f8038c57c32d6c3885abcae32e9a52fbe27006b5022efe8bca5c680e7a539fe90ba58c5a2e52de84295f8b3971752b SHA512 dbe344799beffe9bf22fee67084d70e6e2964c4de465878a244a9e7d7a30b7740a0614b8b121674c17e67127e16e1934dfe45ba19962fe0b99c7870c8f188137
+MISC metadata.xml 243 BLAKE2B 010ca240ae06e9a9f6d7ba213eb06df36d9ba862ff2d2458d98a9fea1a1e7f3026d13832a73bce1b3ad9345029425e6abfae9e03bf126f2329b3f030ed3753fd SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449
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
+}