All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bartosz Bilas <b.bilas@grinn-global.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/python-pyaes: new package
Date: Wed,  6 Nov 2019 19:30:22 +0100	[thread overview]
Message-ID: <20191106183023.531278-2-b.bilas@grinn-global.com> (raw)
In-Reply-To: <20191106183023.531278-1-b.bilas@grinn-global.com>

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/python-pyaes/Config.in         |  7 +++++++
 package/python-pyaes/python-pyaes.hash |  5 +++++
 package/python-pyaes/python-pyaes.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-pyaes/Config.in
 create mode 100644 package/python-pyaes/python-pyaes.hash
 create mode 100644 package/python-pyaes/python-pyaes.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index cdc16c8b52..e453b828d0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -259,6 +259,7 @@ N:	Bartosz Bilas <b.bilas@grinn-global.com>
 F:	package/qt5/qt5scxml/
 F:	package/qt5/qt5webview/
 F:	package/python-pyserial
+F:	package/python-pyaes
 
 N:	Bartosz Golaszewski <brgl@bgdev.pl>
 F:	package/autoconf-archive/
diff --git a/package/Config.in b/package/Config.in
index ae7dc89df7..86332e5e91 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1006,6 +1006,7 @@ menu "External python modules"
 	source "package/python-ptyprocess/Config.in"
 	source "package/python-pudb/Config.in"
 	source "package/python-py/Config.in"
+	source "package/python-pyaes/Config.in"
 	source "package/python-pyasn/Config.in"
 	source "package/python-pyasn-modules/Config.in"
 	source "package/python-pyasn1/Config.in"
diff --git a/package/python-pyaes/Config.in b/package/python-pyaes/Config.in
new file mode 100644
index 0000000000..629fd82801
--- /dev/null
+++ b/package/python-pyaes/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYAES
+	bool "python-pyaes"
+	help
+	  Pure-Python Implementation of the AES block-cipher and
+	  common modes of operation.
+
+	  https://github.com/ricmoo/pyaes
diff --git a/package/python-pyaes/python-pyaes.hash b/package/python-pyaes/python-pyaes.hash
new file mode 100644
index 0000000000..25a15f1e19
--- /dev/null
+++ b/package/python-pyaes/python-pyaes.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyaes/json
+md5	20fd5c6e29dcfdd08098e85a859a54ec  pyaes-1.6.1.tar.gz
+sha256	02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f  pyaes-1.6.1.tar.gz
+# Locally computed sha256 checksums
+sha256	1efe6c78b28b4203d397ea9b68bdc9c658d21cd9afaf8ae8223def83f2a7ebbd  LICENSE.txt
diff --git a/package/python-pyaes/python-pyaes.mk b/package/python-pyaes/python-pyaes.mk
new file mode 100644
index 0000000000..a738d3c76a
--- /dev/null
+++ b/package/python-pyaes/python-pyaes.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyaes
+#
+################################################################################
+
+PYTHON_PYAES_VERSION = 1.6.1
+PYTHON_PYAES_SOURCE = pyaes-$(PYTHON_PYAES_VERSION).tar.gz
+PYTHON_PYAES_SITE = https://files.pythonhosted.org/packages/44/66/2c17bae31c906613795711fc78045c285048168919ace2220daa372c7d72
+PYTHON_PYAES_SETUP_TYPE = distutils
+PYTHON_PYAES_LICENSE = MIT
+PYTHON_PYAES_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
-- 
2.24.0

  reply	other threads:[~2019-11-06 18:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 18:30 [Buildroot] [PATCH 1/3] package/python-pyserial: new package Bartosz Bilas
2019-11-06 18:30 ` Bartosz Bilas [this message]
2019-11-06 18:30 ` [Buildroot] [PATCH 3/3] package/python-esptool: " Bartosz Bilas
2019-11-07  7:01   ` Bartosz Biłas
2019-11-06 18:35 ` [Buildroot] [PATCH 1/3] package/python-pyserial: " James Hilliard
2019-11-06 18:51   ` Bartosz Bilas

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=20191106183023.531278-2-b.bilas@grinn-global.com \
    --to=b.bilas@grinn-global.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.