2018-01-15 19:33:46 +00:00
|
|
|
#
|
2023-05-17 11:03:52 +00:00
|
|
|
# Copyright (C) 2018-2020, 2023 Jeffery To
|
2018-01-15 19:33:46 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-automat
|
2023-05-17 11:03:52 +00:00
|
|
|
PKG_VERSION:=22.10.0
|
|
|
|
PKG_RELEASE:=1
|
2018-01-15 19:33:46 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=Automat
|
2023-05-17 11:03:52 +00:00
|
|
|
PKG_HASH:=e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e
|
2018-01-15 19:33:46 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
|
|
|
|
2023-05-17 11:03:52 +00:00
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2018-01-15 19:33:46 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-04-21 17:27:50 +00:00
|
|
|
define Package/python3-automat
|
2018-01-15 19:33:46 +00:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2019-02-19 14:54:43 +00:00
|
|
|
TITLE:=Concise, idiomatic finite-state automata
|
2018-01-15 19:33:46 +00:00
|
|
|
URL:=https://github.com/glyph/Automat
|
|
|
|
DEPENDS:= \
|
2020-04-21 17:27:50 +00:00
|
|
|
+python3-light \
|
|
|
|
+python3-attrs \
|
|
|
|
+python3-six
|
2018-01-15 19:33:46 +00:00
|
|
|
endef
|
|
|
|
|
2020-04-01 14:21:16 +00:00
|
|
|
define Package/python3-automat/description
|
2018-01-15 19:33:46 +00:00
|
|
|
Automat is a library for concise, idiomatic Python expression of
|
|
|
|
finite-state automata (particularly deterministic finite-state
|
|
|
|
transducers).
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Py3Package/python3-automat/filespec
|
|
|
|
+|$(PYTHON3_PKG_DIR)
|
|
|
|
-|$(PYTHON3_PKG_DIR)/automat/_visualize.py
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-automat))
|
|
|
|
$(eval $(call BuildPackage,python3-automat))
|
|
|
|
$(eval $(call BuildPackage,python3-automat-src))
|