From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>,
Asaf Kahlon <asafka7@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 1/2] package/python-pysnmpcrypto: new package
Date: Tue, 17 Sep 2024 18:22:19 -0600 [thread overview]
Message-ID: <20240918002220.414668-1-james.hilliard1@gmail.com> (raw)
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/Config.in | 1 +
package/python-pysnmpcrypto/Config.in | 9 +++++++++
.../python-pysnmpcrypto/python-pysnmpcrypto.hash | 5 +++++
.../python-pysnmpcrypto/python-pysnmpcrypto.mk | 15 +++++++++++++++
4 files changed, 30 insertions(+)
create mode 100644 package/python-pysnmpcrypto/Config.in
create mode 100644 package/python-pysnmpcrypto/python-pysnmpcrypto.hash
create mode 100644 package/python-pysnmpcrypto/python-pysnmpcrypto.mk
diff --git a/package/Config.in b/package/Config.in
index 2200f16520..c0b64de7f9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1322,6 +1322,7 @@ menu "External python modules"
source "package/python-pysmi/Config.in"
source "package/python-pysnmp/Config.in"
source "package/python-pysnmp-mibs/Config.in"
+ source "package/python-pysnmpcrypto/Config.in"
source "package/python-pysocks/Config.in"
source "package/python-pyspnego/Config.in"
source "package/python-pytablereader/Config.in"
diff --git a/package/python-pysnmpcrypto/Config.in b/package/python-pysnmpcrypto/Config.in
new file mode 100644
index 0000000000..da9dd6cf43
--- /dev/null
+++ b/package/python-pysnmpcrypto/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_PYSNMPCRYPTO
+ bool "python-pysnmpcrypto"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
+ select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
+ help
+ Strong cryptography support for PySNMP (SNMP library for
+ Python).
+
+ https://github.com/lextudio/pysnmpcrypto
diff --git a/package/python-pysnmpcrypto/python-pysnmpcrypto.hash b/package/python-pysnmpcrypto/python-pysnmpcrypto.hash
new file mode 100644
index 0000000000..d36d20b43f
--- /dev/null
+++ b/package/python-pysnmpcrypto/python-pysnmpcrypto.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pysnmpcrypto/json
+md5 969f3690cf2ba4309c047af31d17617e pysnmpcrypto-0.1.0.tar.gz
+sha256 ee6819247ceee09aa2de54b998c51ccf595d75a9ccc2e303383b39a5ac63816c pysnmpcrypto-0.1.0.tar.gz
+# Locally computed sha256 checksums
+sha256 24c90090900edc62b49e27888132293a096248408f73993dc8f0147a6fe200ae LICENSE.rst
diff --git a/package/python-pysnmpcrypto/python-pysnmpcrypto.mk b/package/python-pysnmpcrypto/python-pysnmpcrypto.mk
new file mode 100644
index 0000000000..4472434286
--- /dev/null
+++ b/package/python-pysnmpcrypto/python-pysnmpcrypto.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-pysnmpcrypto
+#
+################################################################################
+
+PYTHON_PYSNMPCRYPTO_VERSION = 0.1.0
+PYTHON_PYSNMPCRYPTO_SOURCE = pysnmpcrypto-$(PYTHON_PYSNMPCRYPTO_VERSION).tar.gz
+PYTHON_PYSNMPCRYPTO_SITE = https://files.pythonhosted.org/packages/e6/70/b71f5f1321ea548a7152fc23926258caaec353c8c3edce1aaafbb030ba76
+PYTHON_PYSNMPCRYPTO_SETUP_TYPE = pep517
+PYTHON_PYSNMPCRYPTO_LICENSE = BSD-2-Clause
+PYTHON_PYSNMPCRYPTO_LICENSE_FILES = LICENSE.rst
+PYTHON_PYSNMPCRYPTO_DEPENDENCIES = host-python-poetry-core
+
+$(eval $(python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-09-18 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 0:22 James Hilliard [this message]
2024-09-18 0:22 ` [Buildroot] [PATCH 2/2] package/python-pysnmp: bump to version 7.1.3 James Hilliard
2024-09-22 18:05 ` [Buildroot] [PATCH 1/2] package/python-pysnmpcrypto: new package Yann E. MORIN
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=20240918002220.414668-1-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/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