package/python-asyncssh: new package
PATCH 1/1 package/python-asyncssh: new package
Signed-off-by James Hilliard <[email protected]>
--- package/Config.in | 1 + package/python-asyncssh/Config.in | 9 +++++++++ package/python-asyncssh/python-asyncssh.hash | 5 +++++ package/python-asyncssh/python-asyncssh.mk | 14 ++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 package/python-asyncssh/Config.in create mode 100644 package/python-asyncssh/python-asyncssh.hash create mode 100644 package/python-asyncssh/python-asyncssh.mk
package/Config.in +1 -0
@@ -985,6 +985,7 @@ menu "External python modules" source "package/python-asgiref/Config.in" source "package/python-asn1crypto/Config.in" source "package/python-asttokens/Config.in" + source "package/python-asyncssh/Config.in" source "package/python-async-generator/Config.in" source "package/python-async-lru/Config.in" source "package/python-async-timeout/Config.in"
package/python-asyncssh/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_ASYNCSSH + bool "python-asyncssh" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + AsyncSSH: Asynchronous SSHv2 client and server library. + + http://asyncssh.timeheart.net
package/python-asyncssh/python-asyncssh.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/asyncssh/json +md5 4194feb9e0d17a0750f107f3445ff9f7 asyncssh-2.14.1.tar.gz +sha256 1ac31c333a0d83c88831523245500caa814503423741b0e465339ef6da5b5e29 asyncssh-2.14.1.tar.gz +# Locally computed sha256 checksums +sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 LICENSE
package/python-asyncssh/python-asyncssh.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-asyncssh +# +################################################################################ + +PYTHON_ASYNCSSH_VERSION = 2.14.1 +PYTHON_ASYNCSSH_SOURCE = asyncssh-$(PYTHON_ASYNCSSH_VERSION).tar.gz +PYTHON_ASYNCSSH_SITE = https://files.pythonhosted.org/packages/5f/86/59278fefc49ddcc10567e52a8e0e1553fc936584e241d516b5682d55ea17 +PYTHON_ASYNCSSH_SETUP_TYPE = setuptools +PYTHON_ASYNCSSH_LICENSE = EPL-2.0 +PYTHON_ASYNCSSH_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello James,
package/python-asyncssh/python-asyncssh.mk line 12
Quoted 6 lines · On Thu, 14 Dec 2023 10:53:10 -0700 James Hilliard <[email protected]>…
package/python-asyncssh/python-asyncssh.mk new file +6
-0+PYTHON_ASYNCSSH_VERSION = 2.14.1 +PYTHON_ASYNCSSH_SOURCE = asyncssh-$(PYTHON_ASYNCSSH_VERSION).tar.gz +PYTHON_ASYNCSSH_SITE = https://files.pythonhosted.org/packages/5f/86/59278fefc49ddcc10567e52a8e0e1553fc936584e241d516b5682d55ea17 +PYTHON_ASYNCSSH_SETUP_TYPE = setuptools +PYTHON_ASYNCSSH_LICENSE = EPL-2.0 +PYTHON_ASYNCSSH_LICENSE_FILES = LICENSE
The COPYRIGHT file says the license is EPL-2.0 or GPL-2.0+, so I've changed it to that, and added the COPYRIGHT file to the list of license files, and I've applied.
One thing that would be nice for new Python packages would be to add a runtime tests. These are relatively easy to add, and allow to verify that all runtime dependencies are probably taken into account.
Thanks a lot for this contribution!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot