dev-python/rst2pdf: Use PATCHES=() instead of manuell patching
authorJustin Lecher <jlec@gentoo.org>
Wed, 14 Oct 2015 16:24:44 +0000 (18:24 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 14 Oct 2015 16:24:46 +0000 (18:24 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/rst2pdf/rst2pdf-0.93-r2.ebuild

index 5fcaac94e1a2f31eaed6bf585734c39579951881..1b244e064bd1ee2b36c9ca24cfb8f0fb46e41980 100644 (file)
@@ -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