summaryrefslogtreecommitdiff
path: root/lang/python/python-automat
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-02 14:46:58 +0300
committerGitHub <noreply@github.com>2020-04-02 14:46:58 +0300
commit803dd9c739fa392150adc1b1dda9fa84ba3ce454 (patch)
tree3f48e030be3ab66d8fc446065257a6382c97a97c /lang/python/python-automat
parent8d53a5605d1cf2f9e0721ce0891c50ebf91a00c6 (diff)
parent658b1b67587c4698f6a4c182e9afea7cb5fba2ee (diff)
Merge pull request #11740 from jefferyto/python2-remove-libraries
python-libraries: Remove Python 2 variants/libraries
Diffstat (limited to 'lang/python/python-automat')
-rw-r--r--lang/python/python-automat/Makefile27
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))