summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Miess <Philip_Miess@yahoo.com>2020-04-12 14:59:11 -0400
committerPhilip Miess <Philip_Miess@yahoo.com>2020-04-12 14:59:11 -0400
commite512a351c51705d457db2f768b647a89bae68f35 (patch)
treea682c3eeb4f6672573348b55f23140ce0ac5331b
parentcopy of the 1.11.4 ebuild as well (diff)
downloadsuperposition-e512a351c51705d457db2f768b647a89bae68f35.tar.gz
superposition-e512a351c51705d457db2f768b647a89bae68f35.tar.bz2
superposition-e512a351c51705d457db2f768b647a89bae68f35.zip
copy xmlm build here as well
Signed-off-by: Philip Miess <Philip_Miess@yahoo.com>
-rw-r--r--dev-ml/xmlm/Manifest3
-rw-r--r--dev-ml/xmlm/metadata.xml20
-rw-r--r--dev-ml/xmlm/xmlm-1.3.0.ebuild31
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-ml/xmlm/Manifest b/dev-ml/xmlm/Manifest
new file mode 100644
index 0000000..e02f105
--- /dev/null
+++ b/dev-ml/xmlm/Manifest
@@ -0,0 +1,3 @@
+DIST xmlm-1.3.0.tbz 25176 BLAKE2B 546f433386101c2460b0a8cadf94e383269e81792d068fa4c85d78117a5e65a64bd5e2fac0a5857d6bdefc7c511ae98cc77410b276ecb0300baf73d70ccb2251 SHA512 fd3b9ba8cd12321fd8d56e9ce829a7c8b121bff11cbf7ede58fa0280302fe0ba64f510360ff5b5182591faef660792db66db36e45f6355e3d22bb521f8e308fe
+EBUILD xmlm-1.3.0.ebuild 641 BLAKE2B cf4b08baf662633b2b57bb33932a60722a418a6f69ff73353e4ac502eb34bc1d9fbf85c0267baf7f031d7bb7732ae8729d94f2456cb8a114443864bd13ddd92a SHA512 f5cc6615662e9294d76df38f1cd5d75e1afa753c7379dbbdd909114682702af126023b44fb065d9957a00b1b79f01ea778947377f5d9685e5f39e31c72c33dc8
+MISC metadata.xml 652 BLAKE2B c920a074c851428eed327b28881cff80d3c45fd19a309732ebd25b59a74aa41a0ba0ee51e5e0b4954039536cf995b31cecc5e7f792a8b224bb59c81e9f64d5c9 SHA512 b45cfed8aab63a826638df4ee2ffd43772e6c14e3db6e01e28c3d0a02b44bda9ebe382b30ec9b5bef3fc6243c77d6a3062785ec22e711c31fa2eb8ff659d1062
diff --git a/dev-ml/xmlm/metadata.xml b/dev-ml/xmlm/metadata.xml
new file mode 100644
index 0000000..1dc2489
--- /dev/null
+++ b/dev-ml/xmlm/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ A streaming codec to decode and encode the XML data format.
+ It can process XML documents without a complete in-memory
+ representation of the data.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dbuenzli/xmlm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/xmlm/xmlm-1.3.0.ebuild b/dev-ml/xmlm/xmlm-1.3.0.ebuild
new file mode 100644
index 0000000..59bd41c
--- /dev/null
+++ b/dev-ml/xmlm/xmlm-1.3.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit opam
+
+DESCRIPTION="Ocaml XML manipulation module"
+HOMEPAGE="http://erratique.ch/software/xmlm https://github.com/dbuenzli/xmlm"
+SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ dev-ml/topkg:="
+
+src_compile() {
+ ocaml pkg/pkg.ml build \
+ --tests "$(usex test 'true' 'false')" \
+ || die "compile failed"
+}
+
+src_test() {
+ ocaml pkg/pkg.ml test || die "test failed"
+}