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.7 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=botocore
  3. PKG_VERSION:=1.12.66
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/b/botocore
  7. PKG_HASH:=25c39ecc71356287cf79d66981ec77deca374e28043b19b2f818d48aa34272a1
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-botocore-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  10. PKG_LICENSE:=MIT
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python-package.mk
  13. include ../python3-package.mk
  14. PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
  15. define Package/python-botocore/Default
  16. SUBMENU:=Python
  17. SECTION:=lang
  18. CATEGORY:=Languages
  19. TITLE:=botocore
  20. URL:=https://github.com/boto/botocore
  21. endef
  22. define Package/python-botocore
  23. $(call Package/python-botocore/Default)
  24. DEPENDS:=+python \
  25. +python-urllib3 \
  26. +python-docutils \
  27. +python-dateutil \
  28. +python-jmespath \
  29. +python-requests
  30. VARIANT:=python
  31. endef
  32. define Package/python3-botocore
  33. $(call Package/python-botocore/Default)
  34. DEPENDS:=+python3 \
  35. +python3-urllib3 \
  36. +python3-docutils \
  37. +python3-dateutil \
  38. +python3-jmespath \
  39. +python3-requests
  40. VARIANT:=python3
  41. endef
  42. define Package/python-botocore/description
  43. A low-level interface to a growing number of Amazon Web Services.
  44. The botocore package is the foundation for the AWS CLI as well as boto3.
  45. endef
  46. define Package/python3-botocore/description
  47. $(call Package/python-botocore/description)
  48. .
  49. (Variant for Python3)
  50. endef
  51. $(eval $(call PyPackage,python-botocore))
  52. $(eval $(call BuildPackage,python-botocore))
  53. $(eval $(call BuildPackage,python-botocore-src))
  54. $(eval $(call Py3Package,python3-botocore))
  55. $(eval $(call BuildPackage,python3-botocore))
  56. $(eval $(call BuildPackage,python3-botocore-src))