public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/
Date: Sat, 10 Oct 2015 18:23:56 +0000 (UTC)	[thread overview]
Message-ID: <1444501372.9b13dd223e15060ac697795d9ef6f0ef660e58ca.vapier@gentoo> (raw)

commit:     9b13dd223e15060ac697795d9ef6f0ef660e58ca
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 18:14:25 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 18:22:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b13dd22

media-gfx/svg2rlg: clean up ebuild a bit

 media-gfx/svg2rlg/svg2rlg-0.3.ebuild | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/media-gfx/svg2rlg/svg2rlg-0.3.ebuild b/media-gfx/svg2rlg/svg2rlg-0.3.ebuild
index e658f29..0439331 100644
--- a/media-gfx/svg2rlg/svg2rlg-0.3.ebuild
+++ b/media-gfx/svg2rlg/svg2rlg-0.3.ebuild
@@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 
 inherit distutils-r1
 
-DESCRIPTION="svg2rlg is a python tool to convert SVG files to reportlab
-graphics"
+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"
 
@@ -22,19 +21,18 @@ 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")
+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() {
-	tmp=`mktemp` || die "mktemp failed"
-	for i in `find -name '*.py'`; do
-		tr -d '\r' < $i >$tmp  || die "tr failed"
-		mv $tmp $i || die "mv failed"
-	done
+	find -name '*.py' -exec sed -i 's:\r::' {} + || die
 
 	distutils-r1_python_prepare_all
 }


             reply	other threads:[~2015-10-10 18:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 18:23 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-29 16:51 [gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/ Michał Górny
2024-05-29 16:51 Michał Górny
2024-04-05 15:27 Arthur Zamarin
2022-11-27 16:53 Michał Górny
2022-11-27 16:53 Michał Górny
2022-11-27 16:53 Michał Górny
2022-08-31  8:42 Joonas Niilola
2021-12-08 10:14 Yixun Lan
2021-09-16  8:15 Arthur Zamarin
2021-03-05 18:00 Sam James
2021-01-27  3:28 Sam James
2021-01-22 21:38 Steve Arnold
2020-03-31 18:02 Sergei Trofimovich
2018-06-09 14:15 Mart Raudsepp
2017-04-23 20:48 Michał Górny
2016-01-14 17:10 Agostino Sarubbo
2015-10-14 16:25 Justin Lecher
2015-09-06  6:18 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444501372.9b13dd223e15060ac697795d9ef6f0ef660e58ca.vapier@gentoo \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox