diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/XML-Schema-learner | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/XML-Schema-learner')
-rw-r--r-- | app-text/XML-Schema-learner/Manifest | 3 | ||||
-rw-r--r-- | app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild | 37 | ||||
-rw-r--r-- | app-text/XML-Schema-learner/metadata.xml | 24 |
3 files changed, 64 insertions, 0 deletions
diff --git a/app-text/XML-Schema-learner/Manifest b/app-text/XML-Schema-learner/Manifest new file mode 100644 index 000000000000..7350dc2001ed --- /dev/null +++ b/app-text/XML-Schema-learner/Manifest @@ -0,0 +1,3 @@ +DIST XML-Schema-learner-1.0.1.tar.gz 51057 BLAKE2B db9e5c6176484278fcc050c201f4ee3c560536fd1439cadf1f7c2be29e967ef9d84a488ec01045cc3887f527a0cbaf53649bdb4a505f11df17c5697b344a6fd3 SHA512 f357c1a99ac6a7f807538910dfe5e19b14f789046816d333cb031addfbffc0858fd5641f52dcd7304417d0cf0b6c45d1eb3f2092652c4891c09fc45dd26feb9d +EBUILD XML-Schema-learner-1.0.1.ebuild 990 BLAKE2B 5a23ea8a6271d76a86cff4494a542d12bed7542d6efea439899638ccaddf49a65549322b5816264db2100a0fefcb4b5a5ba1ba43ebef7d126413617d2beb9bfc SHA512 578bb825228e78d83617ec19bd72def2443b3c39b00da1982aec26c0cdcd19e89e1bd792c406854044394cd4f2405ce7815960a63871f611ed4fe99f9fb4c621 +MISC metadata.xml 942 BLAKE2B 99cfdc01afc572294b15a21d4a14a3e272c4e465e276d83990e01c6e03273730348265d3615da5fd3c5c1dc73e4c688d20ba161c9f4021f719357f1109f6c1c1 SHA512 48e0d860bbede84a76773ad1a77620cdee393eb0894f63461371ae7cb12a43fa0b640bb2dee17eb3eeb22fbe24899c90da704a74f70075e722e83f5d0be86bb2 diff --git a/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild new file mode 100644 index 000000000000..b4d56e1a79ba --- /dev/null +++ b/app-text/XML-Schema-learner/XML-Schema-learner-1.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 x86" +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..a1b8a8d91692 --- /dev/null +++ b/app-text/XML-Schema-learner/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <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> + <upstream> + <remote-id type="github">kore/XML-Schema-learner</remote-id> + </upstream> +</pkgmetadata> |