diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-25 12:05:36 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-25 12:05:36 +0000 |
commit | 2c916852fff54c891a44107e5f43470b71278e2c (patch) | |
tree | ba2700fde13c52726c3d98eb12af2db949297b11 /app-text | |
parent | Stable for ia64, wrt bug #491270 (diff) | |
download | historical-2c916852fff54c891a44107e5f43470b71278e2c.tar.gz historical-2c916852fff54c891a44107e5f43470b71278e2c.tar.bz2 historical-2c916852fff54c891a44107e5f43470b71278e2c.zip |
Convert to python-single-r1.
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/sgmltools-lite/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/sgmltools-lite/Manifest | 23 | ||||
-rw-r--r-- | app-text/sgmltools-lite/sgmltools-lite-3.0.3-r12.ebuild | 101 |
3 files changed, 127 insertions, 7 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog index d95483ece71d..d8a586f084e9 100644 --- a/app-text/sgmltools-lite/ChangeLog +++ b/app-text/sgmltools-lite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/sgmltools-lite -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.62 2013/07/21 10:09:50 pacho Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.63 2014/12/25 12:05:34 mgorny Exp $ + +*sgmltools-lite-3.0.3-r12 (25 Dec 2014) + + 25 Dec 2014; Michał Górny <mgorny@gentoo.org> + +sgmltools-lite-3.0.3-r12.ebuild: + Convert to python-single-r1. 21 Jul 2013; Pacho Ramos <pacho@gentoo.org> -sgmltools-lite-3.0.3-r10.ebuild, metadata.xml: diff --git a/app-text/sgmltools-lite/Manifest b/app-text/sgmltools-lite/Manifest index bd8088e027ce..a7528159ca5b 100644 --- a/app-text/sgmltools-lite/Manifest +++ b/app-text/sgmltools-lite/Manifest @@ -4,12 +4,25 @@ Hash: SHA256 DIST nw-eps-icons-0.0.1.tar.gz 8733 SHA256 15295129f1ddd3bc1d09775296bf0aacef722799394189b0755acb3d1725c012 SHA512 597062e9882bb9bb73144bbdb056c3ccc2a6d99efc7da836f483ccd6f3799705bcbb897099cb1a580c8e22d936d281d95c3a875694f8e15b6989faf437f6cc7a WHIRLPOOL 8aba320641c652e38ad4e87a48ac5f5454ded681ec1d9fc4a2430e272e3a6b9d6f230c4ede9e02d8df2f4f711bee33b2e7929f96871a685d17aa52a5ef3cdbf5 DIST sgmltools-lite-3.0.3.tar.gz 61342 SHA256 eb9d2270f9ac5f17b8bd2d27f53ae700937365079413843fe5089c9568d0f1d8 SHA512 36709ba726859b734a7402c533ba7d2abc0546007bc97dba76ac824bc42f6f8ac7ef263b3740d0be51749cbc0982d010ba938646fca2006fa2c5094a296b3c81 WHIRLPOOL 46a94114a04c54a19f1d6a37a35bfb30804b1fde8defc931b9464980600b2707ca9ea970632d5d793dee1bbd0a388ef3e64a8be2806093e33dca4eb7bfd4c7d3 EBUILD sgmltools-lite-3.0.3-r11.ebuild 2551 SHA256 493051b4614c76ab8f2319c1f4c3e9c265fef56c55c9c63732e92d82f762242b SHA512 5856ff3acc42037e757008a701057fe157553d2e368438936b1df596ef9259b4fb8bf1c8a175eb1d8cc0548c175276e3cbd830ef6bd42b39f1340d4b79853c1a WHIRLPOOL e0baff81c22ea145151528e1c84209da864c3633aadf2ead62afd4c0f0c63c4a14ae30cbbc3fe51487f8223f5b11803f0a074ff23e0899b94c46d639f0927e23 -MISC ChangeLog 10123 SHA256 ff2fe7257da699ea075cb09976d5553e4477a8475b1d84de2c62adb9beaf2091 SHA512 0be72dbb48a420b9475af9062572a50b5823564ebbf6bb7304d881aa9255bfb05d26256852b384e463925d2da2495a33798cd6840fe761f5ecd597220c683a68 WHIRLPOOL 4fba05488c81b92c13411bf51c09d2c38f22d23d43b94fc3aae86f5cb40161f7c4fe98080ab1bd6f7e26b81bae0ef32cfc5f77c5ea4dee37c840a0630c866e9d +EBUILD sgmltools-lite-3.0.3-r12.ebuild 2609 SHA256 1d672185fd83416ba1262c4106d645972c041f61052fa7723cc33b97303f4217 SHA512 936e5eba409d704d0e4cd33e9e4d5d7071dacd00baa93a9d9982691a25a44241081286579a724e72c46fc5a96032deda0fb5ca0465ce190fb5ca96bf52b2c935 WHIRLPOOL e0c65adb80e5c0abba68376a5107deff459d574b282c0101a48102203fc2c750044936e864999ad275f14e7b880c1cf2cdb996c96a764b20eb4ce695cb728bb0 +MISC ChangeLog 10283 SHA256 d13e98f0350fab5d2739dcf6f8fa9f41f8639bb7f7512751651ce3e2f4eb3c16 SHA512 581caa3d28c54d71795af3a7f9bb3b1c11066c9c63374c73fe55d2b7c15fc8836274134a2ecce780e04f9c10f469d76e4bde41436d1cb5f3a5c50a6e81baa0fe WHIRLPOOL 8bc17bc92807d1e4446bd1c028e22660c78d777abe2728159a7816c757a8e5558253e39cab5ac3e64fc994945f4e59038519dffacce4db76b9c5a13f3769a983 MISC metadata.xml 372 SHA256 bc533cac542ec9044e407ebf6c0263834b7c77c341f50797e8fac0642591dd15 SHA512 8e0fd6a82de62a42176097127e0bd4db154b866ecdf6f3aa093465d55577865d94eef8f2f183292ef9e27871a6fa4caedc3e652029ae1088f7ed90a5b7f63c60 WHIRLPOOL e0c9bf69cc8308691d57964378bd577be94ac8dc0c025dff6e5be7b19945614a58d4dc0aa15090dc823793ab2f0313c53f357c24f439ac134acbfbe98221b914 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2 -iEYEAREIAAYFAlHrs3AACgkQCaWpQKGI+9RYxACeOLfjPP2m4y1RubM6ewoiSLvg -0cQAnjzXVhBpswNyNqus2pt7kDNPC3Ul -=V+9a +iQJ8BAEBCABmBQJUm/2PXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOmwIQAJhbh60GbMGejSTjGUYAZIq/ +8lR1px+iBdMasokoz22ZPDTwpTZw3sSA/v7cU2vxXhiUcUj5LUNP5XsHFuVLARgL +maHMpcbmgwndk4hAMlZfwX51YQdCT8dT0n2roi3M3GpNTNDM2rsiXOvMR2sBnHkz +IIZXWaUM3OCIaGkemditUMI22J4sMhvUPx62+XTNxh88TT/VQCq1NGdD7RfJGZ+o +Vdb0RmNguk063FPm6B4A/xrLR/vpxTM2lJXLA5Dysl9ZdbGp8mwBXuVcokYYAtIG +F9AcLArrRhS+WSZc8HiT4B+W8Zzfq6ZmEp6ge0t3LekW7mWIP05rAN7HoFqFqtao +bL87dnd8DcZpVJKIdNiWe+JYb+2l4y6ltg4K3PT66mORGZfPbmyP00jrz7aODm/6 +nTz5i++rg+xbJL+GMZkc6ayNcOqi+fu6eU+nEzcFOT2QSVpFSC9jChNc8DVTQ9xW +x7Zr8rJLYOsruqhmoylNvh0Mc9FfQHUNj2UxY+fUykTqw/z18UrwmVjm9T5sNdHx +WROPocWqxu8xGiS/iqMzGAW5aY8wkDcisNg8VoMz3fnBaG+RO7E2jL/84v1wo4K1 +HdU4IvMytiJ2NToq4aFRCJ30y16E/yEV37fwlppzlNUiIFpYw3ZpVee6zrEpqD67 +HO9t/FploMNCETIeVW0B +=lMNq -----END PGP SIGNATURE----- diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r12.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r12.ebuild new file mode 100644 index 000000000000..601c72479979 --- /dev/null +++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r12.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r12.ebuild,v 1.1 2014/12/25 12:05:34 mgorny Exp $ + +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() { + # Remove CVS directories from the tree + find . -name CVS -exec rm -rf {} + || die +} + +src_compile() { + default +} + +src_install() { + einstall etcdir="${D}"/etc/sgml || die + + dodoc ChangeLog POSTINSTALL README* + dohtml -r . + + cd "${WORKDIR}"/nw-eps-icons-0.0.1/images + insinto /usr/share/sgml/docbook/dsssl-stylesheets/images + doins *.eps + + cd callouts + insinto /usr/share/sgml/docbook/dsssl-stylesheets/images/callouts + doins *.eps + + rm "${D}"/etc/sgml/catalog.{suse,rh62} + + # Remove file provided by sgml-common + rm "${D}"/usr/bin/sgmlwhich + + # Remove the backends that require jadetex + use jadetex || \ + rm "${D}"/usr/share/sgml/misc/sgmltools/python/backends/{Dvi,Ps,Pdf,JadeTeX}.py + + # List of backends to alias with sgml2* + # Do not provide sgml2{txt,rtf,html} anymore, they are part of + # linuxdoc-tools + local BACKENDS="" + use jadetex && BACKENDS="ps dvi pdf" + + # 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} + exeinto /usr/bin + doexe sgml2${back} + + cd ${mandir} || die + ln -sf sgmltools-lite.1.gz sgml2${back}.1.gz || die + cd "${S}" || die + done + + python_fix_shebang "${D}" +} + +pkg_postinst() { + python_mod_optimize /usr/share/sgml/misc/sgmltools/python + sgml-catalog_pkg_postinst +} + +pkg_postrm() { + python_mod_cleanup /usr/share/sgml/misc/sgmltools/python + sgml-catalog_pkg_postrm +} |