From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 24 Jun 2022 13:47:15 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o4hmM-00DB0c-2R for lore@lore.pengutronix.de; Fri, 24 Jun 2022 13:47:15 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1o4hmM-0004yB-Ff; Fri, 24 Jun 2022 13:47:14 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4hlP-0004QB-9S; Fri, 24 Jun 2022 13:46:15 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o4hlN-002PtJ-3E; Fri, 24 Jun 2022 13:46:14 +0200 Received: from ejo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o4hlN-000gDP-1q; Fri, 24 Jun 2022 13:46:13 +0200 From: Enrico Jorns To: ptxdist@pengutronix.de Date: Fri, 24 Jun 2022 13:42:41 +0200 Message-Id: <20220624114246.161813-2-ejo@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220624114246.161813-1-ejo@pengutronix.de> References: <20220624114246.161813-1-ejo@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v2 1/6] python3-charset-normalizer: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ejo@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Requirement for newer python3-aiohttp. Signed-off-by: Enrico Jorns --- 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 +# +# 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 ") + @$(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