mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Enrico Jorns <ejo@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: ejo@pengutronix.de
Subject: [ptxdist] [PATCH v2 1/6] python3-charset-normalizer: new package
Date: Fri, 24 Jun 2022 13:42:41 +0200	[thread overview]
Message-ID: <20220624114246.161813-2-ejo@pengutronix.de> (raw)
In-Reply-To: <20220624114246.161813-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 | 53 +++++++++++++++++++++++++++
 2 files changed, 61 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..95c93bf55
--- /dev/null
+++ b/rules/python3-charset-normalizer.make
@@ -0,0 +1,53 @@
+# -*-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
+PYTHON3_CHARSET_NORMALIZER_LICENSE_FILES	:= file://LICENSE;md5=0974a390827087287db39928f7c524b5
+
+# ----------------------------------------------------------------------------
+# 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




  reply	other threads:[~2022-06-24 11:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 11:42 [ptxdist] [PATCH v2 0/6] python3-aiohttp version bump to 3.8.1 Enrico Jorns
2022-06-24 11:42 ` Enrico Jorns [this message]
2022-07-01  5:10   ` [ptxdist] [APPLIED] python3-charset-normalizer: new package Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 2/6] python3-async-timeout.make: version bump 3.0.1 -> 4.0.2 Enrico Jorns
2022-07-01  5:10   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 3/6] python3-idna-ssl: new package Enrico Jorns
2022-07-01  5:10   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 4/6] python3-frozenlist: " Enrico Jorns
2022-07-01  5:10   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 5/6] python3-aiosignal: " Enrico Jorns
2022-07-01  5:10   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-24 11:42 ` [ptxdist] [PATCH v2 6/6] python3-aiohttp: version bump 3.6.1 -> 3.8.1 Enrico Jorns
2022-07-01  5:10   ` [ptxdist] [APPLIED] " Michael Olbrich

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=20220624114246.161813-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