Skip to contentSkip to conversation

python: remove smtpd.py

PATCH New Gustavo Zacarias 2 participants 2 messages May 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python: remove smtpd.py

It's mostly sample code, normally not used, and has a bad shebang line.

---
 package/python/python.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/python/python.mk +7 -0
index 4876dd8..b942854 100644
@@ -142,6 +142,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

#1 lore raw

PATCH v2 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 Gustavo> shebang line.

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard