summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-23 11:43:24 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-23 11:43:24 +0200
commit870019d3f18f1b0157e506c65c478f8b808be0dc (patch)
tree1fd03ed4f72c7263b92558639defaeea18a6983f /media-gfx/svg2rlg
parentsys-boot/raspberrypi-mkimage: Remove last-rited pkg (diff)
downloadgentoo-870019d3f18f1b0157e506c65c478f8b808be0dc.tar.gz
gentoo-870019d3f18f1b0157e506c65c478f8b808be0dc.tar.bz2
gentoo-870019d3f18f1b0157e506c65c478f8b808be0dc.zip
media-gfx/svg2rlg: Remove last-rited pkg
Closes: https://bugs.gentoo.org/718572 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/svg2rlg')
-rw-r--r--media-gfx/svg2rlg/Manifest1
-rw-r--r--media-gfx/svg2rlg/files/svg2rlg-issue-3.patch19
-rw-r--r--media-gfx/svg2rlg/files/svg2rlg-issue-6.patch47
-rw-r--r--media-gfx/svg2rlg/files/svg2rlg-issue-7.patch16
-rw-r--r--media-gfx/svg2rlg/metadata.xml11
-rw-r--r--media-gfx/svg2rlg/svg2rlg-0.3.ebuild37
6 files changed, 0 insertions, 131 deletions
diff --git a/media-gfx/svg2rlg/Manifest b/media-gfx/svg2rlg/Manifest
deleted file mode 100644
index 6bdc5c97fd57..000000000000
--- 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 df70bf345aa8..000000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-3.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit e5aa6784a10717641bc5b6d9d77a5029f815654a
-Author: yac <yac@blesmrt.net>
-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 6ca750e79193..000000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-6.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-commit e42661b9cd6d7b71ce5e7674ac8eff25c74db07a
-Author: yac <yac@blesmrt.net>
-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 8145f416f804..000000000000
--- a/media-gfx/svg2rlg/files/svg2rlg-issue-7.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-commit c30b4f90cac69934761e44bf59a8ba8a3827d647
-Author: yac <yac@blesmrt.net>
-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 bba039ed4aed..000000000000
--- 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 45e19a443916..000000000000
--- 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
-}