mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/4] python3-async-timeout: new package
@ 2018-01-29 15:42 Bastian Stender
  2018-01-29 15:42 ` [ptxdist] [PATCH 2/4] python3-multidict: " Bastian Stender
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bastian Stender @ 2018-01-29 15:42 UTC (permalink / raw)
  To: ptxdist; +Cc: Pim Klanke

From: Pim Klanke <pim@protonic.nl>

Signed-off-by: Pim Klanke <pim@protonic.nl>
---
 rules/python3-async-timeout.in   |  9 +++++++
 rules/python3-async-timeout.make | 54 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/python3-async-timeout.in
 create mode 100644 rules/python3-async-timeout.make

diff --git a/rules/python3-async-timeout.in b/rules/python3-async-timeout.in
new file mode 100644
index 000000000..257a77902
--- /dev/null
+++ b/rules/python3-async-timeout.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_ASYNC_TIMEOUT
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	prompt "async-timeout"
+	help
+	  asyncio-compatible timeout class
diff --git a/rules/python3-async-timeout.make b/rules/python3-async-timeout.make
new file mode 100644
index 000000000..38743b5c3
--- /dev/null
+++ b/rules/python3-async-timeout.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_ASYNC_TIMEOUT) += python3-async-timeout
+
+#
+# Paths and names
+#
+PYTHON3_ASYNC_TIMEOUT_VERSION	:= 2.0.0
+PYTHON3_ASYNC_TIMEOUT_MD5	:= 36e75397e54c6b899ffabdfe295a9f7c
+PYTHON3_ASYNC_TIMEOUT		:= async-timeout-$(PYTHON3_ASYNC_TIMEOUT_VERSION)
+PYTHON3_ASYNC_TIMEOUT_SUFFIX	:= tar.gz
+PYTHON3_ASYNC_TIMEOUT_URL	:= https://pypi.python.org/packages/78/10/7fd2551dc51f6065bdbba07d395865df4582cc18169297e7a5c8d90f5bd2/$(PYTHON3_ASYNC_TIMEOUT).$(PYTHON3_ASYNC_TIMEOUT_SUFFIX)
+PYTHON3_ASYNC_TIMEOUT_SOURCE	:= $(SRCDIR)/$(PYTHON3_ASYNC_TIMEOUT).$(PYTHON3_ASYNC_TIMEOUT_SUFFIX)
+PYTHON3_ASYNC_TIMEOUT_DIR	:= $(BUILDDIR)/$(PYTHON3_ASYNC_TIMEOUT)
+PYTHON3_ASYNC_TIMEOUT_LICENSE	:= Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ASYNC_TIMEOUT_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-async-timeout.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-async-timeout)
+	@$(call install_fixup, python3-async-timeout, PRIORITY, optional)
+	@$(call install_fixup, python3-async-timeout, SECTION, base)
+	@$(call install_fixup, python3-async-timeout, AUTHOR, "Pim Klanke <pim@protonic.nl>")
+	@$(call install_fixup, python3-async-timeout, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-async-timeout, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/async_timeout,, *.py)
+
+	@$(call install_finish, python3-async-timeout)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-29 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 15:42 [ptxdist] [PATCH 1/4] python3-async-timeout: new package Bastian Stender
2018-01-29 15:42 ` [ptxdist] [PATCH 2/4] python3-multidict: " Bastian Stender
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox