diff options
Diffstat (limited to 'lang/python/python-automat')
| -rw-r--r-- | lang/python/python-automat/Makefile | 27 |
1 files changed, 1 insertions, 26 deletions
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 <jeffery.to@gmail.com> 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)) |
