]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
Add app-text/XML-Schema-learner (doesn't work yet).
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 6 Jan 2014 13:24:32 +0000 (08:24 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 6 Jan 2014 13:24:32 +0000 (08:24 -0500)
app-text/XML-Schema-learner/XML-Schema-learner-9999.ebuild [new file with mode: 0644]

diff --git a/app-text/XML-Schema-learner/XML-Schema-learner-9999.ebuild b/app-text/XML-Schema-learner/XML-Schema-learner-9999.ebuild
new file mode 100644 (file)
index 0000000..4313850
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="Algorithmic inferencing of XML schema definitions and DTDs"
+# See also:
+# http://kore-nordmann.de/blog/0104_generating_xml_schemas_from_xml.html
+HOMEPAGE="https://github.com/kore/XML-Schema-learner"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="test? ( dev-php/phpunit )"
+RDEPEND="dev-lang/php[cli,xml,xmlreader]"
+
+src_test {
+       cd "${S}"
+       phpunit tests/suite.php || die 'test suite (suite.php) failed'
+}