mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 01/10] python3-attrs: new package
@ 2020-07-03 11:57 Philipp Zabel
  2020-07-03 11:57 ` [ptxdist] [PATCH v2 02/10] python3-importlib-metadata: " Philipp Zabel
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Philipp Zabel @ 2020-07-03 11:57 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/python3-attrs.in   |  8 ++++++
 rules/python3-attrs.make | 54 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-attrs.in
 create mode 100644 rules/python3-attrs.make

diff --git a/rules/python3-attrs.in b/rules/python3-attrs.in
new file mode 100644
index 000000000000..98ff9134a306
--- /dev/null
+++ b/rules/python3-attrs.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_ATTRS
+	tristate
+	select PYTHON3
+	prompt "attrs"
+	help
+	  attrs: Classes Without Boilerplate
diff --git a/rules/python3-attrs.make b/rules/python3-attrs.make
new file mode 100644
index 000000000000..ba25f8db33e4
--- /dev/null
+++ b/rules/python3-attrs.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_ATTRS) += python3-attrs
+
+#
+# Paths and names
+#
+PYTHON3_ATTRS_VERSION	:= 19.3.0
+PYTHON3_ATTRS_MD5	:= 5b2db50fcc31be34d32798183c9bd062
+PYTHON3_ATTRS		:= attrs-$(PYTHON3_ATTRS_VERSION)
+PYTHON3_ATTRS_SUFFIX	:= tar.gz
+PYTHON3_ATTRS_URL	:= https://pypi.python.org/packages/source/a/attrs/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
+PYTHON3_ATTRS_SOURCE	:= $(SRCDIR)/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
+PYTHON3_ATTRS_DIR	:= $(BUILDDIR)/$(PYTHON3_ATTRS)
+PYTHON3_ATTRS_LICENSE	:= MIT
+PYTHON3_ATTRS_LICENSE_FILES := \
+	file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ATTRS_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-attrs.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-attrs)
+	@$(call install_fixup, python3-attrs, PRIORITY, optional)
+	@$(call install_fixup, python3-attrs, SECTION, base)
+	@$(call install_fixup, python3-attrs, AUTHOR, "Philipp Zabel <p.zabel@pengutronix.de>")
+	@$(call install_fixup, python3-attrs, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-attrs, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py)
+
+	@$(call install_finish, python3-attrs)
+
+	@$(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

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

end of thread, other threads:[~2020-07-06  6:32 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 11:57 [ptxdist] [PATCH v2 01/10] python3-attrs: new package Philipp Zabel
2020-07-03 11:57 ` [ptxdist] [PATCH v2 02/10] python3-importlib-metadata: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 03/10] python3-more-itertools: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 04/10] python3-packaging: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 05/10] python3-pluggy: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 06/10] python3-py: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 07/10] python3-pyparsing: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 08/10] python3-wcwidth: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 09/10] python3-zipp: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-03 11:57 ` [ptxdist] [PATCH v2 10/10] python3-pytest: " Philipp Zabel
2020-07-06  6:32   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-06  6:32 ` [ptxdist] [APPLIED] python3-attrs: " Michael Olbrich

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