package/python-pysnmpcrypto: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2024-09-17 18:22:19 -06:00 committed by Yann E. MORIN
parent 8d3eae42cb
commit 143b6331a9
4 changed files with 30 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))