From: "Raphaël Mélotte" <raphael.melotte@essensium.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/python-pbkdf2: new package.
Date: Fri, 7 Feb 2020 16:31:05 +0100 [thread overview]
Message-ID: <20200207153106.5042-1-raphael.melotte@essensium.com> (raw)
PKCS#5 v2.0 PBKDF2 Module.
Signed-off-by: Rapha?l M?lotte <raphael.melotte@essensium.com>
---
DEVELOPERS | 3 +++
package/Config.in | 1 +
package/python-pbkdf2/Config.in | 6 ++++++
package/python-pbkdf2/python-pbkdf2.hash | 3 +++
package/python-pbkdf2/python-pbkdf2.mk | 13 +++++++++++++
5 files changed, 26 insertions(+)
create mode 100644 package/python-pbkdf2/Config.in
create mode 100644 package/python-pbkdf2/python-pbkdf2.hash
create mode 100644 package/python-pbkdf2/python-pbkdf2.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index d8ea23e0b3..7701958beb 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2076,6 +2076,9 @@ N: Rahul Jain <rahul.jain@imgtec.com>
F: package/uhttpd/
F: package/ustream-ssl/
+N: Rapha?l M?lotte <raphael.melotte@essensium.com>
+F: package/python-pbkdf2/
+
N: Refik Tuzakli <tuzakli.refik@gmail.com>
F: package/paho-mqtt-cpp/
diff --git a/package/Config.in b/package/Config.in
index bad4f9cba6..2142b4e978 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1029,6 +1029,7 @@ menu "External python modules"
source "package/python-pathpy/Config.in"
source "package/python-pathtools/Config.in"
source "package/python-pathvalidate/Config.in"
+ source "package/python-pbkdf2/Config.in"
source "package/python-periphery/Config.in"
source "package/python-pexpect/Config.in"
source "package/python-pickleshare/Config.in"
diff --git a/package/python-pbkdf2/Config.in b/package/python-pbkdf2/Config.in
new file mode 100644
index 0000000000..90015b2cc0
--- /dev/null
+++ b/package/python-pbkdf2/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PBKDF2
+ bool "python-pbkdf2"
+ help
+ PKCS\#5 v2.0 PBKDF2 Module.
+
+ http://www.dlitz.net/software/python-pbkdf2/
diff --git a/package/python-pbkdf2/python-pbkdf2.hash b/package/python-pbkdf2/python-pbkdf2.hash
new file mode 100644
index 0000000000..4accff7662
--- /dev/null
+++ b/package/python-pbkdf2/python-pbkdf2.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/pbkdf2/json
+md5 40cda566f61420490206597243dd869f pbkdf2-1.3.tar.gz
+sha256 ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979 pbkdf2-1.3.tar.gz
diff --git a/package/python-pbkdf2/python-pbkdf2.mk b/package/python-pbkdf2/python-pbkdf2.mk
new file mode 100644
index 0000000000..f015297524
--- /dev/null
+++ b/package/python-pbkdf2/python-pbkdf2.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pbkdf2
+#
+################################################################################
+
+PYTHON_PBKDF2_VERSION = 1.3
+PYTHON_PBKDF2_SOURCE = pbkdf2-$(PYTHON_PBKDF2_VERSION).tar.gz
+PYTHON_PBKDF2_SITE = https://files.pythonhosted.org/packages/02/c0/6a2376ae81beb82eda645a091684c0b0becb86b972def7849ea9066e3d5e
+PYTHON_PBKDF2_SETUP_TYPE = setuptools
+PYTHON_PBKDF2_LICENSE = MIT
+
+$(eval $(python-package))
--
2.23.0
next reply other threads:[~2020-02-07 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-07 15:31 Raphaël Mélotte [this message]
2020-02-07 15:47 ` [Buildroot] [PATCH 1/1] package/python-pbkdf2: new package Yegor Yefremov
2020-02-10 13:30 ` Raphaël Mélotte
2020-02-10 13:31 ` [Buildroot] [PATCH v2 " Raphaël Mélotte
2021-08-05 19:44 ` [Buildroot] [PATCH " Thomas Petazzoni
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=20200207153106.5042-1-raphael.melotte@essensium.com \
--to=raphael.melotte@essensium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).