summaryrefslogtreecommitdiff
path: root/lang/python/python-automat/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-02-19 17:37:13 +0200
committerGitHub <noreply@github.com>2019-02-19 17:37:13 +0200
commitfe366c5589e15820e892bb57a249ef6113ca0153 (patch)
treedaa861bb91b7e0c50ffad288cc7c5d5e12a2f297 /lang/python/python-automat/Makefile
parent17bb1100178a378df287dce33497e0c131fab54c (diff)
parent8100d33b04324886a6f1a704ee4b824b27082015 (diff)
Merge pull request #8257 from jefferyto/python-packages-default-compile
python-(automat|crypto|gmpy2|parsley): Use default compile
Diffstat (limited to 'lang/python/python-automat/Makefile')
-rw-r--r--lang/python/python-automat/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/lang/python/python-automat/Makefile b/lang/python/python-automat/Makefile
index 0c0ae5947..b2b3a6608 100644
--- a/lang/python/python-automat/Makefile
+++ b/lang/python/python-automat/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-automat
PKG_VERSION:=0.7.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=Automat-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/A/Automat
@@ -27,16 +27,21 @@ include ../python3-package.mk
PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
+PYTHON_PKG_SETUP_VARS:= \
+ PKG_VERSION="$(PKG_VERSION)"
+PYTHON3_PKG_SETUP_VARS:= \
+ PKG_VERSION="$(PKG_VERSION)"
+
define Package/python-automat/Default
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
+ TITLE:=Concise, idiomatic finite-state automata
URL:=https://github.com/glyph/Automat
endef
define Package/python-automat
$(call Package/python-automat/Default)
- TITLE:=Concise, idiomatic finite-state automata
DEPENDS:= \
+PACKAGE_python-automat:python-light \
+PACKAGE_python-automat:python-attrs \
@@ -46,7 +51,6 @@ endef
define Package/python3-automat
$(call Package/python-automat/Default)
- TITLE:=Concise, idiomatic finite-state automata
DEPENDS:= \
+PACKAGE_python3-automat:python3-light \
+PACKAGE_python3-automat:python3-attrs \
@@ -76,20 +80,6 @@ define Py3Package/python3-automat/filespec
-|$(PYTHON3_PKG_DIR)/automat/_visualize.py
endef
-define PyBuild/Compile
- $(call Build/Compile/PyMod,, \
- install --prefix="/usr" --root="$(PKG_INSTALL_DIR)", \
- PKG_VERSION="$(PKG_VERSION)" \
- )
-endef
-
-define Py3Build/Compile
- $(call Build/Compile/Py3Mod,, \
- install --prefix="/usr" --root="$(PKG_INSTALL_DIR)", \
- PKG_VERSION="$(PKG_VERSION)" \
- )
-endef
-
$(eval $(call PyPackage,python-automat))
$(eval $(call BuildPackage,python-automat))
$(eval $(call BuildPackage,python-automat-src))