python-automat: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 2 Aug 2017 05:57:25 +0000 (07:57 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 13 Aug 2017 15:32:11 +0000 (17:32 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Arnout: properly wrapped Config.in help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Config.in
package/python-automat/Config.in [new file with mode: 0644]
package/python-automat/python-automat.hash [new file with mode: 0644]
package/python-automat/python-automat.mk [new file with mode: 0644]

index 9bc3209ec8dc3a1643b82fa82a5b293e660cd9d6..5f83a4d0e6bd244d199485c5dbba98c9b6c61957 100644 (file)
@@ -694,6 +694,7 @@ menu "External python modules"
        source "package/python-asn1crypto/Config.in"
        source "package/python-attrs/Config.in"
        source "package/python-autobahn/Config.in"
+       source "package/python-automat/Config.in"
        source "package/python-babel/Config.in"
        source "package/python-backports-abc/Config.in"
        source "package/python-backports-shutil-get-terminal-size/Config.in"
diff --git a/package/python-automat/Config.in b/package/python-automat/Config.in
new file mode 100644 (file)
index 0000000..ee02d22
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_AUTOMAT
+       bool "python-automat"
+       select BR2_PACKAGE_PYTHON_ATTRS # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         Self-service finite-state machines for the programmer on the
+         go.
+
+         https://github.com/glyph/Automat
diff --git a/package/python-automat/python-automat.hash b/package/python-automat/python-automat.hash
new file mode 100644 (file)
index 0000000..c0e3505
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/automat/json, sha256 locally computed
+md5    ad7bba58d262d8956d732330cb5ef53d  Automat-0.6.0.tar.gz
+sha256 3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8  Automat-0.6.0.tar.gz
diff --git a/package/python-automat/python-automat.mk b/package/python-automat/python-automat.mk
new file mode 100644 (file)
index 0000000..96a4f51
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-automat
+#
+################################################################################
+
+PYTHON_AUTOMAT_VERSION = 0.6.0
+PYTHON_AUTOMAT_SOURCE = Automat-$(PYTHON_AUTOMAT_VERSION).tar.gz
+PYTHON_AUTOMAT_SITE = https://pypi.python.org/packages/de/05/b8e453085cf8a7f27bb1226596f4ccf5cc9e758377d60284f990bbdc592c
+PYTHON_AUTOMAT_SETUP_TYPE = setuptools
+PYTHON_AUTOMAT_LICENSE = MIT
+PYTHON_AUTOMAT_LICENSE_FILES = LICENSE
+PYTHON_AUTOMAT_DEPENDENCIES = host-python-m2r host-python-setuptools-scm
+
+$(eval $(python-package))