From 658b1b67587c4698f6a4c182e9afea7cb5fba2ee Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 22:21:16 +0800 Subject: python-libraries: Remove Python 2 variants The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To --- lang/python/python-automat/Makefile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'lang/python/python-automat') diff --git a/lang/python/python-automat/Makefile b/lang/python/python-automat/Makefile index 804d3c881..b399ec03f 100644 --- a/lang/python/python-automat/Makefile +++ b/lang/python/python-automat/Makefile @@ -20,11 +20,8 @@ PKG_MAINTAINER:=Jeffery To include ../pypi.mk include $(INCLUDE_DIR)/package.mk -include ../python-package.mk include ../python3-package.mk -PYTHON_PKG_SETUP_VARS:= \ - PKG_VERSION="$(PKG_VERSION)" PYTHON3_PKG_SETUP_VARS:= \ PKG_VERSION="$(PKG_VERSION)" @@ -36,15 +33,6 @@ define Package/python-automat/Default URL:=https://github.com/glyph/Automat endef -define Package/python-automat -$(call Package/python-automat/Default) - DEPENDS:= \ - +PACKAGE_python-automat:python-light \ - +PACKAGE_python-automat:python-attrs \ - +PACKAGE_python-automat:python-six - VARIANT:=python -endef - define Package/python3-automat $(call Package/python-automat/Default) DEPENDS:= \ @@ -54,32 +42,19 @@ $(call Package/python-automat/Default) VARIANT:=python3 endef -define Package/python-automat/description +define Package/python3-automat/description Automat is a library for concise, idiomatic Python expression of finite-state automata (particularly deterministic finite-state transducers). -endef - -define Package/python3-automat/description -$(call Package/python-automat/description) . (Variant for Python3) endef -define PyPackage/python-automat/filespec -+|$(PYTHON_PKG_DIR) --|$(PYTHON_PKG_DIR)/automat/_visualize.py -endef - define Py3Package/python3-automat/filespec +|$(PYTHON3_PKG_DIR) -|$(PYTHON3_PKG_DIR)/automat/_visualize.py endef -$(eval $(call PyPackage,python-automat)) -$(eval $(call BuildPackage,python-automat)) -$(eval $(call BuildPackage,python-automat-src)) - $(eval $(call Py3Package,python3-automat)) $(eval $(call BuildPackage,python3-automat)) $(eval $(call BuildPackage,python3-automat-src)) -- cgit