mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/rst2pdf: Use PATCHES=() instead of manuell patching
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user