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.

37 lines
1.0 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=python-influxdb
  6. PKG_VERSION:=5.2.2
  7. PKG_RELEASE:=1
  8. PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
  9. PKG_SOURCE_URL:=https://pypi.python.org/packages/source/i/influxdb/
  10. PKG_SOURCE:=influxdb-$(PKG_VERSION).tar.gz
  11. PKG_HASH:=afeff28953a91b4ea1aebf9b5b8258a4488d0e49e2471db15ea43fd2c8533143
  12. PKG_LICENSE:=MIT
  13. PKG_BUILD_DIR:=$(BUILD_DIR)/influxdb-$(PKG_VERSION)
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python3-influxdb
  17. SECTION:=lang
  18. CATEGORY:=Languages
  19. SUBMENU:=Python
  20. URL:=https://github.com/influxdb/influxdb-python
  21. TITLE:=python3-influxdb
  22. DEPENDS:=+python3-requests +python3-pytz +python3-six +python3-dateutil
  23. VARIANT:=python3
  24. endef
  25. define Package/python3-influxdb/description
  26. Python client for InfluxDB
  27. endef
  28. $(eval $(call Py3Package,python3-influxdb))
  29. $(eval $(call BuildPackage,python3-influxdb))
  30. $(eval $(call BuildPackage,python3-influxdb-src))