# HG changeset patch # User Christophe Lincoln # Date 1305193881 -7200 # Node ID 38f102c5c70b5dd211d331deeed32c59923bf261 # Parent ccc898c42997d0cf0bdd67290113632d2761c483 cook: strip down also python package itself diff -r ccc898c42997 -r 38f102c5c70b cook --- a/cook Thu May 12 11:25:13 2011 +0200 +++ b/cook Thu May 12 11:51:21 2011 +0200 @@ -359,7 +359,7 @@ status # Remove Python .pyc and .pyo from packages. - if echo "$DEPENDS" | fgrep -q "python"; then + if echo "$PACKAGE $DEPENDS" | fgrep -q "python"; then gettext "Removing Python compiled files..." find $fs -type f -name "*.pyc" -delete 2>/dev/null find $fs -type f -name "*.pyo" -delete 2>/dev/null