summaryrefslogtreecommitdiff
path: root/media-gfx/svg2rlg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
commitf516638b7fe9592837389826a6152a7e1b251c54 (patch)
tree8bfecb640b7b6403d7a3d662d923eed630033da7 /media-gfx/svg2rlg
parent1a61119f9f7b057830e2ce0563f913ec86f282ad (diff)
gentoo resync : 30.05.2020
Diffstat (limited to 'media-gfx/svg2rlg')
-rw-r--r--media-gfx/svg2rlg/Manifest6
-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, 136 deletions
diff --git a/media-gfx/svg2rlg/Manifest b/media-gfx/svg2rlg/Manifest
deleted file mode 100644
index 651fa39d5ddf..000000000000
--- a/media-gfx/svg2rlg/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX svg2rlg-issue-3.patch 507 BLAKE2B 801eb095c1e383a0e75c4f79e11e8063ae94290c997cebac33e55400934626dca338d9d03c5effd68e4f2fa79fb6be58b2eafbe589fe56c87ed465326d0b3e2a SHA512 aa7c02fe9afaebb8e56397bd2f609d83e772fa53f60088b12212eaa3934a10a1ea452f20f407a9134e87c0133dddd17c7bea8c6f03d7d3eef2bfaeb6430d2f8c
-AUX svg2rlg-issue-6.patch 1221 BLAKE2B c7440b817c14851b20d5a33712029bc3430a59b1376e0b7ca52d9aeed6a7c8e2cbb07e0c91b1342182e03c0646e86ef7d730062fe5539c4440094d4644675c47 SHA512 500b929de726cb728ea10f295c7e15845046d0d3d70067c2ef54cca1466f456cb682797ddf99e0ae62ec68ba125183900763e82a2889f8941b507490a197ed88
-AUX svg2rlg-issue-7.patch 473 BLAKE2B 625268097edb59bc3c71ad3ff486d293dbbcfb0789c2bd73c5848c4e0aab4ec6ba2f9e5a28b23aa12f141f92e893d4e779b871e2d5fd05960cb263d05b5bcf8b SHA512 42be68efd3aedb00d1461dfa99de7aebf9477a531a491676cc189a7299e206650df9a9bd51d27c3a2cf6e761f8892c5b61577eed1b232f5109374df32329d3e4
-DIST svg2rlg-0.3.tar.gz 490908 BLAKE2B a3383326d1d503965f93ff3b7b9f144835d5c7ba1613b0bf215ce31cc968eee76c826a170f62a5c4f173c8326dbe4a9f47a9f6f1a1345d2ed9ffd5350077e2e9 SHA512 44efebe7d978a46ab26b4bc332ad08db9236a86b160d73fc1fdc2b54c44bb2604147ae458eea1fe81c579c7f94e39869459567a6b6b3a551d6db6132816c4723
-EBUILD svg2rlg-0.3.ebuild 812 BLAKE2B f9e9170db5c8bb0e8f13bf78761f359ad616cc8c329427baec81a3f046f498e5a11be256de59fd7d3e211067709923721e838f6743cfc8f2d7438119f2f5829e SHA512 be8fca9e57a9b5deefe69363478c06e075517368ce25a8354bd6bbb19f587b40bdd2bea53235b72a6ccd9bd6d86ce92fab8ab6b7c4d47fef07ed63cac5e8a138
-MISC metadata.xml 363 BLAKE2B bab52a0cc6fbf81e6993b0ce74a89882a692bd008f0b193b3f30a665cbb8e6f6741f594bc6297a606c125bf2751c189142d500264e5d909b3715716c113b5ec9 SHA512 ab6cf1b5b4bb40fc26b110c6d34ea4d21e80c127549cb43cf262a43f771113494ef357c811d70523c07a3b9da0e3137a524364c997da4f3f25e9cddbdc125813
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
-}