* [ptxdist] [PATCH] python3-aiofiles: new package
@ 2018-01-19 9:18 Bastian Stender
0 siblings, 0 replies; only message in thread
From: Bastian Stender @ 2018-01-19 9:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Stender
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-19 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 9:18 [ptxdist] [PATCH] python3-aiofiles: new package Bastian Stender
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox