dev-python/pycparser: Backport upstream -OO patch, #628386

This commit is contained in:
Michał Górny
2017-08-27 20:07:49 +02:00
parent d2a9def055
commit d1e3eb8faa
2 changed files with 60 additions and 0 deletions
@@ -21,6 +21,10 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
PATCHES=(
"${FILESDIR}"/pycparser-2.18-OO.patch
)
python_prepare_all() {
# remove the original files to guarantee their regen
rm pycparser/{c_ast,lextab,yacctab}.py || die