b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-paramiko |
| 4 | PKG_VERSION:=2.12.0 |
| 5 | PKG_RELEASE:=2 |
| 6 | |
| 7 | PYPI_NAME:=paramiko |
| 8 | PKG_HASH:=376885c05c5d6aa6e1f4608aac2a6b5b0548b1add40274477324605903d9cd49 |
| 9 | |
| 10 | PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> |
| 11 | PKG_LICENSE:=LGPL-2.1-or-later |
| 12 | PKG_LICENSE_FILES:=LICENSE |
| 13 | PKG_CPE_ID:=cpe:/a:paramiko:paramiko |
| 14 | |
| 15 | include ../pypi.mk |
| 16 | include $(INCLUDE_DIR)/package.mk |
| 17 | include ../python3-package.mk |
| 18 | |
| 19 | define Package/python3-paramiko |
| 20 | SECTION:=lang |
| 21 | CATEGORY:=Languages |
| 22 | SUBMENU:=Python |
| 23 | TITLE:=SSH2 protocol library |
| 24 | URL:=https://github.com/paramiko/paramiko/ |
| 25 | DEPENDS:=+python3-light +python3-logging +python3-bcrypt \ |
| 26 | +python3-cryptography +python3-openssl +python3-pynacl |
| 27 | endef |
| 28 | |
| 29 | define Package/python3-paramiko/description |
| 30 | Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol, |
| 31 | providing both client and server functionality. While it leverages a Python |
| 32 | C extension for low level cryptography (Cryptography), Paramiko itself is a |
| 33 | pure Python interface around SSH networking concepts. |
| 34 | endef |
| 35 | |
| 36 | $(eval $(call Py3Package,python3-paramiko)) |
| 37 | $(eval $(call BuildPackage,python3-paramiko)) |
| 38 | $(eval $(call BuildPackage,python3-paramiko-src)) |