python: remove smtpd.py
PATCH 1/1 python: remove smtpd.py
It's mostly sample code, normally not used, and has a bad shebang line.
--- package/python/python.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
package/python/python.mk +7 -4
@@ -108,10 +108,6 @@ else PYTHON_CONF_OPT += --disable-zlib endif -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y) -PYTHON_DEPENDENCIES += openssl -endif - PYTHON_CONF_ENV += \ PYTHON_FOR_BUILD=$(HOST_PYTHON_DIR)/python \ PGEN_FOR_BUILD=$(HOST_PYTHON_DIR)/Parser/pgen \
@@ -142,6 +138,13 @@ endef PYTHON_POST_INSTALL_STAGING_HOOKS += PYTHON_FIXUP_LIBDIR +# Bad shebang, normally not used +define PYTHON_REMOVE_SMTPD + rm -f $(TARGET_DIR)/usr/bin/smtpd.py +endef + +PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_SMTPD + # # Development files removal #
Signature · 1 line
1.8.1.5
PATCH 1/1 python: remove smtpd.py
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> It's mostly sample code, normally not used, and has a bad shebang line. Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---
Gustavo> package/python/python.mk | 11 +++++++----
Gustavo> 1 file changed, 7 insertions(+), 4 deletions(-)
Gustavo> diff --git a/package/python/python.mk b/package/python/python.mk Gustavo> index 4876dd8..265b7d0 100644
Gustavo> --- a/package/python/python.mk
Gustavo> +++ b/package/python/python.mk
Gustavo> @@ -108,10 +108,6 @@ else
Gustavo> PYTHON_CONF_OPT += --disable-zlib
Gustavo> endif
Gustavo> -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y)
Gustavo> -PYTHON_DEPENDENCIES += openssl
Gustavo> -endif
Gustavo> -
I guess this shouldn't get dropped?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 python: remove smtpd.py
Quoted 6 lines · Peter Korsgaard
Gustavo> -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y)
Gustavo> -PYTHON_DEPENDENCIES += openssl
Gustavo> -endif
Gustavo> -I guess this shouldn't get dropped?
Rushy patch, sent v2.
Regards.