summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-14 18:24:44 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-14 18:24:46 +0200
commit3d228c0ad6c5ad7fa61546d019ace9f1a6d05d58 (patch)
tree11491daf74b0b5d7f79b98ca846bc2a61fae54da /dev-python/rst2pdf
parentdev-python/rst2pdf: Keyword under ALLARCHES policy (diff)
downloadgentoo-3d228c0ad6c5ad7fa61546d019ace9f1a6d05d58.tar.gz
gentoo-3d228c0ad6c5ad7fa61546d019ace9f1a6d05d58.tar.bz2
gentoo-3d228c0ad6c5ad7fa61546d019ace9f1a6d05d58.zip
dev-python/rst2pdf: Use PATCHES=() instead of manuell patching
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/rst2pdf')
-rw-r--r--dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild b/dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild
index 5fcaac94e1a..1b244e064bd 100644
--- a/dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild
+++ b/dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
@@ -26,10 +27,7 @@ DEPEND="dev-python/docutils[${PYTHON_USEDEP}]
RDEPEND="${DEPEND}"
# >=reportlab-2.6: https://code.google.com/p/rst2pdf/issues/detail?id=474
-python_prepare_all() {
- epatch "${FILESDIR}/${P}-fix-logging.patch"
- distutils-r1_python_prepare_all
-}
+PATCHES=( "${FILESDIR}/${P}-fix-logging.patch" )
python_install_all() {
dodoc doc/*.pdf