Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/rst2pdf/files/, dev-python/rst2pdf/
Date: Sat, 23 May 2020 09:46:06
Message-Id: 1590227026.8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6.mgorny@gentoo
1 commit: 8a9bc6d7776ebeb5f8fbd14ccfce63bb8e75dcf6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 09:43:36 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 09:43:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9bc6d7
7
8 dev-python/rst2pdf: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/718572
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/rst2pdf/Manifest | 1 -
14 .../rst2pdf/files/rst2pdf-0.93-fix-logging.patch | 26 ------------
15 dev-python/rst2pdf/metadata.xml | 9 -----
16 dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild | 47 ----------------------
17 profiles/package.mask | 6 ---
18 5 files changed, 89 deletions(-)
19
20 diff --git a/dev-python/rst2pdf/Manifest b/dev-python/rst2pdf/Manifest
21 deleted file mode 100644
22 index f3a1da36d68..00000000000
23 --- a/dev-python/rst2pdf/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST rst2pdf-0.93.tar.gz 1216483 BLAKE2B 478b5e704a2c8a85474e728472807909f70e24ade78f2aba986308919e6716c4b0d576556b3509a358f36be03508f837e3b680a16b8c01e2ee51e522931d9237 SHA512 dfdc6adeb06f4ef3d5fc52b91be1939e9cab25a1979685512f9a05e3da1ee65b84e47478613148401175a06fbfdccf5494918de6281419a0981987d398e836ee
27
28 diff --git a/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch b/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch
29 deleted file mode 100644
30 index 52acf04171d..00000000000
31 --- a/dev-python/rst2pdf/files/rst2pdf-0.93-fix-logging.patch
32 +++ /dev/null
33 @@ -1,26 +0,0 @@
34 ---- rst2pdf/log.py
35 -+++ rst2pdf/log.py
36 -@@ -4,11 +4,12 @@
37 - import logging
38 - import sys
39 -
40 --logging.basicConfig(
41 -- format='[%(levelname)s] %(filename)s:%(lineno)d %(message)s',
42 -- level=logging.WARNING)
43 --
44 - log = logging.getLogger('rst2pdf')
45 -+_fmt = logging.Formatter('[%(levelname)s] %(filename)s:%(lineno)d %(message)s')
46 -+_hdlr = logging.StreamHandler()
47 -+_hdlr.setFormatter(_fmt)
48 -+log.addHandler(_hdlr)
49 -+log.setLevel(logging.WARNING)
50 -
51 - def nodeid(node):
52 - """Given a node, tries to return a way to see where it was in the
53 -@@ -23,4 +24,4 @@
54 - if node.source: fname=str(node.source)
55 - except:
56 - pass
57 -- return 'near line %s in file %s'%(line,fname)
58 -\ No newline at end of file
59 -+ return 'near line %s in file %s'%(line,fname)
60
61 diff --git a/dev-python/rst2pdf/metadata.xml b/dev-python/rst2pdf/metadata.xml
62 deleted file mode 100644
63 index 3673286b4be..00000000000
64 --- a/dev-python/rst2pdf/metadata.xml
65 +++ /dev/null
66 @@ -1,9 +0,0 @@
67 -<?xml version='1.0' encoding='UTF-8'?>
68 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
69 -<pkgmetadata>
70 - <!-- maintainer-needed -->
71 - <upstream>
72 - <remote-id type="google-code">rst2pdf</remote-id>
73 - <remote-id type="github">rst2pdf/rst2pdf</remote-id>
74 - </upstream>
75 -</pkgmetadata>
76
77 diff --git a/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild b/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild
78 deleted file mode 100644
79 index 4316b719167..00000000000
80 --- a/dev-python/rst2pdf/rst2pdf-0.93-r3.ebuild
81 +++ /dev/null
82 @@ -1,47 +0,0 @@
83 -# Copyright 1999-2020 Gentoo Authors
84 -# Distributed under the terms of the GNU General Public License v2
85 -
86 -EAPI=5
87 -
88 -PYTHON_COMPAT=( python2_7 )
89 -
90 -inherit distutils-r1
91 -
92 -DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab"
93 -HOMEPAGE="http://rst2pdf.ralsina.me/ https://pypi.org/project/rst2pdf/"
94 -SRC_URI="https://github.com/rst2pdf/rst2pdf/archive/${PV}.tar.gz -> ${P}.tar.gz"
95 -
96 -LICENSE="MIT"
97 -SLOT="0"
98 -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86"
99 -IUSE="svg"
100 -
101 -DEPEND="dev-python/docutils[${PYTHON_USEDEP}]
102 - dev-python/pillow[${PYTHON_USEDEP}]
103 - dev-python/pdfrw[${PYTHON_USEDEP}]
104 - dev-python/pygments[${PYTHON_USEDEP}]
105 - >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
106 - dev-python/setuptools[${PYTHON_USEDEP}]
107 - svg? ( media-gfx/svg2rlg )"
108 -RDEPEND="${DEPEND}"
109 -# >=reportlab-2.6: https://code.google.com/p/rst2pdf/issues/detail?id=474
110 -
111 -PATCHES=( "${FILESDIR}/${P}-fix-logging.patch" )
112 -
113 -python_install_all() {
114 - dodoc doc/*.pdf
115 - doman doc/rst2pdf.1
116 - distutils-r1_python_install_all
117 -}
118 -
119 -pkg_postinst() {
120 - if [[ -z ${REPLACING_VERSIONS} ]]; then
121 - elog "rst2pdf can work with the following packages for additional functionality:"
122 - elog " dev-python/sphinx - versatile documentation creation"
123 - elog " dev-python/pythonmagick - image processing with ImageMagick"
124 - elog " dev-python/matplotlib - mathematical formulae"
125 - elog "It can also use wordaxe for hyphenation, but this package is not"
126 - elog "available in the portage tree yet. Please refer to the manual"
127 - elog "installed in /usr/share/doc/${PF}/ for more information."
128 - fi
129 -}
130
131 diff --git a/profiles/package.mask b/profiles/package.mask
132 index f1accbeae63..1aa54474550 100644
133 --- a/profiles/package.mask
134 +++ b/profiles/package.mask
135 @@ -504,12 +504,6 @@ dev-python/flask-bootstrap
136 # Removal in 30 days. Bug #708168.
137 media-video/griffith
138
139 -# Michał Górny <mgorny@g.o> (2020-04-20)
140 -# Unmaintained. Stuck on Python 2. rst2pdf depends on dev-python/pdfrw
141 -# that is dead and broken with py3.7+. svg2rlg is only used by pdfrw.
142 -# Removal in 30 days. Bug #718572.
143 -dev-python/rst2pdf
144 -
145 # Michael Orlitzky <mjo@g.o> (2020-04-19)
146 # Stuck on Python 3.6, support for which already required
147 # backporting patches to a release from 2014. Upstream's git