2019-02-11 22:08:22 +01:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-paho-mqtt
|
2021-10-27 10:48:49 +02:00
|
|
|
PKG_VERSION:=1.6.1
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2019-11-11 23:06:48 +01:00
|
|
|
|
2019-02-11 22:08:22 +01:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
2019-11-11 23:06:48 +01:00
|
|
|
PKG_LICENSE:=EPL-1.0 Eclipse Distribution License v1.0
|
|
|
|
PKG_LICENSE_FILES:=epl-v10 edl-v10
|
2019-02-11 22:08:22 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
PYPI_NAME:=paho-mqtt
|
2021-10-27 10:48:49 +02:00
|
|
|
PKG_HASH:=2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f
|
2019-02-11 22:08:22 +01:00
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2019-02-11 22:08:22 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
define Package/python3-paho-mqtt
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2020-09-29 06:55:19 +02:00
|
|
|
TITLE:=MQTT version 5.0/3.1.1 client class
|
2019-02-11 22:08:22 +01:00
|
|
|
URL:=http://eclipse.org/paho
|
2022-08-03 17:00:08 +02:00
|
|
|
DEPENDS:=+python3-light +python3-uuid
|
2019-02-11 22:08:22 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-paho-mqtt/description
|
2020-09-29 06:55:19 +02:00
|
|
|
MQTT version 3.1/3.1.1/5.0 client class
|
2019-02-11 22:08:22 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-paho-mqtt))
|
|
|
|
$(eval $(call BuildPackage,python3-paho-mqtt))
|
|
|
|
$(eval $(call BuildPackage,python3-paho-mqtt-src))
|