From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Pim Klanke <pim@protonic.nl>
Subject: [ptxdist] [PATCH 2/4] python3-multidict: new package
Date: Mon, 29 Jan 2018 16:42:27 +0100 [thread overview]
Message-ID: <20180129154229.17492-2-bst@pengutronix.de> (raw)
In-Reply-To: <20180129154229.17492-1-bst@pengutronix.de>
From: Pim Klanke <pim@protonic.nl>
Signed-off-by: Pim Klanke <pim@protonic.nl>
---
rules/python3-multidict.in | 10 ++++++++
rules/python3-multidict.make | 54 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
create mode 100644 rules/python3-multidict.in
create mode 100644 rules/python3-multidict.make
diff --git a/rules/python3-multidict.in b/rules/python3-multidict.in
new file mode 100644
index 000000000..9f10b462d
--- /dev/null
+++ b/rules/python3-multidict.in
@@ -0,0 +1,10 @@
+## SECTION=python3
+
+config PYTHON3_MULTIDICT
+ tristate
+ select HOST_PYTHON3_SETUPTOOLS
+ select PYTHON3
+ prompt "multidict"
+ help
+ Multidict is a dict-like collection of key-value pairs where
+ the key might occur more than once in the container.
diff --git a/rules/python3-multidict.make b/rules/python3-multidict.make
new file mode 100644
index 000000000..2f388aebc
--- /dev/null
+++ b/rules/python3-multidict.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Pim Klanke <pim@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_MULTIDICT) += python3-multidict
+
+#
+# Paths and names
+#
+PYTHON3_MULTIDICT_VERSION := 2.1.4
+PYTHON3_MULTIDICT_MD5 := 051d92edec87fd98e43ea83f3ce6072d
+PYTHON3_MULTIDICT := multidict-$(PYTHON3_MULTIDICT_VERSION)
+PYTHON3_MULTIDICT_SUFFIX := tar.gz
+PYTHON3_MULTIDICT_URL := https://pypi.python.org/packages/2a/df/eaea73e46a58fd780c35ecc304ca42364fa3c1f4cd03568ed33b9d2c7547/$(PYTHON3_MULTIDICT).$(PYTHON3_MULTIDICT_SUFFIX)
+PYTHON3_MULTIDICT_SOURCE := $(SRCDIR)/$(PYTHON3_MULTIDICT).$(PYTHON3_MULTIDICT_SUFFIX)
+PYTHON3_MULTIDICT_DIR := $(BUILDDIR)/$(PYTHON3_MULTIDICT)
+PYTHON3_MULTIDICT_LICENSE := Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_MULTIDICT_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-multidict.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-multidict)
+ @$(call install_fixup, python3-multidict, PRIORITY, optional)
+ @$(call install_fixup, python3-multidict, SECTION, base)
+ @$(call install_fixup, python3-multidict, AUTHOR, "Pim Klanke <pim@protonic.nl>")
+ @$(call install_fixup, python3-multidict, DESCRIPTION, missing)
+
+ @$(call install_glob, python3-multidict, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/multidict,, *.py)
+
+ @$(call install_finish, python3-multidict)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.15.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2018-01-29 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-29 15:42 [ptxdist] [PATCH 1/4] python3-async-timeout: " Bastian Stender
2018-01-29 15:42 ` Bastian Stender [this message]
2018-01-29 15:42 ` [ptxdist] [PATCH 3/4] python3-yarl: " Bastian Stender
2018-01-29 15:42 ` [ptxdist] [PATCH 4/4] python3-aiohttp: version bump 0.21.4 -> 1.2.0 Bastian Stender
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=20180129154229.17492-2-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=pim@protonic.nl \
--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