All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avishay Orpaz <avishorp@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] Added support for hashlib in the target Python
Date: Mon, 13 Aug 2012 17:19:37 +0300	[thread overview]
Message-ID: <1344867578-12784-1-git-send-email-avishorp@gmail.com> (raw)

---
 package/python/Config.in |    6 ++++++
 package/python/python.mk |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/package/python/Config.in b/package/python/Config.in
index 11aa267..65aac23 100644
--- a/package/python/Config.in
+++ b/package/python/Config.in
@@ -93,6 +93,12 @@ config BR2_PACKAGE_PYTHON_ZLIB
 	help
 	  zlib support in Python
 
+config BR2_PACKAGE_PYTHON_HASHLIB
+	bool "hashlib module"
+	select BR2_PACKAGE_OPENSSL
+	help
+	  hashlib support in Python
+
 endmenu
 
 endif
diff --git a/package/python/python.mk b/package/python/python.mk
index fae4e5c..0584a5a 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -110,6 +110,10 @@ 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 \
-- 
1.7.1

             reply	other threads:[~2012-08-13 14:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 14:19 Avishay Orpaz [this message]
2012-08-13 14:19 ` [Buildroot] [PATCH 2/2] rdiff-backup: new package Avishay Orpaz
2013-03-24 12:30 ` [Buildroot] [PATCH 1/2] Added support for hashlib in the target Python Gustavo Zacarias
2013-05-03 12:38 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344867578-12784-1-git-send-email-avishorp@gmail.com \
    --to=avishorp@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.