You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.8 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=awscli
  3. PKG_VERSION:=1.16.75
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=8d96ec0de325ea8271cc6aa95b7392bbf548ec4aabd3ffbcdc0619b64edd4a45
  7. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  8. PKG_LICENSE:=MIT
  9. include ../pypi.mk
  10. include $(INCLUDE_DIR)/package.mk
  11. include ../python-package.mk
  12. include ../python3-package.mk
  13. define Package/python-awscli/Default
  14. SUBMENU:=Python
  15. SECTION:=lang
  16. CATEGORY:=Languages
  17. TITLE:=awscli
  18. URL:=https://github.com/aws/aws-cli
  19. endef
  20. define Package/python-awscli
  21. $(call Package/python-awscli/Default)
  22. DEPENDS:=+PACKAGE_python-awscli:python \
  23. +PACKAGE_python-awscli:python-yaml \
  24. +PACKAGE_python-awscli:python-pyasn1 \
  25. +PACKAGE_python-awscli:python-botocore \
  26. +PACKAGE_python-awscli:python-rsa \
  27. +PACKAGE_python-awscli:python-colorama \
  28. +PACKAGE_python-awscli:python-docutils \
  29. +PACKAGE_python-awscli:python-s3transfer
  30. VARIANT:=python
  31. endef
  32. define Package/python3-awscli
  33. $(call Package/python-awscli/Default)
  34. DEPENDS:=+PACKAGE_python3-awscli:python3 \
  35. +PACKAGE_python3-awscli:python3-yaml \
  36. +PACKAGE_python3-awscli:python3-pyasn1 \
  37. +PACKAGE_python3-awscli:python3-botocore \
  38. +PACKAGE_python3-awscli:python3-rsa \
  39. +PACKAGE_python3-awscli:python3-colorama \
  40. +PACKAGE_python3-awscli:python3-docutils \
  41. +PACKAGE_python3-awscli:python3-s3transfer
  42. VARIANT:=python3
  43. endef
  44. define Package/python-awscli/description
  45. This package provides a unified command line interface to Amazon Web Services.
  46. endef
  47. define Package/python3-awscli/description
  48. $(call Package/python-awscli/description)
  49. .
  50. (Variant for Python3)
  51. endef
  52. $(eval $(call PyPackage,python-awscli))
  53. $(eval $(call BuildPackage,python-awscli))
  54. $(eval $(call BuildPackage,python-awscli-src))
  55. $(eval $(call Py3Package,python3-awscli))
  56. $(eval $(call BuildPackage,python3-awscli))
  57. $(eval $(call BuildPackage,python3-awscli-src))