summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorLars Pedersen <lapeddk@gmail.com>2020-11-24 10:56:46 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-11-25 10:27:03 +0100
commit88069189770bb69d679fc2f5b712bcd549f25e72 (patch)
treeae81003ecb8adf9ece3951fdf0de3063a0ddc345 /rules
parent24cf43b69a8a057785facc2c05ea790298e7f149 (diff)
downloadptxdist-88069189770bb69d679fc2f5b712bcd549f25e72.tar.gz
ptxdist-88069189770bb69d679fc2f5b712bcd549f25e72.tar.xz
Bugfix: python3-urllib3: wrong location
Fixes: 70199fad77ee ("python3-urllib3: new package") For some reason the patch ended up in the wrong location. Signed-off-by: Lars Pedersen <lapeddk@gmail.com> Message-Id: <20201124095646.22087-1-lapeddk@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/python3-urllib3.in8
-rw-r--r--rules/python3-urllib3.make54
2 files changed, 62 insertions, 0 deletions
diff --git a/rules/python3-urllib3.in b/rules/python3-urllib3.in
new file mode 100644
index 000000000..e97430a41
--- /dev/null
+++ b/rules/python3-urllib3.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_URLLIB3
+ tristate
+ select PYTHON3
+ prompt "urllib3"
+ help
+ HTTP library with thread-safe connection pooling, file post, and more.
diff --git a/rules/python3-urllib3.make b/rules/python3-urllib3.make
new file mode 100644
index 000000000..365c9e87e
--- /dev/null
+++ b/rules/python3-urllib3.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Lars Pedersen <lapeddk@gmail.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_URLLIB3) += python3-urllib3
+
+#
+# Paths and names
+#
+PYTHON3_URLLIB3_VERSION := 1.25.11
+PYTHON3_URLLIB3_MD5 := d47dd21a6e66a03c3633cac468ffd010
+PYTHON3_URLLIB3 := urllib3-$(PYTHON3_URLLIB3_VERSION)
+PYTHON3_URLLIB3_SUFFIX := tar.gz
+PYTHON3_URLLIB3_URL := $(call ptx/mirror-pypi, urllib3, $(PYTHON3_URLLIB3).$(PYTHON3_URLLIB3_SUFFIX))
+PYTHON3_URLLIB3_SOURCE := $(SRCDIR)/$(PYTHON3_URLLIB3).$(PYTHON3_URLLIB3_SUFFIX)
+PYTHON3_URLLIB3_DIR := $(BUILDDIR)/$(PYTHON3_URLLIB3)
+PYTHON3_URLLIB3_LICENSE := MIT
+PYTHON3_URLLIB3_LICENSE_FILES := \
+ file://LICENSE.txt;md5=65715c2eb961313d71b297dd5a04f85e \
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_URLLIB3_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-urllib3.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-urllib3)
+ @$(call install_fixup, python3-urllib3,PRIORITY,optional)
+ @$(call install_fixup, python3-urllib3,SECTION,base)
+ @$(call install_fixup, python3-urllib3,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
+ @$(call install_fixup, python3-urllib3,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-urllib3, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-urllib3)
+
+ @$(call touch)
+
+# vim: syntax=make