summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/XML-Schema-learner/ChangeLog9
-rw-r--r--app-text/XML-Schema-learner/Manifest26
-rw-r--r--app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild38
-rw-r--r--app-text/XML-Schema-learner/metadata.xml22
4 files changed, 95 insertions, 0 deletions
diff --git a/app-text/XML-Schema-learner/ChangeLog b/app-text/XML-Schema-learner/ChangeLog
new file mode 100644
index 000000000000..53f77174265e
--- /dev/null
+++ b/app-text/XML-Schema-learner/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-text/XML-Schema-learner
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/XML-Schema-learner/ChangeLog,v 1.1 2014/01/09 03:31:56 mjo Exp $
+
+*XML-Schema-learner-1.0.0 (09 Jan 2014)
+
+ 09 Jan 2014; Michael Orlitzky <mjo@gentoo.org>
+ +XML-Schema-learner-1.0.0.ebuild, +metadata.xml:
+ New package: app-text/XML-Schema-learner, an XML schema inferencer.
diff --git a/app-text/XML-Schema-learner/Manifest b/app-text/XML-Schema-learner/Manifest
new file mode 100644
index 000000000000..5a69dfb75ecd
--- /dev/null
+++ b/app-text/XML-Schema-learner/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST XML-Schema-learner-1.0.0.tar.gz 50690 SHA256 b68fe6c090c3e175e52e0e9f037412eb11725951a54c6a884246fcd2c9465a83 SHA512 aa1b696fbec13d3a345f063e055f77f17832ceb11294a73ac393363684d754f0274ffc59bfc048315bbe2cba8a012cd012ee9ce4f7de12b5695bad60485564bd WHIRLPOOL ddd0afd6056bfa8c617d0a310512d2d4353282f44b8bac140ff299533e689693aa268c189c3c617ecd3e638a00d6994e92e1b6cfa1f8a5c692605f9f12635930
+EBUILD XML-Schema-learner-1.0.0.ebuild 1116 SHA256 d3a924511cdc30b9de081aace9b61f8554072768049215a7d9855d91d0c2d2e1 SHA512 e58226ef4055e29605b3c042ddbcec8a319abd3a38e4f075a6306f1063d4e129b7c04d03f56e0fe0ecdb5f78c651847474971be33afd024c226e2d8a70603977 WHIRLPOOL 25187ee8a24f7bce1fd7bfde1209644282e7005e6c22a5f3f27cb2a5bb723a8ba8e3dd6ec1ebf00599174b0039a3882be9f5746779c4a73e8d029e23f5566252
+MISC ChangeLog 435 SHA256 c012a97839c5fe50cfe8fa9ba9da07eda191aa58eaa74828fb2dcb62d6862817 SHA512 e67aa99c0d6809ec74ad9d591e44d79165a90436b26e9c00ce23c2699e1cf6f55e130c166a6e42e3d6b0b99efe5c9b9df8b26734859ca157a07f1d5b11191afb WHIRLPOOL cdf6048ed1339ae0bb84dc94a49127d741f3605a3c4eb84a5dd1f224402cab0148a30b51a5a1078ade4ae6a2ae3c00ecdbd9e21190394fcf9fcc959f38b111d9
+MISC metadata.xml 852 SHA256 375bb6fe71e4e1efedd07c1036b4478864f2101567ab4c869eec78ddcd1b3e54 SHA512 e93162884e5a0def1f88953c8e3ff3b111277e46851c37e9511347a45f76853259511235bebabf53b61be1bde86a521781e692aa303919b4df734f3343c9951e WHIRLPOOL fad52a0990c50ed19ba484360019b6f02e34fb2c65f5eb2100b2d55c4141c640a6bfa9932f6db0543495aa0e8dca4eb36f66530a0aa21d41667a3ad246ff6b77
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJSzhgwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNEU5RDcyRDdCMUFGREVGQzBCNDFDMUY2
+RjQ4RDNEQTA1QzJEQURCAAoJEG9I09oFwtrbCBsP+QHgpEcFvLZElJnMWss6lZI8
+ZMnvZMl6tcgV4CjtsMiOHFFqYdUOdFqErLZ+cr2neu5uN90Is6SnoJgh4/rcrC74
+RozsgDWIqp1iUgoLkymFUmNv3LiFS9mi6NXjbNtPT5wZ6NW8zvr1xTD5D6zyIuU3
+GXi6QWX10NGelcA2HRs0uXtjZklcwkUtILXPjrC275iG3a2XldQAfXS8JEXRWUR7
+VCiolAhwrNuyIfnXT+Nr3we7De/8qjNqaNq0s0R4FN0nKSya7kgoFFGkPQe9T3rL
+wQ+KG2NPVxWrqe6EtK1yiooZr1B6YNfTuX/2/QquSbtn1OCVB6XNX9IGknRWpVzH
+ifYQQrCj+LzQJkMH/7KrgvpWLZ4PVbwedLl6/yzGQhpKuAWyBKcpbXvzx7JvFMHh
+eJH5oVn7B+ZCADQVTfYW9CzR6okZLAiLaneFPuKg1Oy0cBmWZ/iq675k/vd9j6hn
+aZHpAS/NaWSXYu9XsNCv2DQ1TWiZe7QBb+mwfuQZMwiOJu9bHLfNnkQAXDox+xzJ
+lPpndqb3IwOIf4TS1l5xGQ9p45JerEb9GxXGEZe24hZ/SBxLg/5WSOlISse5Rsu+
+FSSJrWzDinULUTj8P8dzpRJWhgZ268pUo5XgsRdvkAslidnoYfKUojD1GKLYhMkU
+Q0ubXa37a763sbc1Y4vK
+=/g7k
+-----END PGP SIGNATURE-----
diff --git a/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild
new file mode 100644
index 000000000000..5c4c113b8cfc
--- /dev/null
+++ b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/XML-Schema-learner/XML-Schema-learner-1.0.0.ebuild,v 1.1 2014/01/09 03:31:56 mjo Exp $
+
+EAPI=5
+
+DESCRIPTION="Algorithmic inferencing of XML schema definitions and DTDs"
+HOMEPAGE="https://github.com/kore/${PN}"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+# PHP dependency can be inferred from .travis.yml in the repository.
+# The necessary USE flags on the other hand were found the hard way.
+#
+# The dependencies here aren't as expressive as they should be. What we
+# really want is for php[...] to apply to everything in PHP_TARGETS, and
+# for those interpreters (the ones in PHP_TARGETS) to be used to run the
+# test suite.
+#
+# See bug #497606.
+#
+RDEPEND="dev-lang/php[cli,xml,xmlreader]"
+DEPEND="test? ( ${RDEPEND}
+ dev-php/phpunit )"
+
+src_compile() {
+ # Don't run make, the default target is 'check'.
+ :
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+ dodoc README.rst
+}
diff --git a/app-text/XML-Schema-learner/metadata.xml b/app-text/XML-Schema-learner/metadata.xml
new file mode 100644
index 000000000000..105de54e1488
--- /dev/null
+++ b/app-text/XML-Schema-learner/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ This software implements various state-of-the-art algorithms for
+ algorithmic learning of XML Schema definitions and Document Type
+ Definitions.
+
+ Given a set or a single XML instance it can algorithmically infer
+ a schema which describes the XML instances. The resulting schemas
+ are of high-quality and human readable.
+
+ The theory behind the project is described in Kore Nordmann's
+ thesis, "Algorithmic learning of XML Schema definitions from XML
+ data," available at
+ http://kore-nordmann.de/talks/11_03_learning_xml_schema_definitions_from_xml_data.pdf.
+ </longdescription>
+</pkgmetadata>