summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2014-01-09 03:31:56 +0000
committerMichael Orlitzky <mjo@gentoo.org>2014-01-09 03:31:56 +0000
commit42114f652400a7f92dc194318c1502814c62cec0 (patch)
tree9cb0c1aecfd5e4a3840cd203b1469c97f3d0f325 /app-text/XML-Schema-learner
parentStable for amd64 and x86 #438692 (diff)
downloadgentoo-2-42114f652400a7f92dc194318c1502814c62cec0.tar.gz
gentoo-2-42114f652400a7f92dc194318c1502814c62cec0.tar.bz2
gentoo-2-42114f652400a7f92dc194318c1502814c62cec0.zip
New package: app-text/XML-Schema-learner, an XML schema inferencer.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x6F48D3DA05C2DADB!)
Diffstat (limited to 'app-text/XML-Schema-learner')
-rw-r--r--app-text/XML-Schema-learner/ChangeLog9
-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
3 files changed, 69 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/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>