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.

41 lines
994 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=s3transfer
  3. PKG_VERSION:=0.2.0
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=f23d5cb7d862b104401d9021fc82e5fa0e0cf57b7660a1331425aab0c691d021
  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 ../python3-package.mk
  12. define Package/python-s3transfer/Default
  13. SECTION:=lang
  14. CATEGORY:=Languages
  15. SUBMENU:=Python
  16. TITLE:=s3transfer
  17. URL:=https://github.com/boto/s3transfer
  18. endef
  19. define Package/python3-s3transfer
  20. $(call Package/python-s3transfer/Default)
  21. DEPENDS:= \
  22. +PACKAGE_python3-s3transfer:python3 \
  23. +PACKAGE_python3-s3transfer:python3-botocore
  24. VARIANT:=python3
  25. endef
  26. define Package/python3-s3transfer/description
  27. S3transfer is a Python library for managing Amazon S3 transfers.
  28. .
  29. (Variant for Python3)
  30. endef
  31. $(eval $(call Py3Package,python3-s3transfer))
  32. $(eval $(call BuildPackage,python3-s3transfer))
  33. $(eval $(call BuildPackage,python3-s3transfer-src))