summaryrefslogtreecommitdiff
path: root/dev-ml/xmlm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/xmlm
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/xmlm')
-rw-r--r--dev-ml/xmlm/Manifest3
-rw-r--r--dev-ml/xmlm/metadata.xml11
-rw-r--r--dev-ml/xmlm/xmlm-1.3.0.ebuild31
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/xmlm/Manifest b/dev-ml/xmlm/Manifest
new file mode 100644
index 000000000000..c1bc512392fb
--- /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 584 BLAKE2B be3dc98c892db1cc0650e4de291194430791eb0e1263b6bd2c610291a2435af1a6096af45b3628d97faedeec50c481c99870297f137553471ee2c1354977fcc9 SHA512 698d67b7baab633b1d013728d01ea77357bf3b0340ff10c183464705abe886ea3aef90ea863a47bfeaedba373b8e336e9f7001a475e93c212b6829833022c1d1
+MISC metadata.xml 325 BLAKE2B e750bdae2835484cf8c04b2e071e3118db8c59ca51ab5a2d3c100f153c738b3ea42a15349564b312c054d340c48760ede22b2e59baf4b88fda22753d5f7d4121 SHA512 5b130b6410fff7282184f48fee01fc6cc1f2d9bc74a904cd2de0011a81af82f4d335edc40d50289e7dff478ef352690466af8b8344948ab8891b548943a8980c
diff --git a/dev-ml/xmlm/metadata.xml b/dev-ml/xmlm/metadata.xml
new file mode 100644
index 000000000000..a798d7062372
--- /dev/null
+++ b/dev-ml/xmlm/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <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 000000000000..f01035cc90c4
--- /dev/null
+++ b/dev-ml/xmlm/xmlm-1.3.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+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="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-ml/findlib
+ >=dev-ml/topkg-0.9
+"
+
+src_compile() {
+ ocaml pkg/pkg.ml build \
+ --tests $(usex test 'true' 'false') \
+ || die
+}
+
+src_test() {
+ ocaml pkg/pkg.ml test || die
+}