python3-paramiko: add a new package
authorJavier Marcet <javier@marcet.info>
Sun, 19 Apr 2020 22:00:42 +0000 (00:00 +0200)
committerJavier Marcet <javier@marcet.info>
Mon, 8 Jun 2020 11:57:26 +0000 (13:57 +0200)
Signed-off-by: Javier Marcet <javier@marcet.info>
lang/python/python-paramiko/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-paramiko/Makefile b/lang/python/python-paramiko/Makefile
new file mode 100644 (file)
index 0000000..6989ef8
--- /dev/null
@@ -0,0 +1,40 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-paramiko
+PKG_VERSION:=2.7.1
+PKG_RELEASE:=1
+
+PYPI_NAME:=paramiko
+PKG_HASH:=920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f
+
+PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
+PKG_LICENSE:=LGPL-2.1-or-later
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+PYTHON3_PKG_SETUP_ARGS:=
+
+define Package/python3-paramiko
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=SSH2 protocol library
+  URL:=https://github.com/paramiko/paramiko/
+  DEPENDS:=+python3-light +python3-logging +python3-bcrypt \
+         +python3-cryptography +python3-openssl +python3-pynacl
+  VARIANT:=python3
+endef
+
+define Package/python3-paramiko/description
+  Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol,
+  providing both client and server functionality. While it leverages a Python
+  C extension for low level cryptography (Cryptography), Paramiko itself is a
+  pure Python interface around SSH networking concepts.
+endef
+
+$(eval $(call Py3Package,python3-paramiko))
+$(eval $(call BuildPackage,python3-paramiko))
+$(eval $(call BuildPackage,python3-paramiko-src))