mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/5] python3-transitions: new package
@ 2018-01-29 15:40 Bastian Stender
  2018-01-29 15:40 ` [ptxdist] [PATCH 2/5] python3-websockets: " Bastian Stender
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bastian Stender @ 2018-01-29 15:40 UTC (permalink / raw)
  To: ptxdist; +Cc: David Jander

From: David Jander <david@protonic.nl>

Signed-off-by: David Jander <david@protonic.nl>
---
 rules/python3-transitions.in   | 10 ++++++++
 rules/python3-transitions.make | 54 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 rules/python3-transitions.in
 create mode 100644 rules/python3-transitions.make

diff --git a/rules/python3-transitions.in b/rules/python3-transitions.in
new file mode 100644
index 000000000..2e2c05f3d
--- /dev/null
+++ b/rules/python3-transitions.in
@@ -0,0 +1,10 @@
+## SECTION=python3
+
+config PYTHON3_TRANSITIONS
+	tristate
+	prompt "python3-transitions"
+	select HOST_PYTHON3_SETUPTOOLS
+	select PYTHON3
+	select PYTHON3_SIX
+	help
+	  A lightweight, object-oriented finite state machine implementation in Python.
diff --git a/rules/python3-transitions.make b/rules/python3-transitions.make
new file mode 100644
index 000000000..d8eddcde9
--- /dev/null
+++ b/rules/python3-transitions.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by David Jander <david@protonic.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_TRANSITIONS) += python3-transitions
+
+#
+# Paths and names
+#
+PYTHON3_TRANSITIONS_VERSION	:= 0.5.3
+PYTHON3_TRANSITIONS_MD5		:= 256d7714bfbbdbc4efe23dc2e58afc45
+PYTHON3_TRANSITIONS		:= python3-transitions-$(PYTHON3_TRANSITIONS_VERSION)
+PYTHON3_TRANSITIONS_SUFFIX	:= tar.gz
+PYTHON3_TRANSITIONS_URL		:= https://github.com/pytransitions/transitions/archive/$(PYTHON3_TRANSITIONS_VERSION).$(PYTHON3_TRANSITIONS_SUFFIX)
+PYTHON3_TRANSITIONS_SOURCE	:= $(SRCDIR)/$(PYTHON3_TRANSITIONS).$(PYTHON3_TRANSITIONS_SUFFIX)
+PYTHON3_TRANSITIONS_DIR		:= $(BUILDDIR)/$(PYTHON3_TRANSITIONS)
+PYTHON3_TRANSITIONS_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_TRANSITIONS_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-transitions.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-transitions)
+	@$(call install_fixup, python3-transitions, PRIORITY, optional)
+	@$(call install_fixup, python3-transitions, SECTION, base)
+	@$(call install_fixup, python3-transitions, AUTHOR, "David Jander <david@protonic.nl>")
+	@$(call install_fixup, python3-transitions, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-transitions, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/transitions,, *.py)
+
+	@$(call install_finish, python3-transitions)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-29 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 15:40 [ptxdist] [PATCH 1/5] python3-transitions: new package Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 2/5] python3-websockets: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 3/5] libyaml: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 4/5] python3-pyyaml: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 5/5] python3-hbmqtt: " Bastian Stender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox