diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-23 11:43:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-23 11:43:46 +0200 |
commit | 8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6 (patch) | |
tree | 8340201cb18656505a458a70fa2b78e9d7787485 /dev-python | |
parent | media-gfx/svg2rlg: Remove last-rited pkg (diff) | |
download | gentoo-8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6.tar.gz gentoo-8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6.tar.bz2 gentoo-8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6.zip |
dev-python/rst2pdf: Remove last-rited pkg
Closes: https://bugs.gentoo.org/718572
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/rst2pdf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch | 26 | ||||
-rw-r--r-- | dev-python/rst2pdf/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild | 47 |
4 files changed, 0 insertions, 83 deletions
diff --git a/dev-python/rst2pdf/Manifest b/dev-python/rst2pdf/Manifest deleted file mode 100644 index f3a1da36d682..000000000000 --- a/dev-python/rst2pdf/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST rst2pdf-0.93.tar.gz 1216483 BLAKE2B 478b5e704a2c8a85474e728472807909f70e24ade78f2aba986308919e6716c4b0d576556b3509a358f36be03508f837e3b680a16b8c01e2ee51e522931d9237 SHA512 dfdc6adeb06f4ef3d5fc52b91be1939e9cab25a1979685512f9a05e3da1ee65b84e47478613148401175a06fbfdccf5494918de6281419a0981987d398e836ee diff --git a/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch b/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch deleted file mode 100644 index 52acf04171d8..000000000000 --- a/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- rst2pdf/log.py -+++ rst2pdf/log.py -@@ -4,11 +4,12 @@ - import logging
- import sys
-
--logging.basicConfig(
-- format='[%(levelname)s] %(filename)s:%(lineno)d %(message)s',
-- level=logging.WARNING)
--
- log = logging.getLogger('rst2pdf')
-+_fmt = logging.Formatter('[%(levelname)s] %(filename)s:%(lineno)d %(message)s')
-+_hdlr = logging.StreamHandler()
-+_hdlr.setFormatter(_fmt)
-+log.addHandler(_hdlr)
-+log.setLevel(logging.WARNING)
-
- def nodeid(node):
- """Given a node, tries to return a way to see where it was in the
-@@ -23,4 +24,4 @@ - if node.source: fname=str(node.source)
- except:
- pass
-- return 'near line %s in file %s'%(line,fname) -\ No newline at end of file -+ return 'near line %s in file %s'%(line,fname)
diff --git a/dev-python/rst2pdf/metadata.xml b/dev-python/rst2pdf/metadata.xml deleted file mode 100644 index 3673286b4be4..000000000000 --- a/dev-python/rst2pdf/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="google-code">rst2pdf</remote-id> - <remote-id type="github">rst2pdf/rst2pdf</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild b/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild deleted file mode 100644 index 4316b719167d..000000000000 --- a/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab" -HOMEPAGE="http://rst2pdf.ralsina.me/ https://pypi.org/project/rst2pdf/" -SRC_URI="https://github.com/rst2pdf/rst2pdf/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86" -IUSE="svg" - -DEPEND="dev-python/docutils[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pdfrw[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/reportlab-2.6[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - svg? ( media-gfx/svg2rlg )" -RDEPEND="${DEPEND}" -# >=reportlab-2.6: https://code.google.com/p/rst2pdf/issues/detail?id=474 - -PATCHES=( "${FILESDIR}/${P}-fix-logging.patch" ) - -python_install_all() { - dodoc doc/*.pdf - doman doc/rst2pdf.1 - distutils-r1_python_install_all -} - -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 -} |