mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/5] python3-six: new package
Date: Tue,  6 Jun 2017 16:37:03 +0200	[thread overview]
Message-ID: <20170606143705.5219-3-l.stach@pengutronix.de> (raw)
In-Reply-To: <20170606143705.5219-1-l.stach@pengutronix.de>

Six is a Python 2 and 3 compatibility library.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/python3-six.in   |  9 +++++++++
 rules/python3-six.make | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/python3-six.in
 create mode 100644 rules/python3-six.make

diff --git a/rules/python3-six.in b/rules/python3-six.in
new file mode 100644
index 000000000000..b8d7997a16aa
--- /dev/null
+++ b/rules/python3-six.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_SIX
+	tristate
+	prompt "python3-six"
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	help
+	  Six is a Python 2 and 3 compatibility library.
diff --git a/rules/python3-six.make b/rules/python3-six.make
new file mode 100644
index 000000000000..bbc4f10f00be
--- /dev/null
+++ b/rules/python3-six.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Lucas Stach <l.stach@pengutronix.de>
+#
+# 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_SIX) += python3-six
+
+#
+# Paths and names
+#
+PYTHON3_SIX_VERSION	:= 1.10.0
+PYTHON3_SIX_MD5		:= 34eed507548117b2ab523ab14b2f8b55
+PYTHON3_SIX		:= six-$(PYTHON3_SIX_VERSION)
+PYTHON3_SIX_SUFFIX	:= tar.gz
+PYTHON3_SIX_URL		:= https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/$(PYTHON3_SIX).$(PYTHON3_SIX_SUFFIX)
+PYTHON3_SIX_SOURCE	:= $(SRCDIR)/$(PYTHON3_SIX).$(PYTHON3_SIX_SUFFIX)
+PYTHON3_SIX_DIR		:= $(BUILDDIR)/python3-$(PYTHON3_SIX)
+PYTHON3_SIX_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_SIX_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-six.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-six)
+	@$(call install_fixup, python3-six,PRIORITY,optional)
+	@$(call install_fixup, python3-six,SECTION,base)
+	@$(call install_fixup, python3-six,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, python3-six,DESCRIPTION,missing)
+
+	@$(call install_copy, python3-six, 0, 0, 0644, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/six.pyc)
+
+	@$(call install_finish, python3-six)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2017-06-06 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 14:37 [ptxdist] [PATCH 1/5] host-system-python: add check for six and numpy modules Lucas Stach
2017-06-06 14:37 ` [ptxdist] [PATCH 2/5] waffle: new package Lucas Stach
2017-06-06 14:37 ` Lucas Stach [this message]
2017-06-07  9:25   ` [ptxdist] [PATCH 3/5] python3-six: " Roland Hieber
2017-06-06 14:37 ` [ptxdist] [PATCH 4/5] python3-mako: " Lucas Stach
2017-06-06 14:37 ` [ptxdist] [PATCH 5/5] piglit: " Lucas Stach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170606143705.5219-3-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox