summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-23 11:43:36 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-23 11:43:46 +0200
commit8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6 (patch)
tree8340201cb18656505a458a70fa2b78e9d7787485
parentmedia-gfx/svg2rlg: Remove last-rited pkg (diff)
downloadgentoo-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>
-rw-r--r--dev-python/rst2pdf/Manifest1
-rw-r--r--dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch26
-rw-r--r--dev-python/rst2pdf/metadata.xml9
-rw-r--r--dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild47
-rw-r--r--profiles/package.mask6
5 files changed, 0 insertions, 89 deletions
diff --git a/dev-python/rst2pdf/Manifest b/dev-python/rst2pdf/Manifest
deleted file mode 100644
index f3a1da36d68..00000000000
--- 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 52acf04171d..00000000000
--- 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 3673286b4be..00000000000
--- 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 4316b719167..00000000000
--- 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
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index f1accbeae63..1aa54474550 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -504,12 +504,6 @@ dev-python/flask-bootstrap
# Removal in 30 days. Bug #708168.
media-video/griffith
-# Michał Górny <mgorny@gentoo.org> (2020-04-20)
-# Unmaintained. Stuck on Python 2. rst2pdf depends on dev-python/pdfrw
-# that is dead and broken with py3.7+. svg2rlg is only used by pdfrw.
-# Removal in 30 days. Bug #718572.
-dev-python/rst2pdf
-
# Michael Orlitzky <mjo@gentoo.org> (2020-04-19)
# Stuck on Python 3.6, support for which already required
# backporting patches to a release from 2014. Upstream's git