mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 08:14:32 +04:00
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -13,7 +13,6 @@ PKG_HASH:=80f837304ffa8476145ea643f6b98aa94b205013a96f1e5173d7bdc776426aee
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python-package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/python-libmodbus/Default
|
||||
@@ -23,15 +22,6 @@ define Package/python-libmodbus/Default
|
||||
URL:=https://pypi.org/project/pylibmodbus
|
||||
endef
|
||||
|
||||
define Package/python-libmodbus
|
||||
$(call Package/python-libmodbus/Default)
|
||||
TITLE:=python-libmodbus
|
||||
DEPENDS:=+libmodbus \
|
||||
+PACKAGE_python-libmodbus:python-light \
|
||||
+PACKAGE_python-libmodbus:python-cffi
|
||||
VARIANT:=python
|
||||
endef
|
||||
|
||||
define Package/python3-libmodbus
|
||||
$(call Package/python-libmodbus/Default)
|
||||
TITLE:=pylibmodbus
|
||||
@@ -41,18 +31,11 @@ $(call Package/python-libmodbus/Default)
|
||||
VARIANT:=python3
|
||||
endef
|
||||
|
||||
define Package/python-libmodbus/description
|
||||
Python Interface for libmodbus written with CFFI.
|
||||
endef
|
||||
|
||||
define Package/python3-libmodbus/description
|
||||
$(call Package/python-libmodbus/description)
|
||||
Python Interface for libmodbus written with CFFI.
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
$(eval $(call PyPackage,python-libmodbus))
|
||||
$(eval $(call BuildPackage,python-libmodbus))
|
||||
|
||||
$(eval $(call Py3Package,python3-libmodbus))
|
||||
$(eval $(call BuildPackage,python3-libmodbus))
|
||||
|
||||
Reference in New Issue
Block a user