* [Buildroot] [PATCH] python: remove smtpd.py
@ 2013-05-06 11:48 Gustavo Zacarias
2013-05-06 11:52 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2013-05-06 11:48 UTC (permalink / raw)
To: buildroot
It's mostly sample code, normally not used, and has a bad shebang line.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/python/python.mk | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/package/python/python.mk b/package/python/python.mk
index 4876dd8..265b7d0 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -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
#
--
1.8.1.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] python: remove smtpd.py
2013-05-06 11:48 [Buildroot] [PATCH] python: remove smtpd.py Gustavo Zacarias
@ 2013-05-06 11:52 ` Peter Korsgaard
2013-05-06 11:56 ` Gustavo Zacarias
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2013-05-06 11:52 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> It's mostly sample code, normally not used, and has a bad shebang line.
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
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?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] python: remove smtpd.py
2013-05-06 11:52 ` Peter Korsgaard
@ 2013-05-06 11:56 ` Gustavo Zacarias
0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2013-05-06 11:56 UTC (permalink / raw)
To: buildroot
On 05/06/2013 08:52 AM, Peter Korsgaard wrote:
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-06 11:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 11:48 [Buildroot] [PATCH] python: remove smtpd.py Gustavo Zacarias
2013-05-06 11:52 ` Peter Korsgaard
2013-05-06 11:56 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox