mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] python3-ply: new package
@ 2018-01-29 15:58 Bastian Stender
  2018-01-29 15:58 ` [ptxdist] [PATCH 2/2] python3-pyalsaaudio: " Bastian Stender
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Stender @ 2018-01-29 15:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht

From: Robin van der Gracht <robin@protonic.nl>

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/python3-ply.in   |  8 ++++++++
 rules/python3-ply.make | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-ply.in
 create mode 100644 rules/python3-ply.make

diff --git a/rules/python3-ply.in b/rules/python3-ply.in
new file mode 100644
index 000000000..8f10963bd
--- /dev/null
+++ b/rules/python3-ply.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_PLY
+	tristate
+	select PYTHON3
+	prompt "ply"
+	help
+	  Yet another implementation of lex and yacc for Python.
diff --git a/rules/python3-ply.make b/rules/python3-ply.make
new file mode 100644
index 000000000..ea51508ae
--- /dev/null
+++ b/rules/python3-ply.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 by Robin van der Gracht <robin@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_PLY) += python3-ply
+
+#
+# Paths and names
+#
+PYTHON3_PLY_VERSION	:= 3.4
+PYTHON3_PLY_MD5		:= ffdc95858819347bf92d7c2acc074894
+PYTHON3_PLY		:= ply-$(PYTHON3_PLY_VERSION)
+PYTHON3_PLY_SUFFIX	:= tar.gz
+PYTHON3_PLY_URL		:= https://pypi.python.org/packages/source/p/ply/$(PYTHON3_PLY).$(PYTHON3_PLY_SUFFIX)
+PYTHON3_PLY_SOURCE	:= $(SRCDIR)/$(PYTHON3_PLY).$(PYTHON3_PLY_SUFFIX)
+PYTHON3_PLY_DIR		:= $(BUILDDIR)/$(PYTHON3_PLY)
+PYTHON3_PLY_LICENSE	:= BSD
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PLY_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-ply.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-ply)
+	@$(call install_fixup, python3-ply, PRIORITY, optional)
+	@$(call install_fixup, python3-ply, SECTION, base)
+	@$(call install_fixup, python3-ply, AUTHOR, "Robin van der Gracht <robin@protonic.nl>")
+	@$(call install_fixup, python3-ply, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-ply, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ply,, *.py)
+
+	@$(call install_finish, python3-ply)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 15:58 [ptxdist] [PATCH 1/2] python3-ply: new package Bastian Stender
2018-01-29 15:58 ` [ptxdist] [PATCH 2/2] python3-pyalsaaudio: " Bastian Stender

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