From: Enrico Jorns <ejo@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: ejo@pengutronix.de
Subject: [ptxdist] [PATCH 1/6] python3-charset-normalizer: new package
Date: Mon, 20 Jun 2022 10:41:12 +0200 [thread overview]
Message-ID: <20220620084117.3066330-2-ejo@pengutronix.de> (raw)
In-Reply-To: <20220620084117.3066330-1-ejo@pengutronix.de>
Requirement for newer python3-aiohttp.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
---
rules/python3-charset-normalizer.in | 8 +++++
rules/python3-charset-normalizer.make | 52 +++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 rules/python3-charset-normalizer.in
create mode 100644 rules/python3-charset-normalizer.make
diff --git a/rules/python3-charset-normalizer.in b/rules/python3-charset-normalizer.in
new file mode 100644
index 000000000..58167da25
--- /dev/null
+++ b/rules/python3-charset-normalizer.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_CHARSET_NORMALIZER
+ tristate
+ select PYTHON3
+ prompt "charset-normalizer"
+ help
+ Truly universal encoding detector in pure Python
diff --git a/rules/python3-charset-normalizer.make b/rules/python3-charset-normalizer.make
new file mode 100644
index 000000000..e207305d7
--- /dev/null
+++ b/rules/python3-charset-normalizer.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Enrico Jorns <e.joerns@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_CHARSET_NORMALIZER) += python3-charset-normalizer
+
+#
+# Paths and names
+#
+PYTHON3_CHARSET_NORMALIZER_VERSION := 2.0.12
+PYTHON3_CHARSET_NORMALIZER_MD5 := f6664e0e90dbb3cc9cfc154a980f9864
+PYTHON3_CHARSET_NORMALIZER := charset-normalizer-$(PYTHON3_CHARSET_NORMALIZER_VERSION)
+PYTHON3_CHARSET_NORMALIZER_SUFFIX := tar.gz
+PYTHON3_CHARSET_NORMALIZER_URL := $(call ptx/mirror-pypi, charset-normalizer, $(PYTHON3_CHARSET_NORMALIZER).$(PYTHON3_CHARSET_NORMALIZER_SUFFIX))
+PYTHON3_CHARSET_NORMALIZER_SOURCE := $(SRCDIR)/$(PYTHON3_CHARSET_NORMALIZER).$(PYTHON3_CHARSET_NORMALIZER_SUFFIX)
+PYTHON3_CHARSET_NORMALIZER_DIR := $(BUILDDIR)/$(PYTHON3_CHARSET_NORMALIZER)
+PYTHON3_CHARSET_NORMALIZER_LICENSE := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_CHARSET_NORMALIZER_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-charset-normalizer.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-charset-normalizer)
+ @$(call install_fixup, python3-charset-normalizer,PRIORITY,optional)
+ @$(call install_fixup, python3-charset-normalizer,SECTION,base)
+ @$(call install_fixup, python3-charset-normalizer,AUTHOR,"Enrico Jorns <e.joerns@pengutronix.de>")
+ @$(call install_fixup, python3-charset-normalizer,DESCRIPTION,"Truly universal encoding detector in pure Python")
+
+ @$(call install_glob, python3-charset-normalizer, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-charset-normalizer)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.30.2
next prev parent reply other threads:[~2022-06-20 8:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 8:41 [ptxdist] [PATCH 0/6] python3-aiohttp version bump to 3.8.1 Enrico Jorns
2022-06-20 8:41 ` Enrico Jorns [this message]
2022-06-24 5:09 ` [ptxdist] [PATCH 1/6] python3-charset-normalizer: new package Michael Olbrich
2022-06-20 8:41 ` [ptxdist] [PATCH 2/6] python3-async-timeout.make: version bump 3.0.1 -> 4.0.2 Enrico Jorns
2022-06-20 8:41 ` [ptxdist] [PATCH 3/6] python3-idna-ssl: new package Enrico Jorns
2022-06-24 5:10 ` Michael Olbrich
2022-06-24 11:46 ` Enrico Jörns
2022-06-20 8:41 ` [ptxdist] [PATCH 4/6] python3-frozenlist: " Enrico Jorns
2022-06-20 8:41 ` [ptxdist] [PATCH 5/6] python3-aiosignal: " Enrico Jorns
2022-06-20 8:41 ` [ptxdist] [PATCH 6/6] python3-aiohttp: version bump 3.6.1 -> 3.8.1 Enrico Jorns
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=20220620084117.3066330-2-ejo@pengutronix.de \
--to=ejo@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