diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-02-18 18:01:09 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-02-18 18:01:09 +0100 |
commit | 28bd38773067b85e1bbb815460718d7648bad8fb (patch) | |
tree | e49da2539dd71172bac95e78f36c3df24503cb2d | |
parent | 9209c372dd43a3b0343a6f2b5625abf7124b44b4 (diff) | |
download | openwrt-personal-pkgs-28bd38773067b85e1bbb815460718d7648bad8fb.tar.gz openwrt-personal-pkgs-28bd38773067b85e1bbb815460718d7648bad8fb.tar.bz2 openwrt-personal-pkgs-28bd38773067b85e1bbb815460718d7648bad8fb.zip |
Drop bigclown as I am no longer using it on Turris 3.x
-rw-r--r-- | bigclown-control-tools/Makefile | 28 | ||||
-rwxr-xr-x | bigclown-control-tools/files/bch | 9 | ||||
-rw-r--r-- | bigclown-gateway/Makefile | 36 | ||||
-rwxr-xr-x | bigclown-gateway/files/bcg | 9 | ||||
-rw-r--r-- | bigclown-gateway/files/config | 9 | ||||
-rwxr-xr-x | bigclown-gateway/files/init | 57 | ||||
-rw-r--r-- | bigclown-mqtt2influxdb/Makefile | 35 | ||||
-rw-r--r-- | bigclown-mqtt2influxdb/files/config.yml | 60 | ||||
-rw-r--r-- | bigclown-mqtt2influxdb/files/init | 22 | ||||
-rwxr-xr-x | bigclown-mqtt2influxdb/files/mqtt2influxdb | 9 | ||||
-rw-r--r-- | click-log/Makefile | 24 | ||||
-rw-r--r-- | click/Makefile | 24 | ||||
-rw-r--r-- | python3-certifi/Makefile | 26 | ||||
-rw-r--r-- | python3-chardet/Makefile | 26 | ||||
-rw-r--r-- | python3-dateutil/Makefile | 37 | ||||
-rw-r--r-- | python3-decorator/Makefile | 25 | ||||
-rw-r--r-- | python3-idna/Makefile | 26 | ||||
-rw-r--r-- | python3-influxdb/Makefile | 26 | ||||
-rwxr-xr-x | python3-influxdb/files/bch | 9 | ||||
-rw-r--r-- | python3-jsonpath-ng/Makefile | 26 | ||||
-rw-r--r-- | python3-pyserial/Makefile | 36 | ||||
-rw-r--r-- | python3-requests/Makefile | 38 | ||||
-rw-r--r-- | python3-schema/Makefile | 25 | ||||
-rw-r--r-- | python3-six/Makefile | 38 | ||||
-rw-r--r-- | python3-urllib3/Makefile | 26 |
25 files changed, 0 insertions, 686 deletions
diff --git a/bigclown-control-tools/Makefile b/bigclown-control-tools/Makefile deleted file mode 100644 index 12f5495..0000000 --- a/bigclown-control-tools/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=bigclown-control-tools -PKG_RELEASE:=3 -PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-control-tool.git -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(TOPDIR)/package/autopkg-tag.mk -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=BigCLown control tools - DEPENDS:=+python3 +click-log +python3-influxdb +python3-pyyaml +python3-pyserial +python3-simplejson -endef - -define Py3Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) ./files/bch $(1)/usr/bin/bch -endef - -define Build/Compile - sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py" - $(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/bigclown-control-tools/files/bch b/bigclown-control-tools/files/bch deleted file mode 100755 index a473b30..0000000 --- a/bigclown-control-tools/files/bch +++ /dev/null @@ -1,9 +0,0 @@ -#!/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')() - ) diff --git a/bigclown-gateway/Makefile b/bigclown-gateway/Makefile deleted file mode 100644 index 031c315..0000000 --- a/bigclown-gateway/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=bigclown-gateway -PKG_RELEASE:=2 -PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-gateway.git -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(TOPDIR)/package/autopkg-tag.mk -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=BigCLown gateway - DEPENDS:=+python3 +mosquitto +mosquitto-client +kmod-usb-serial-ftdi +kmod-usb-acm +python3-paho-mqtt +python3-pyyaml +python3-pyserial +python3-simplejson -endef - -define Py3Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) ./files/bcg $(1)/usr/bin/bcg - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_CONF) ./files/config $(1)/etc/config/bigclown-gateway - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/init $(1)/etc/init.d/bigclown-gateway -endef - -define Package/$(PKG_NAME)/conffiles -/etc/config/bigclown-gateway -endef - -define Build/Compile - sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py" - $(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/bigclown-gateway/files/bcg b/bigclown-gateway/files/bcg deleted file mode 100755 index fe261f4..0000000 --- a/bigclown-gateway/files/bcg +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python3.6 -import bcg -import sys -from pkg_resources import load_entry_point - -if __name__ == '__main__': - sys.exit( - load_entry_point('bcg', 'console_scripts', 'bcg')() - ) diff --git a/bigclown-gateway/files/config b/bigclown-gateway/files/config deleted file mode 100644 index c16e31b..0000000 --- a/bigclown-gateway/files/config +++ /dev/null @@ -1,9 +0,0 @@ - -config gateway 'gateway' - option name 'usb-dongle' - option device '/dev/ttyUSB0' - option automatic_rename_kit_nodes '1' - -config mqtt 'mqtt' - option host 'localhost' - option port '1883' diff --git a/bigclown-gateway/files/init b/bigclown-gateway/files/init deleted file mode 100755 index 02f27d1..0000000 --- a/bigclown-gateway/files/init +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=98 -STOP=1 - -USE_PROCD=1 - -PROG=/usr/bin/bcg -CONF=/tmp/etc/bigclown-gateway.conf - -append() { - local cfg="$1" - local uci_name="$2" - local out_name="$3" - local default="$4" - config_get val $cfg $uci_name $default - if [ -n "$val" ]; then - echo "$out_name $val" >> $CONF - fi -} - -start_service() { - config_load bigclown-gateway - - rm -rf $CONF - echo "Generating bigclown-gateway config file in $CONF" - - append gateway name 'name:' usb-dongle - # TODO add udev rules and use different default here - append gateway device 'device:' /dev/ttyUSB0 - append gateway automatic_rename_kit_nodes 'automatic_rename_kit_nodes:' 1 - append gateway base_topic_prefix 'base_topic_prefix:' - - echo "mqtt:" >> $CONF - append mqtt host ' host:' localhost - append mqtt port ' port:' 1883 - append mqtt cafile ' cafile:' - append mqtt certfile ' certfile:' - append mqtt keyfile ' keyfile:' - - procd_open_instance - procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5} - procd_set_param command "$PROG" -c "$CONF" -W - procd_set_param stdout 1 - procd_set_param stderr 1 - procd_close_instance -} - -stop_service() { - service_stop "$PROG" - ps | grep "$PROG" | grep -v grep | sed -e 's/^\s*\([0-9]\+\)\s.*$/\1/' | xargs -r -- kill -9 -} - -service_triggers() -{ - procd_add_reload_trigger 'bc-gateway-usb-dongle' -} diff --git a/bigclown-mqtt2influxdb/Makefile b/bigclown-mqtt2influxdb/Makefile deleted file mode 100644 index c77bbbe..0000000 --- a/bigclown-mqtt2influxdb/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=bigclown-mqtt2influxdb -PKG_RELEASE:=3 -PKG_SOURCE_URL:=https://github.com/bigclownlabs/bch-mqtt2influxdb.git -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(TOPDIR)/package/autopkg-tag.mk -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=BigCLown MQTT to Influxdb bridge - DEPENDS:=+python3 +python3-paho-mqtt +python3-pyyaml +python3-influxdb +python3-jsonpath-ng +python3-schema -endef - -define Py3Package/$(PKG_NAME)/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) ./files/mqtt2influxdb $(1)/usr/bin/mqtt2influxdb - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/init $(1)/etc/init.d/bc-mqtt2influxdb - $(INSTALL_DATA) ./files/config.yml $(1)/etc/bc-mqtt2influxdb.yml -endef - -define Package/$(PKG_NAME)/conffiles -/etc/bc-mqtt2influxdb.yml -endef - -define Build/Compile - sed -i 's/@@VERSION@@/$(PKG_VERSION)/' "$(PKG_BUILD_DIR)/setup.py" - $(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/bigclown-mqtt2influxdb/files/config.yml b/bigclown-mqtt2influxdb/files/config.yml deleted file mode 100644 index 922c1b9..0000000 --- a/bigclown-mqtt2influxdb/files/config.yml +++ /dev/null @@ -1,60 +0,0 @@ -mqtt: - host: 127.0.0.1 - port: 1883 - -influxdb: - host: 127.0.0.1 - port: 8086 - database: node - -points: - - measurement: temperature - topic: node/+/thermometer/+/temperature - fields: - value: $.payload - tags: - id: $.topic[1] - channel: $.topic[3] - - - measurement: relative-humidity - topic: node/+/hygrometer/0:4/relative-humidity - fields: - value: $.payload - tags: - id: $.topic[1] - - - measurement: illuminance - topic: node/+/lux-meter/0:0/illuminance - fields: - value: $.payload - tags: - id: $.topic[1] - - - measurement: pressure - topic: node/+/barometer/0:0/pressure - fields: - value: $.payload - tags: - id: $.topic[1] - - - measurement: co2 - topic: node/+/co2-meter/-/concentration - fields: - value: $.payload - tags: - id: $.topic[1] - - - measurement: voltage - topic: node/+/battery/+/voltage - fields: - value: $.payload - tags: - id: $.topic[1] - - - measurement: button - topic: node/+/push-button/+/event-count - fields: - value: $.payload - tags: - id: $.topic[1] - channel: $.topic[3] diff --git a/bigclown-mqtt2influxdb/files/init b/bigclown-mqtt2influxdb/files/init deleted file mode 100644 index 5218205..0000000 --- a/bigclown-mqtt2influxdb/files/init +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=99 -STOP=1 - -USE_PROCD=1 - -PROG=/usr/bin/mqtt2influxdb -CONF=/etc/bc-mqtt2influxdb.yml - -start_service() { - procd_open_instance - procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5} - procd_set_param command "$PROG" -c "$CONF" - procd_set_param stdout 1 - procd_set_param stderr 1 - procd_close_instance -} - -stop_service() { - service_stop "$PROG" -} diff --git a/bigclown-mqtt2influxdb/files/mqtt2influxdb b/bigclown-mqtt2influxdb/files/mqtt2influxdb deleted file mode 100755 index 22f9f8c..0000000 --- a/bigclown-mqtt2influxdb/files/mqtt2influxdb +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python3.6 -import mqtt2influxdb -import sys -from pkg_resources import load_entry_point - -if __name__ == '__main__': - sys.exit( - load_entry_point('mqtt2influxdb', 'console_scripts', 'mqtt2influxdb')() - ) diff --git a/click-log/Makefile b/click-log/Makefile deleted file mode 100644 index 0193c3d..0000000 --- a/click-log/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=click-log -PKG_VERSION:=0.3.2 -PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/click-contrib/click-log/archive/$(PKG_VERSION)/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MDSUM:=fd9f23b5644c093c045a25c176f00686 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Simple and beautiful logging for click applications - DEPENDS:=+python3 +click -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/click/Makefile b/click/Makefile deleted file mode 100644 index 438f14a..0000000 --- a/click/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=click -PKG_VERSION:=6.7 -PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/pallets/click/archive/$(PKG_VERSION)/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MDSUM:=fc4cc00c4863833230d3af92af48abd4 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Python composable command line utility - 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-certifi/Makefile b/python3-certifi/Makefile deleted file mode 100644 index e51f02f..0000000 --- a/python3-certifi/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-certifi -PKG_VERSION:=2018.8.24 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/c/certifi/ -PKG_SOURCE:=certifi-$(PKG_VERSION).tar.gz -PKG_MDSUM:=c6be18cddd339c893131d992e13949c1 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/certifi-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Collection of Root Certificates for validating the trustworthiness of SSL certificates - 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-chardet/Makefile b/python3-chardet/Makefile deleted file mode 100644 index a629fb5..0000000 --- a/python3-chardet/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-chardet -PKG_VERSION:=3.0.4 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/c/chardet/ -PKG_SOURCE:=chardet-$(PKG_VERSION).tar.gz -PKG_MDSUM:=7dd1ba7f9c77e32351b0a0cfacf4055c -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/chardet-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=The Universal Character Encoding Detector - 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-dateutil/Makefile b/python3-dateutil/Makefile deleted file mode 100644 index 357590f..0000000 --- a/python3-dateutil/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-dateutil -PKG_VERSION:=2.7.3 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/python-dateutil/ -PKG_SOURCE:=python-dateutil-$(PKG_VERSION).tar.gz -PKG_MD5SUM:=175b7c1a3cc0cb01151eced07c61c0b8 -PKG_BUILD_DIR:=$(BUILD_DIR)/python-dateutil-$(PKG_VERSION) -PKG_BUILD_DEPENDS:=python3-setuptools - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - SUBMENU:=Python - SECTION:=lang - CATEGORY:=Languages - TITLE:=Python powerful extensions to datetime - URL:=https://dateutil.readthedocs.io/en/stable/ - DEPENDS:=+python3 +python3-six -endef - -define Package/$(PKG_NAME)/description - Python powerful extensions to datetime -endef - -define Build/Compile - $(call Build/Compile/Py3Mod,, \ - install --root="$(PKG_INSTALL_DIR)" --prefix="/usr" \ - --single-version-externally-managed \ - ) -endef - -$(eval $(call Py3Package,$(PKG_NAME))) -$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/python3-decorator/Makefile b/python3-decorator/Makefile deleted file mode 100644 index aefd6d2..0000000 --- a/python3-decorator/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-decorator -PKG_VERSION:=4.3.1 -PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/micheles/decorator/archive/$(PKG_VERSION)/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MDSUM:=b92084f8732267b9ea5bfe8887fbad14 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/decorator-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Python3 decorators - 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-idna/Makefile b/python3-idna/Makefile deleted file mode 100644 index 36e6e7f..0000000 --- a/python3-idna/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-idna -PKG_VERSION:=2.7 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/i/idna/ -PKG_SOURCE:=idna-$(PKG_VERSION).tar.gz -PKG_MDSUM:=0e5bb69018ddef1b9d95f681182be82c -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/idna-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Support for the Internationalised Domain Names in Applications - 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/Makefile b/python3-influxdb/Makefile deleted file mode 100644 index b97c5c2..0000000 --- a/python3-influxdb/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-influxdb -PKG_VERSION:=5.2.0 -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čí <cynerd@email.cz> - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Python client for InfluxDB - DEPENDS:=+python3 +python3-requests +python3-pytz +python3-six +python3-dateutil -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 deleted file mode 100755 index a473b30..0000000 --- a/python3-influxdb/files/bch +++ /dev/null @@ -1,9 +0,0 @@ -#!/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')() - ) diff --git a/python3-jsonpath-ng/Makefile b/python3-jsonpath-ng/Makefile deleted file mode 100644 index 2c55565..0000000 --- a/python3-jsonpath-ng/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-jsonpath-ng -PKG_VERSION:=1.4.3 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/j/jsonpath-ng/ -PKG_SOURCE:=jsonpath-ng-$(PKG_VERSION).tar.gz -PKG_MD5SUM:=cb507b93e1e9b81c6f2e01061eeb2098 -PKG_BUILD_DIR:=$(BUILD_DIR)/jsonpath-ng-$(PKG_VERSION) -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Python composable command line utility - DEPENDS:=+python3 +python3-ply +python3-six +python3-decorator -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-pyserial/Makefile b/python3-pyserial/Makefile deleted file mode 100644 index d1d8aaf..0000000 --- a/python3-pyserial/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-pyserial -PKG_VERSION:=3.4 -PKG_RELEASE:=1 - -PKG_SOURCE:=pyserial-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/pyserial/ -PKG_MD5SUM:=ed6183b15519a0ae96675e9c3330c69b - -PKG_BUILD_DIR:=$(BUILD_DIR)/pyserial-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/python3-pyserial - SUBMENU:=Python - SECTION:=lang - CATEGORY:=Languages - TITLE:=Python Serial Port Extension - URL:=http://pyserial.sourceforge.net/ - DEPENDS:=+python3 -endef - -define Package/python3-pyserial/description - Python Serial Port Extension -endef - -define Build/Compile - $(call Build/Compile/Py3Mod,, \ - install --root="$(PKG_INSTALL_DIR)" --prefix="/usr" \ - ) -endef - -$(eval $(call Py3Package,python3-pyserial)) -$(eval $(call BuildPackage,python3-pyserial)) diff --git a/python3-requests/Makefile b/python3-requests/Makefile deleted file mode 100644 index f7a97ee..0000000 --- a/python3-requests/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-requests -PKG_VERSION:=2.19.1 -PKG_RELEASE:=2 - -PKG_SOURCE:=requests-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/r/requests/ -PKG_MD5SUM:=6c1a31afec9d614e2e71a91ee6ca2878 - -PKG_BUILD_DIR:=$(BUILD_DIR)/requests-$(PKG_VERSION) -PKG_BUILD_DEPENDS:=python3-setuptools - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/python3-requests - SUBMENU:=Python - SECTION:=lang - CATEGORY:=Languages - TITLE:=Python HTTP for Humans. - URL:=http://python-requests.org - DEPENDS:=+python3 +python3-chardet +python3-idna +python3-urllib3 +python3-certifi -endef - -define Package/python3-requests/description - Python HTTP for Humans. -endef - -define Build/Compile - $(call Build/Compile/Py3Mod,, \ - install --root="$(PKG_INSTALL_DIR)" --prefix="/usr" \ - --single-version-externally-managed \ - ) -endef - -$(eval $(call Py3Package,python3-requests)) -$(eval $(call BuildPackage,python3-requests)) diff --git a/python3-schema/Makefile b/python3-schema/Makefile deleted file mode 100644 index fd3811a..0000000 --- a/python3-schema/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-schema -PKG_VERSION:=0.7.2 -PKG_RELEASE:=1 -PKG_SOURCE_URL:=https://github.com/keleshev/schema/archive/v$(PKG_VERSION)/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MDSUM:=d3f3ebab4939b18ea299f63fe64ce7f9 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/schema-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=Schema validation just got Pythonic - 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-six/Makefile b/python3-six/Makefile deleted file mode 100644 index 1aa2938..0000000 --- a/python3-six/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-six -PKG_VERSION:=1.11.0 -PKG_RELEASE:=2 - -PKG_SOURCE:=six-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/s/six/ -PKG_MD5SUM:=d12789f9baf7e9fb2524c0c64f1773f8 - -PKG_BUILD_DIR:=$(BUILD_DIR)/six-$(PKG_VERSION) -PKG_BUILD_DEPENDS:=python3-setuptools - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/python3-six - SUBMENU:=Python - SECTION:=lang - CATEGORY:=Languages - TITLE:=Python 2 and 3 compatibility utilities - URL:=http://pypi.python.org/pypi/six/ - DEPENDS:=+python3 -endef - -define Package/python3-six/description - Python 2 and 3 compatibility utilities -endef - -define Build/Compile - $(call Build/Compile/Py3Mod,, \ - install --root="$(PKG_INSTALL_DIR)" --prefix="/usr" \ - --single-version-externally-managed \ - ) -endef - -$(eval $(call Py3Package,python3-six)) -$(eval $(call BuildPackage,python3-six)) diff --git a/python3-urllib3/Makefile b/python3-urllib3/Makefile deleted file mode 100644 index a322299..0000000 --- a/python3-urllib3/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=python3-urllib3 -PKG_VERSION:=1.23 -PKG_RELEASE:=1 - -PKG_SOURCE_URL:=https://pypi.python.org/packages/source/u/urllib3/ -PKG_SOURCE:=urllib3-$(PKG_VERSION).tar.gz -PKG_MDSUM:=1ad43e4b5ab7a0794c89dc057e1d7179 -PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> -PKG_BUILD_DIR:=$(BUILD_DIR)/urllib3-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk -$(call include_mk, python3-package.mk) - -define Package/$(PKG_NAME) - TITLE:=A powerful, sanity-friendly HTTP client for Python - 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))) |