commit: cf3140e3abb2e453b9b1386427143512d0baeeb5 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Oct 19 06:46:02 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Oct 19 06:46:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3140e3
app-text/sgmltools-lite: Remove last-rited pkg Closes: https://bugs.gentoo.org/735244 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> app-text/sgmltools-lite/Manifest | 2 - app-text/sgmltools-lite/metadata.xml | 17 ---- .../sgmltools-lite/sgmltools-lite-3.0.3-r16.ebuild | 101 --------------------- profiles/package.mask | 1 - 4 files changed, 121 deletions(-) diff --git a/app-text/sgmltools-lite/Manifest b/app-text/sgmltools-lite/Manifest deleted file mode 100644 index a2359f4ff66..00000000000 --- a/app-text/sgmltools-lite/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -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 diff --git a/app-text/sgmltools-lite/metadata.xml b/app-text/sgmltools-lite/metadata.xml deleted file mode 100644 index ccd674f2e5f..00000000000 --- a/app-text/sgmltools-lite/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgo...@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <use> - <flag name="jadetex"> - Add support 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-r16.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r16.ebuild deleted file mode 100644 index 508be43372c..00000000000 --- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r16.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 sgml-catalog-r1 - -DESCRIPTION="Python interface to SGML software in a DocBook/OpenJade env" -HOMEPAGE="http://sgmltools-lite.sourceforge.net/" -SRC_URI=" - https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.gz - https://downloads.sourceforge.net/project/${PN}/support%20files/0.0.1-1/nw-eps-icons-0.0.1.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 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? ( dev-texlive/texlive-formatsextra ) - || ( - www-client/w3m - www-client/lynx - )" -DEPEND=${RDEPEND} - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -src_configure() { - econf \ - --datadir='${prefix}/share' \ - --mandir='${prefix}/share/man' -} - -src_install() { - # yes, it does not respect DESTDIR - emake install \ - prefix="${ED}/usr" \ - etcdir="${ED}/etc/sgml" - - dodoc ChangeLog POSTINSTALL README* - - 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 "${ED}"/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 - local b - for b in "${backends[@]}"; do - newbin - "sgml2${b}" <<-EOF - #!/bin/sh - exec sgmltools --backend=${b} "\${@}" - EOF - - dosym sgmltools-lite.1 "/usr/share/man/man1/sgml2${b}.1" - done - - insinto /etc/sgml - newins - sgml-lite.cat <<-EOF - CATALOG "${EPREFIX}/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat" - EOF - - python_fix_shebang "${D}" - python_optimize "${ED}/usr/share/sgml/misc/sgmltools/python" -} - -pkg_preinst() { - # work-around old revision removing it - cp "${ED}"/etc/sgml/sgml-lite.cat "${T}" || die -} - -pkg_postinst() { - local backup=${T}/sgml-lite.cat - local real=${EROOT}/etc/sgml/sgml-lite.cat - if ! cmp -s "${backup}" "${real}"; then - cp "${backup}" "${real}" || die - fi - sgml-catalog-r1_pkg_postinst -} diff --git a/profiles/package.mask b/profiles/package.mask index 374e861fcd4..31a7b878e4f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -384,7 +384,6 @@ sci-mathematics/axiom app-backup/genbackupdata app-i18n/pology app-text/pdf2djvu -app-text/sgmltools-lite # Michał Górny <mgo...@gentoo.org> (2020-09-09) # These packages (or package versions) still require Python 2.7.