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.

59 lines
1.5 KiB

  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 ../python-package.mk
  12. include ../python3-package.mk
  13. define Package/python-s3transfer/Default
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. SUBMENU:=Python
  17. TITLE:=s3transfer
  18. URL:=https://github.com/boto/s3transfer
  19. endef
  20. define Package/python-s3transfer
  21. $(call Package/python-s3transfer/Default)
  22. DEPENDS:= \
  23. +PACKAGE_python-s3transfer:python \
  24. +PACKAGE_python-s3transfer:python-botocore \
  25. +PACKAGE_python-s3transfer:python-futures
  26. VARIANT:=python
  27. endef
  28. define Package/python3-s3transfer
  29. $(call Package/python-s3transfer/Default)
  30. DEPENDS:= \
  31. +PACKAGE_python3-s3transfer:python3 \
  32. +PACKAGE_python3-s3transfer:python3-botocore
  33. VARIANT:=python3
  34. endef
  35. define Package/python-s3transfer/description
  36. S3transfer is a Python library for managing Amazon S3 transfers.
  37. endef
  38. define Package/python3-s3transfer/description
  39. $(call Package/python-s3transfer/description)
  40. .
  41. (Variant for Python3)
  42. endef
  43. $(eval $(call PyPackage,python-s3transfer))
  44. $(eval $(call BuildPackage,python-s3transfer))
  45. $(eval $(call BuildPackage,python-s3transfer-src))
  46. $(eval $(call Py3Package,python3-s3transfer))
  47. $(eval $(call BuildPackage,python3-s3transfer))
  48. $(eval $(call BuildPackage,python3-s3transfer-src))