@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := python-automat
PKG_NAME := python-automat
PKG_VERSION := 0.7.0
PKG_VERSION := 0.7.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := Automat-$( PKG_VERSION) .tar.gz
PKG_SOURCE := Automat-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/A/Automat
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)
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) "
d e f i n e P a c k a g e / p y t h o n - a u t o m a t / D e f a u l t
d e f i n e P a c k a g e / p y t h o n - a u t o m a t / D e f a u l t
SECTION:= lang
SECTION:= lang
CATEGORY:= Languages
CATEGORY:= Languages
SUBMENU:= Python
SUBMENU:= Python
TITLE:= Concise, idiomatic finite-state automata
URL:= https://github.com/glyph/Automat
URL:= https://github.com/glyph/Automat
e n d e f
e n d e f
d e f i n e P a c k a g e / p y t h o n - a u t o m a t
d e f i n e P a c k a g e / p y t h o n - a u t o m a t
$( call Package /python -automat /Default )
$( call Package /python -automat /Default )
TITLE:= Concise, idiomatic finite-state automata
DEPENDS:= \
DEPENDS:= \
+PACKAGE_python-automat:python-light \
+PACKAGE_python-automat:python-light \
+PACKAGE_python-automat:python-attrs \
+PACKAGE_python-automat:python-attrs \
@ -46,7 +51,6 @@ endef
d e f i n e P a c k a g e / p y t h o n 3 - a u t o m a t
d e f i n e P a c k a g e / p y t h o n 3 - a u t o m a t
$( call Package /python -automat /Default )
$( call Package /python -automat /Default )
TITLE:= Concise, idiomatic finite-state automata
DEPENDS:= \
DEPENDS:= \
+PACKAGE_python3-automat:python3-light \
+PACKAGE_python3-automat:python3-light \
+PACKAGE_python3-automat:python3-attrs \
+PACKAGE_python3-automat:python3-attrs \
@ -76,20 +80,6 @@ define Py3Package/python3-automat/filespec
- | $( PYTHON 3_PKG_DIR ) / a u t o m a t / _ v i s u a l i z e . p y
- | $( PYTHON 3_PKG_DIR ) / a u t o m a t / _ v i s u a l i z e . p y
e n d e f
e n d e f
d e f i n e P y B u i l d / C o m p i l e
$( call Build/Compile/PyMod,, \
install --prefix= "/usr" --root= " $( PKG_INSTALL_DIR) " , \
PKG_VERSION = " $( PKG_VERSION) " \
)
e n d e f
d e f i n e P y 3 B u i l d / C o m p i l e
$( call Build/Compile/Py3Mod,, \
install --prefix= "/usr" --root= " $( PKG_INSTALL_DIR) " , \
PKG_VERSION = " $( PKG_VERSION) " \
)
e n d e f
$( eval $ ( call PyPackage ,python -automat ) )
$( eval $ ( call PyPackage ,python -automat ) )
$( eval $ ( call BuildPackage ,python -automat ) )
$( eval $ ( call BuildPackage ,python -automat ) )
$( eval $ ( call BuildPackage ,python -automat -src ) )
$( eval $ ( call BuildPackage ,python -automat -src ) )