diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-12-13 11:35:18 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-12-13 11:35:18 +0000 |
commit | d461a0a79a64f9f2f360ed81c300030958065781 (patch) | |
tree | 9622f96296c0e7c53e6bfc04e3c7b021e6d9a354 /dev-python/rst2pdf | |
parent | Converted to distutils-r1, added required IUSE test as well as test phase, rm... (diff) | |
download | gentoo-2-d461a0a79a64f9f2f360ed81c300030958065781.tar.gz gentoo-2-d461a0a79a64f9f2f360ed81c300030958065781.tar.bz2 gentoo-2-d461a0a79a64f9f2f360ed81c300030958065781.zip |
Drop old
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-python/rst2pdf')
-rw-r--r-- | dev-python/rst2pdf/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/rst2pdf/files/rst2pdf-0.16_docutils-0.8.patch | 52 | ||||
-rw-r--r-- | dev-python/rst2pdf/rst2pdf-0.92.ebuild | 40 | ||||
-rw-r--r-- | dev-python/rst2pdf/rst2pdf-0.93-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-python/rst2pdf/rst2pdf-0.93.ebuild | 40 |
5 files changed, 6 insertions, 176 deletions
diff --git a/dev-python/rst2pdf/ChangeLog b/dev-python/rst2pdf/ChangeLog index 68e434e75b20..09e6ae17fef2 100644 --- a/dev-python/rst2pdf/ChangeLog +++ b/dev-python/rst2pdf/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/rst2pdf # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/ChangeLog,v 1.36 2014/10/14 14:58:17 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/ChangeLog,v 1.37 2014/12/13 11:35:18 pacho Exp $ + + 13 Dec 2014; Pacho Ramos <pacho@gentoo.org> + -files/rst2pdf-0.16_docutils-0.8.patch, -rst2pdf-0.92.ebuild, + -rst2pdf-0.93-r1.ebuild, -rst2pdf-0.93.ebuild: + Drop old 14 Oct 2014; Tobias Klausmann <klausman@gentoo.org> rst2pdf-0.93-r2.ebuild: Keyworded on alpha, bug 515222 diff --git a/dev-python/rst2pdf/files/rst2pdf-0.16_docutils-0.8.patch b/dev-python/rst2pdf/files/rst2pdf-0.16_docutils-0.8.patch deleted file mode 100644 index a7cc081ff8fa..000000000000 --- a/dev-python/rst2pdf/files/rst2pdf-0.16_docutils-0.8.patch +++ /dev/null @@ -1,52 +0,0 @@ -Index: rst2pdf/createpdf.py -=================================================================== ---- rst2pdf/createpdf.py (revision 2441) -+++ rst2pdf/createpdf.py (working copy) -@@ -56,6 +56,7 @@ - from optparse import OptionParser - import logging - -+import docutils - from docutils.languages import get_language - import docutils.readers.doctree - import docutils.core -@@ -97,6 +98,12 @@ - escape=tenjin.helpers.escape - templateEngine=tenjin.Engine() - -+# fix get_language for docutils>=0.8 -+if docutils.__version__ >= '0.8': -+ orig_func = get_language -+ def get_language(arg1): -+ return orig_func(arg1, None) -+ - def renderTemplate(tname, **context): - context['to_str']=to_str - context['escape']=escape -Index: rst2pdf/pdfbuilder.py -=================================================================== ---- rst2pdf/pdfbuilder.py (revision 2441) -+++ rst2pdf/pdfbuilder.py (working copy) -@@ -27,6 +27,7 @@ - from rst2pdf import pygments_code_block_directive, oddeven_directive - from pygments.lexers import get_lexer_by_name, guess_lexer - -+import docutils - from docutils import writers - from docutils import nodes - from docutils import languages -@@ -56,7 +57,14 @@ - - from traceback import print_exc - -+# fix get_language for docutils>=0.8 -+if docutils.__version__ >= '0.8': -+ orig_func = get_language -+ def get_language(arg1): -+ return orig_func(arg1, None) -+ languages.get_language = get_language - -+ - class PDFBuilder(Builder): - name = 'pdf' - out_suffix = '.pdf' diff --git a/dev-python/rst2pdf/rst2pdf-0.92.ebuild b/dev-python/rst2pdf/rst2pdf-0.92.ebuild deleted file mode 100644 index 64096072534e..000000000000 --- a/dev-python/rst2pdf/rst2pdf-0.92.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/rst2pdf-0.92.ebuild,v 1.5 2013/11/15 12:28:50 yac Exp $ - -EAPI="4" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils - -DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab" -HOMEPAGE="http://rst2pdf.ralsina.com.ar/ http://pypi.python.org/pypi/rst2pdf" -SRC_URI="http://rst2pdf.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-python/docutils - virtual/python-imaging - dev-python/pygments - <dev-python/reportlab-2.6" -RDEPEND="${DEPEND}" - -DOCS="Contributors.txt CHANGES.txt README.txt doc/*" - -pkg_postinst() { - distutils_pkg_postinst - - elog "rst2pdf can work with the following packages for additional functionality:" - elog " dev-python/sphinx - versatile documentation creation" - elog " dev-python/pythonmagick - image processing with ImageMagick" - elog " dev-python/matplotlib - mathematical formulae" - elog " media-gfx/uniconvertor - vector image format conversion" - elog "It can also use wordaxe for hyphenation, but this package is not" - elog "available in the portage tree yet. Please refer to the manual" - elog "installed in /usr/share/doc/${PF}/ for more information." -} diff --git a/dev-python/rst2pdf/rst2pdf-0.93-r1.ebuild b/dev-python/rst2pdf/rst2pdf-0.93-r1.ebuild deleted file mode 100644 index 8e84b5235dd4..000000000000 --- a/dev-python/rst2pdf/rst2pdf-0.93-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/rst2pdf-0.93-r1.ebuild,v 1.5 2013/09/05 18:46:39 mgorny Exp $ - -EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) - -inherit distutils-r1 - -DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab" -HOMEPAGE="http://rst2pdf.ralsina.com.ar/ http://pypi.python.org/pypi/rst2pdf" -SRC_URI="http://rst2pdf.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="svg" - -DEPEND="dev-python/docutils[${PYTHON_USEDEP}] - virtual/python-imaging[${PYTHON_USEDEP}] - dev-python/pdfrw[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/reportlab-2.6[${PYTHON_USEDEP}] - svg? ( media-gfx/svg2rlg )" -RDEPEND="${DEPEND}" -# >=reportlab-2.6: https://code.google.com/p/rst2pdf/issues/detail?id=474 - -python_install_all() { - dodoc doc/*.pdf - doman doc/rst2pdf.1 -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "rst2pdf can work with the following packages for additional functionality:" - elog " dev-python/sphinx - versatile documentation creation" - elog " dev-python/pythonmagick - image processing with ImageMagick" - elog " dev-python/matplotlib - mathematical formulae" - elog "It can also use wordaxe for hyphenation, but this package is not" - elog "available in the portage tree yet. Please refer to the manual" - elog "installed in /usr/share/doc/${PF}/ for more information." - fi -} diff --git a/dev-python/rst2pdf/rst2pdf-0.93.ebuild b/dev-python/rst2pdf/rst2pdf-0.93.ebuild deleted file mode 100644 index 17009d1409bf..000000000000 --- a/dev-python/rst2pdf/rst2pdf-0.93.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/rst2pdf-0.93.ebuild,v 1.2 2013/06/09 17:29:44 floppym Exp $ - -EAPI="4" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils - -DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab" -HOMEPAGE="http://rst2pdf.ralsina.com.ar/ http://pypi.python.org/pypi/rst2pdf" -SRC_URI="http://rst2pdf.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/docutils - virtual/python-imaging - dev-python/pygments - >=dev-python/reportlab-2.4" -RDEPEND="${DEPEND}" - -DOCS="Contributors.txt CHANGES.txt README.txt doc/*" - -pkg_postinst() { - distutils_pkg_postinst - - elog "rst2pdf can work with the following packages for additional functionality:" - elog " dev-python/sphinx - versatile documentation creation" - elog " dev-python/pythonmagick - image processing with ImageMagick" - elog " dev-python/matplotlib - mathematical formulae" - elog " media-gfx/uniconvertor - vector image format conversion" - elog "It can also use wordaxe for hyphenation, but this package is not" - elog "available in the portage tree yet. Please refer to the manual" - elog "installed in /usr/share/doc/${PF}/ for more information." -} |