dev-python/rst2pdf: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Sat, 23 May 2020 09:43:36 +0000 (11:43 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 23 May 2020 09:43:46 +0000 (11:43 +0200)
Closes: https://bugs.gentoo.org/718572
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/rst2pdf/Manifest [deleted file]
dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch [deleted file]
dev-python/rst2pdf/metadata.xml [deleted file]
dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild [deleted file]
profiles/package.mask

diff --git a/dev-python/rst2pdf/Manifest b/dev-python/rst2pdf/Manifest
deleted file mode 100644 (file)
index f3a1da3..0000000
+++ /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 (file)
index 52acf04..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
---- rst2pdf/log.py
-+++ rst2pdf/log.py
-@@ -4,11 +4,12 @@
- import logging\r
- import sys\r
\r
--logging.basicConfig(\r
--    format='[%(levelname)s] %(filename)s:%(lineno)d %(message)s',\r
--    level=logging.WARNING)\r
--\r
- log = logging.getLogger('rst2pdf')\r
-+_fmt = logging.Formatter('[%(levelname)s] %(filename)s:%(lineno)d %(message)s')\r
-+_hdlr = logging.StreamHandler()\r
-+_hdlr.setFormatter(_fmt)\r
-+log.addHandler(_hdlr)\r
-+log.setLevel(logging.WARNING)\r
\r
- def nodeid(node):\r
-     """Given a node, tries to return a way to see where it was in the \r
-@@ -23,4 +24,4 @@
-         if node.source: fname=str(node.source)\r
-     except:\r
-         pass\r
--    return 'near line %s in file %s'%(line,fname)
-\ No newline at end of file
-+    return 'near line %s in file %s'%(line,fname)\r
diff --git a/dev-python/rst2pdf/metadata.xml b/dev-python/rst2pdf/metadata.xml
deleted file mode 100644 (file)
index 3673286..0000000
+++ /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 (file)
index 4316b71..0000000
+++ /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
-}
index f1accbeae6372a475a36bb5741d72a2c5b2c41b2..1aa544745500d350812dbc915825b6ca927c54ff 100644 (file)
@@ -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