From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Stender <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] python3-aiofiles: new package
Date: Fri, 19 Jan 2018 10:18:43 +0100 [thread overview]
Message-ID: <20180119091843.17233-1-bst@pengutronix.de> (raw)
Signed-off-by: Bastian Stender <bst@pengutronix.de>
---
rules/python3-aiofiles.in | 8 +++++++
rules/python3-aiofiles.make | 54 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
create mode 100644 rules/python3-aiofiles.in
create mode 100644 rules/python3-aiofiles.make
diff --git a/rules/python3-aiofiles.in b/rules/python3-aiofiles.in
new file mode 100644
index 000000000..607c723f5
--- /dev/null
+++ b/rules/python3-aiofiles.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_AIOFILES
+ tristate
+ select PYTHON3
+ prompt "aiofiles"
+ help
+ Library for handling local disk files in asyncio applications.
diff --git a/rules/python3-aiofiles.make b/rules/python3-aiofiles.make
new file mode 100644
index 000000000..58ae71dd9
--- /dev/null
+++ b/rules/python3-aiofiles.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Bastian Stender <bst@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_AIOFILES) += python3-aiofiles
+
+#
+# Paths and names
+#
+PYTHON3_AIOFILES_VERSION := 0.3.2
+PYTHON3_AIOFILES_MD5 := 726de778d9e4b1c6d5e4d04994a03505
+PYTHON3_AIOFILES := aiofiles-$(PYTHON3_AIOFILES_VERSION)
+PYTHON3_AIOFILES_SUFFIX := tar.gz
+PYTHON3_AIOFILES_URL := https://pypi.python.org/packages/a4/49/f983f0bc7572edad5bbbaf0f91087f1448aee8ba55046f15bb464fb8bb63/$(PYTHON3_AIOFILES).$(PYTHON3_AIOFILES_SUFFIX)
+PYTHON3_AIOFILES_SOURCE := $(SRCDIR)/$(PYTHON3_AIOFILES).$(PYTHON3_AIOFILES_SUFFIX)
+PYTHON3_AIOFILES_DIR := $(BUILDDIR)/$(PYTHON3_AIOFILES)
+PYTHON3_AIOFILES_LICENSE := Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_AIOFILES_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-aiofiles.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-aiofiles)
+ @$(call install_fixup, python3-aiofiles, PRIORITY, optional)
+ @$(call install_fixup, python3-aiofiles, SECTION, base)
+ @$(call install_fixup, python3-aiofiles, AUTHOR, "Bastian Stender <bst@pengutronix.de>")
+ @$(call install_fixup, python3-aiofiles, DESCRIPTION, missing)
+
+ @$(call install_glob, python3-aiofiles, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/aiofiles,, *.py)
+
+ @$(call install_finish, python3-aiofiles)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2018-01-19 9:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180119091843.17233-1-bst@pengutronix.de \
--to=bst@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