commit:     870019d3f18f1b0157e506c65c478f8b808be0dc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 23 09:43:24 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 23 09:43:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870019d3

media-gfx/svg2rlg: Remove last-rited pkg

Closes: https://bugs.gentoo.org/718572
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-gfx/svg2rlg/Manifest                    |  1 -
 media-gfx/svg2rlg/files/svg2rlg-issue-3.patch | 19 -----------
 media-gfx/svg2rlg/files/svg2rlg-issue-6.patch | 47 ---------------------------
 media-gfx/svg2rlg/files/svg2rlg-issue-7.patch | 16 ---------
 media-gfx/svg2rlg/metadata.xml                | 11 -------
 media-gfx/svg2rlg/svg2rlg-0.3.ebuild          | 37 ---------------------
 profiles/package.mask                         |  1 -
 7 files changed, 132 deletions(-)

diff --git a/media-gfx/svg2rlg/Manifest b/media-gfx/svg2rlg/Manifest
deleted file mode 100644
index 6bdc5c97fd5..00000000000
--- a/media-gfx/svg2rlg/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST svg2rlg-0.3.tar.gz 490908 BLAKE2B 
a3383326d1d503965f93ff3b7b9f144835d5c7ba1613b0bf215ce31cc968eee76c826a170f62a5c4f173c8326dbe4a9f47a9f6f1a1345d2ed9ffd5350077e2e9
 SHA512 
44efebe7d978a46ab26b4bc332ad08db9236a86b160d73fc1fdc2b54c44bb2604147ae458eea1fe81c579c7f94e39869459567a6b6b3a551d6db6132816c4723

diff --git a/media-gfx/svg2rlg/files/svg2rlg-issue-3.patch 
b/media-gfx/svg2rlg/files/svg2rlg-issue-3.patch
deleted file mode 100644
index df70bf345aa..00000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-3.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit e5aa6784a10717641bc5b6d9d77a5029f815654a
-Author: yac <[email protected]>
-Date:   Wed May 8 04:59:17 2013 +0200
-
-    fix #3
-    
-    remove windows only function which is useless anyway
-
-diff --git a/svg2rlg.py b/svg2rlg.py
-index 1c5f80c..2b35c62 100644
---- a/svg2rlg.py
-+++ b/svg2rlg.py
-@@ -1574,5 +1574,3 @@ if __name__ == "__main__":
-         
-     drawing = svg2rlg(source)
-     drawing.save(formats=['pdf'],outDir='.',fnRoot=name)
--    
--    os.startfile(name + '.pdf')
-\ No newline at end of file

diff --git a/media-gfx/svg2rlg/files/svg2rlg-issue-6.patch 
b/media-gfx/svg2rlg/files/svg2rlg-issue-6.patch
deleted file mode 100644
index 6ca750e7919..00000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-6.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-commit e42661b9cd6d7b71ce5e7674ac8eff25c74db07a
-Author: yac <[email protected]>
-Date:   Wed May 8 05:00:32 2013 +0200
-
-    use entry_point fixes #6
-
-diff --git a/setup.py b/setup.py
-index 9e00fba..512fa79 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1,6 +1,6 @@
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
--from distutils.core import setup
-+from setuptools import setup
- 
- setup(
-     name = 'svg2rlg',
-@@ -12,6 +12,8 @@ setup(
-     url = 'http://code.google.com/p/svg2rlg/',
-     download_url = 'http://pypi.python.org/pypi/svg2rlg/',
-     requires = ['reportlab'],
-+    entry_points = {
-+                'console_scripts': ['svg2rlg = svg2rlg:main']},
-     
-     classifiers=[
-           'Environment :: Console',
-@@ -30,4 +32,4 @@ The authors motivation was to have a more robust handling of
- SVG files in the **rst2pdf** tool. Specific to be able to handle
- the quirks needed to include SVG export from matplotlib.
- '''
--)
-\ No newline at end of file
-+)
-diff --git a/svg2rlg.py b/svg2rlg.py
-index 2b35c62..cc812b2 100644
---- a/svg2rlg.py
-+++ b/svg2rlg.py
-@@ -1562,7 +1562,7 @@ def svg2rlg(filename):
-     
-     return renderer.render(xml)
-     
--if __name__ == "__main__":
-+def main():
-     import sys
-     import os
-     

diff --git a/media-gfx/svg2rlg/files/svg2rlg-issue-7.patch 
b/media-gfx/svg2rlg/files/svg2rlg-issue-7.patch
deleted file mode 100644
index 8145f416f80..00000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-7.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-commit c30b4f90cac69934761e44bf59a8ba8a3827d647
-Author: yac <[email protected]>
-Date:   Wed May 8 05:44:00 2013 +0200
-
-    fix #7
-
-diff --git a/svg2rlg.py b/svg2rlg.py
-index cc812b2..80d72de 100644
---- a/svg2rlg.py
-+++ b/svg2rlg.py
-@@ -1573,4 +1573,4 @@ def main():
-     name, ext = os.path.splitext(filename)
-         
-     drawing = svg2rlg(source)
--    drawing.save(formats=['pdf'],outDir='.',fnRoot=name)
-+    drawing.save(formats=['pdf'],outDir=os.getcwd(),fnRoot=name)

diff --git a/media-gfx/svg2rlg/metadata.xml b/media-gfx/svg2rlg/metadata.xml
deleted file mode 100644
index bba039ed4ae..00000000000
--- a/media-gfx/svg2rlg/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <longdescription lang="en">
-               The tool can be used as a console application to convert SVG to 
PDF files.
-       </longdescription>
-       <upstream>
-               <remote-id type="pypi">svg2rlg</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/media-gfx/svg2rlg/svg2rlg-0.3.ebuild 
b/media-gfx/svg2rlg/svg2rlg-0.3.ebuild
deleted file mode 100644
index 45e19a44391..00000000000
--- a/media-gfx/svg2rlg/svg2rlg-0.3.ebuild
+++ /dev/null
@@ -1,37 +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="python tool to convert SVG files to reportlab graphics"
-HOMEPAGE="https://code.google.com/p/svg2rlg/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}
-       dev-python/reportlab[${PYTHON_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-issue-3.patch"
-       "${FILESDIR}/${PN}-issue-6.patch"
-       "${FILESDIR}/${PN}-issue-7.patch"
-)
-
-python_test() {
-       ${EPYTHON} test_svg2rlg.py
-}
-
-python_prepare_all() {
-       find -name '*.py' -exec sed -i 's:\r::' {} + || die
-
-       distutils-r1_python_prepare_all
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 8c77d691d24..f1accbeae63 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -509,7 +509,6 @@ media-video/griffith
 # that is dead and broken with py3.7+.  svg2rlg is only used by pdfrw.
 # Removal in 30 days.  Bug #718572.
 dev-python/rst2pdf
-media-gfx/svg2rlg
 
 # Michael Orlitzky <[email protected]> (2020-04-19)
 # Stuck on Python 3.6, support for which already required

Reply via email to