From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 06/10] python3-py: new package
Date: Thu, 2 Jul 2020 15:05:14 +0200 [thread overview]
Message-ID: <20200702130518.26953-6-p.zabel@pengutronix.de> (raw)
In-Reply-To: <20200702130518.26953-1-p.zabel@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
rules/python3-py.in | 8 +++++++
rules/python3-py.make | 54 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
create mode 100644 rules/python3-py.in
create mode 100644 rules/python3-py.make
diff --git a/rules/python3-py.in b/rules/python3-py.in
new file mode 100644
index 000000000000..2adfa171499b
--- /dev/null
+++ b/rules/python3-py.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_PY
+ tristate
+ select PYTHON3
+ prompt "py"
+ help
+ library with cross-python path, ini-parsing, io, code, log facilities
diff --git a/rules/python3-py.make b/rules/python3-py.make
new file mode 100644
index 000000000000..15ab62db98c1
--- /dev/null
+++ b/rules/python3-py.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PY) += python3-py
+
+#
+# Paths and names
+#
+PYTHON3_PY_VERSION := 1.9.0
+PYTHON3_PY_MD5 := b80db4e61eef724f49feb4d20b649e62
+PYTHON3_PY := py-$(PYTHON3_PY_VERSION)
+PYTHON3_PY_SUFFIX := tar.gz
+PYTHON3_PY_URL := https://pypi.python.org/packages/97/a6/ab9183fe08f69a53d06ac0ee8432bc0ffbb3989c575cc69b73a0229a9a99/$(PYTHON3_PY).$(PYTHON3_PY_SUFFIX)
+PYTHON3_PY_SOURCE := $(SRCDIR)/$(PYTHON3_PY).$(PYTHON3_PY_SUFFIX)
+PYTHON3_PY_DIR := $(BUILDDIR)/$(PYTHON3_PY)
+PYTHON3_PY_LICENSE := MIT
+PYTHON3_PY_LICENSE_FILES := \
+ file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PY_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-py.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-py)
+ @$(call install_fixup, python3-py, PRIORITY, optional)
+ @$(call install_fixup, python3-py, SECTION, base)
+ @$(call install_fixup, python3-py, AUTHOR, "Philipp Zabel <p.zabel@pengutronix.de>")
+ @$(call install_fixup, python3-py, DESCRIPTION, missing)
+
+ @$(call install_glob, python3-py, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py)
+
+ @$(call install_finish, python3-py)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2020-07-02 13:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 13:05 [ptxdist] [PATCH 01/10] python3-attrs: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 02/10] python3-importlib-metadata: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 03/10] python3-more-itertools: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 04/10] python3-packaging: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 05/10] python3-pluggy: " Philipp Zabel
2020-07-02 13:05 ` Philipp Zabel [this message]
2020-07-02 13:05 ` [ptxdist] [PATCH 07/10] python3-pyparsing: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 08/10] python3-wcwidth: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 09/10] python3-zipp: " Philipp Zabel
2020-07-02 13:05 ` [ptxdist] [PATCH 10/10] python3-pytest: " Philipp Zabel
2020-07-03 9:22 ` Michael Olbrich
2020-07-03 9:54 ` Philipp Zabel
2020-07-03 11:06 ` Michael Olbrich
2020-07-03 9:19 ` [ptxdist] [PATCH 01/10] python3-attrs: " Michael Olbrich
2020-07-03 9:54 ` Philipp Zabel
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=20200702130518.26953-6-p.zabel@pengutronix.de \
--to=p.zabel@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