From 799af4541927be9b3b190c0a6d0c97e0bb2fc943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Sep 2018 22:15:18 +0200 Subject: Try to fix more bigclown packages --- python3-influxdb/Makefile | 22 ++++++++++++++++++++++ python3-influxdb/files/bch | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100644 python3-influxdb/Makefile create mode 100755 python3-influxdb/files/bch (limited to 'python3-influxdb') diff --git a/python3-influxdb/Makefile b/python3-influxdb/Makefile new file mode 100644 index 0000000..7cdd0cb --- /dev/null +++ b/python3-influxdb/Makefile @@ -0,0 +1,22 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python3-influxdb +PKG_RELEASE:=1 +PKG_SOURCE_URL:=https://github.com/influxdata/influxdb-python.git +PKG_MAINTAINER:=Karel Kočí + +include $(TOPDIR)/package/autopkg-tag.mk +include $(INCLUDE_DIR)/package.mk +$(call include_mk, python3-package.mk) + +define Package/$(PKG_NAME) + TITLE:=Python client for InfluxDB + DEPENDS:=+python3 +endef + +define Build/Compile + $(call Build/Compile/Py3Mod,,install --prefix="/usr" --root=$(PKG_INSTALL_DIR)) +endef + +$(eval $(call Py3Package,$(PKG_NAME))) +$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/python3-influxdb/files/bch b/python3-influxdb/files/bch new file mode 100755 index 0000000..a473b30 --- /dev/null +++ b/python3-influxdb/files/bch @@ -0,0 +1,9 @@ +#!/usr/bin/python3.6 +import bch +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.exit( + load_entry_point('bch', 'console_scripts', 'bch')() + ) -- cgit v1.2.3 From 5b51fb7fe1ffd717eb83738102eda2c907a5636f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 15:03:02 +0200 Subject: Add some missing dependencies for influxdb --- python3-influxdb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python3-influxdb') diff --git a/python3-influxdb/Makefile b/python3-influxdb/Makefile index 7cdd0cb..56d61a3 100644 --- a/python3-influxdb/Makefile +++ b/python3-influxdb/Makefile @@ -11,7 +11,7 @@ $(call include_mk, python3-package.mk) define Package/$(PKG_NAME) TITLE:=Python client for InfluxDB - DEPENDS:=+python3 + DEPENDS:=+python3 +python3-requests +python3-pytz +python3-six +python3-dateutil endef define Build/Compile -- cgit v1.2.3 From 60fa656371b79eb796c3df7bba53c547d5e17557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 17 Sep 2018 10:16:50 +0200 Subject: In some of the Python3 packages use pypi instead of github --- python3-influxdb/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python3-influxdb') diff --git a/python3-influxdb/Makefile b/python3-influxdb/Makefile index 56d61a3..6f360e3 100644 --- a/python3-influxdb/Makefile +++ b/python3-influxdb/Makefile @@ -1,8 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python3-influxdb +PKG_VERSION:=5.2.0 PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/influxdata/influxdb-python.git + +PKG_SOURCE_URL:=https://pypi.python.org/packages/source/i/influxdb/ +PKG_SOURCE:=influxdb-$(PKG_VERSION).tar.gz +PKG_MD5SUM:=8d82a3e48c8d20f4d1f1243c6bb04402 PKG_MAINTAINER:=Karel Kočí include $(TOPDIR)/package/autopkg-tag.mk -- cgit v1.2.3 From d4c7a539fab1c7f9d27f25a15f0e57a95eba25eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Sep 2018 13:32:19 +0200 Subject: python3-influxdb: drop autopkg-tag include --- python3-influxdb/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'python3-influxdb') diff --git a/python3-influxdb/Makefile b/python3-influxdb/Makefile index 6f360e3..49b8fba 100644 --- a/python3-influxdb/Makefile +++ b/python3-influxdb/Makefile @@ -9,7 +9,6 @@ PKG_SOURCE:=influxdb-$(PKG_VERSION).tar.gz PKG_MD5SUM:=8d82a3e48c8d20f4d1f1243c6bb04402 PKG_MAINTAINER:=Karel Kočí -include $(TOPDIR)/package/autopkg-tag.mk include $(INCLUDE_DIR)/package.mk $(call include_mk, python3-package.mk) -- cgit v1.2.3 From 3aeaf5413bf2c23612c23a751dabc7c3c378c53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Sep 2018 15:09:56 +0200 Subject: python3-influxdb: Fix build --- python3-influxdb/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'python3-influxdb') diff --git a/python3-influxdb/Makefile b/python3-influxdb/Makefile index 49b8fba..b97c5c2 100644 --- a/python3-influxdb/Makefile +++ b/python3-influxdb/Makefile @@ -7,6 +7,7 @@ PKG_RELEASE:=1 PKG_SOURCE_URL:=https://pypi.python.org/packages/source/i/influxdb/ PKG_SOURCE:=influxdb-$(PKG_VERSION).tar.gz PKG_MD5SUM:=8d82a3e48c8d20f4d1f1243c6bb04402 +PKG_BUILD_DIR:=$(BUILD_DIR)/influxdb-$(PKG_VERSION) PKG_MAINTAINER:=Karel Kočí include $(INCLUDE_DIR)/package.mk -- cgit v1.2.3