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/sgmltools-lite | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r-- | app-text/sgmltools-lite/Manifest | 4 | ||||
-rw-r--r-- | app-text/sgmltools-lite/metadata.xml | 14 | ||||
-rw-r--r-- | app-text/sgmltools-lite/sgmltools-lite-3.0.3-r14.ebuild | 92 |
3 files changed, 110 insertions, 0 deletions
diff --git a/app-text/sgmltools-lite/Manifest b/app-text/sgmltools-lite/Manifest new file mode 100644 index 000000000000..f82107d6af3d --- /dev/null +++ b/app-text/sgmltools-lite/Manifest @@ -0,0 +1,4 @@ +DIST nw-eps-icons-0.0.1.tar.gz 8733 BLAKE2B 467fa3f341c1d6ea20af059cfa88529a0b3bc729cefac72d5b3c264d3a224e8bfb05a89b5f491a22aaf4c194b72cd27ac103a381adb671d9867ef8fceb41f030 SHA512 597062e9882bb9bb73144bbdb056c3ccc2a6d99efc7da836f483ccd6f3799705bcbb897099cb1a580c8e22d936d281d95c3a875694f8e15b6989faf437f6cc7a +DIST sgmltools-lite-3.0.3.tar.gz 61342 BLAKE2B 8fcac5b48fcdbb8fbbfdbf8ad055ab00cb3fb6a8447a27bf5b14faef968845554a86f04b4984c1ccc1e26d9c64dc5654d5831896bbc44bd3dee0ef3fc28109e5 SHA512 36709ba726859b734a7402c533ba7d2abc0546007bc97dba76ac824bc42f6f8ac7ef263b3740d0be51749cbc0982d010ba938646fca2006fa2c5094a296b3c81 +EBUILD sgmltools-lite-3.0.3-r14.ebuild 2205 BLAKE2B 030bdf9b6258b0768b3098c17d4cc820110cfff79ce9a2d6becf6d1c28c18977d2cbceb083cec512cb64380bd5cf8ef012a773357d328a08f4cef607229fd237 SHA512 f1cf3035547d1626ace249218a75399e7ad9374f60de3203003393418324628dce27f28cd608f4a4c310306d36043a6856db273307c8ec5a9a3642307e1cb351 +MISC metadata.xml 413 BLAKE2B b4a1d8afb18583b1b8a16bcfb3f29f547a233ba6742ec4998a101f0e97344554f7e404f51673a646f9200bbda586df213dc33fd21fa3120f4fc4394c9174bcb2 SHA512 e5b3ccaf5308d1509e4921035d83396d3357e4845798689ff03fbe4898d7b02da344e5ab21847d84c99f40371ab4c9ac04b57d7d060fc62c59a800e22e71611a diff --git a/app-text/sgmltools-lite/metadata.xml b/app-text/sgmltools-lite/metadata.xml new file mode 100644 index 000000000000..465570abcce8 --- /dev/null +++ b/app-text/sgmltools-lite/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <use> + <flag name="jadetex"> + Add support for <pkg>app-text/jadetex</pkg> (for processing + tex files produced by the TeX backend of Jade) + </flag> + </use> + <upstream> + <remote-id type="sourceforge">sgmltools-lite</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r14.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r14.ebuild new file mode 100644 index 000000000000..533ea51065bf --- /dev/null +++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r14.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 sgml-catalog + +DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env" +HOMEPAGE="http://sgmltools-lite.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/sgmltools-lite/${P}.tar.gz + mirror://sourceforge/sgmltools-lite/nw-eps-icons-0.0.1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" +IUSE="jadetex" + +RDEPEND="${PYTHON_DEPS} + app-text/sgml-common + app-text/docbook-sgml-dtd:3.1 + app-text/docbook-dsssl-stylesheets + app-text/openjade + jadetex? ( app-text/jadetex ) + || ( + www-client/w3m + www-client/lynx + )" +DEPEND=${RDEPEND} + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \ + "/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" + +src_prepare() { + ecvs_clean +} + +src_compile() { + default +} + +src_install() { + einstall etcdir="${D}"/etc/sgml + + dodoc ChangeLog POSTINSTALL README* + dohtml -r . + + insinto /usr/share/sgml/docbook/dsssl-stylesheets/ + doins -r "${WORKDIR}"/nw-eps-icons-0.0.1/images + + rm "${ED}"/etc/sgml/catalog.{suse,rh62} || die + + # Remove file provided by sgml-common + rm "${ED}"/usr/bin/sgmlwhich || die + + # List of backends to alias with sgml2* + # Do not provide sgml2{txt,rtf,html} anymore, they are part of + # linuxdoc-tools + local BACKENDS="" + if use jadetex; then + BACKENDS="ps dvi pdf" + else + # Remove the backends that require jadetex + rm "${D}"/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py || die + fi + + # Create simple alias scripts that people are used to + # And make the manpages for those link to the sgmltools-lite manpage + mandir="${D}"/usr/share/man/man1 + ScripTEXT="#!/bin/sh\n/usr/bin/sgmltools --backend=" + for back in ${BACKENDS}; do + echo -e ${ScripTEXT}${back} '$*' > sgml2${back} + dobin sgml2${back} + + ln -sf sgmltools-lite.1 "${mandir}/sgml2${back}.1" || die + done + + python_fix_shebang "${D}" + python_optimize "${ED%/}/usr/share/sgml/misc/sgmltools/python" +} + +pkg_postinst() { + sgml-catalog_pkg_postinst +} + +pkg_postrm() { + sgml-catalog_pkg_postrm +} |