From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id JxyOD6MwSmFa0gAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 21:21:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uXl4CqMwSmGNIwAAbx9fmQ (envelope-from ) for ; Tue, 21 Sep 2021 19:21:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 040752B549 for ; Tue, 21 Sep 2021 21:21:07 +0200 (CEST) Received: from localhost ([::1]:40454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSlKD-0005gI-WE for larch@yhetil.org; Tue, 21 Sep 2021 15:21:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlJD-0005eu-4a for guix-patches@gnu.org; Tue, 21 Sep 2021 15:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSlJC-0007oW-Pd for guix-patches@gnu.org; Tue, 21 Sep 2021 15:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSlJC-0004Mv-Ay for guix-patches@gnu.org; Tue, 21 Sep 2021 15:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50724] [PATCH 1/3] gnu: Add python-charset-normalizer. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Sep 2021 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50724 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50724@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163225196516721 (code B ref -1); Tue, 21 Sep 2021 19:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Sep 2021 19:19:25 +0000 Received: from localhost ([127.0.0.1]:48027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSlIa-0004Ld-UN for submit@debbugs.gnu.org; Tue, 21 Sep 2021 15:19:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:43120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSlIZ-0004LV-5j for submit@debbugs.gnu.org; Tue, 21 Sep 2021 15:19:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlIU-00059d-4C for guix-patches@gnu.org; Tue, 21 Sep 2021 15:19:22 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:36071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlIR-0007Hd-Oj for guix-patches@gnu.org; Tue, 21 Sep 2021 15:19:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HDWSb4mYdz1qwxy for ; Tue, 21 Sep 2021 21:19:11 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HDWSb4gYRz1qqkB for ; Tue, 21 Sep 2021 21:19:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id mmBylxvPIE57 for ; Tue, 21 Sep 2021 21:19:10 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-86-73.dynamic.mnet-online.de [188.174.86.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 21 Sep 2021 21:19:10 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E8776600B0; Tue, 21 Sep 2021 21:19:22 +0200 (CEST) From: Hartmut Goebel Date: Tue, 21 Sep 2021 21:19:06 +0200 Message-Id: <9243ca3fe7fc61c691c164d5fd73f865eacc4e6b.1632251925.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632252067; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Be0Vz9iMhSgFaeMhMwUO3JYo38nSmfkBL+Fr2MSd51o=; b=ApIa8MiarDt2Uz5ojYQcz4lnTF6r0UBW1HMzIznLAF1ym/bc165NwZHxv3/hapIlOmYni1 toA/uROstk1+50hS/BeJog2KAxN1zF0HQkp6Ol+5X1FUrp6zSuzCgKjsP4dg6kINTSyvV+ NdMebG2nLs/+GYQGbH+YRTzgRZaCcado8f3gXzUwST25FZcot8oeyhHFF7AL8ES18fW24s JulRQRbXg0Biq62Vdi2Pbofa8x4+RiWiou3Pw8dPaRSxDD71ZtAkRNn5SLcWCb8YB3PUIW YWotXLtijmZ8WdkqVXKoUbJVXQoRfND06b9dUVaHxk8ieanfcQHdQVViGUluvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632252067; a=rsa-sha256; cv=none; b=QaoYSbYh358gjJn+fuhecLj+98ixZxE1pu3JRn9rhUteP2zQkVZGr74XoQ03JSSvoYxpX/ 8yhu2flYly4q1oNq0ZHFud/iQMeW/3VcZHdmFCqj+RDo82VPdwotwng568IurcszKGzxfj sDstDjeq/GZNFhuzgxikG9fzIMnWS3dm8WBL21bAFjT2+gNMRbMe8NZok1WsFUKryq5EvF ORb9DM8AVmMrT6wasxkgy0oqd2PZGPTjTd3pJR+qEiCI6o17WxpIalIb+RlndtBRVkBzYu oPWny3qYGwGDBjHqCnkb2p/i5NBNYW2i813dBb6NORc4vj7UZmhCWtSPaBdnPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 040752B549 X-Spam-Score: 2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: +cFDLtwR6IDy * gnu/packages/python-xyz.scm (python-charset-normalizer): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 88c89ed201..7239fa1584 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11819,6 +11819,27 @@ automatically detect a wide range of file encodings.") (define-public python2-chardet (package-with-python2 python-chardet)) +(define-public python-charset-normalizer + (package + (name "python-charset-normalizer") + (version "2.0.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "charset-normalizer" version)) + (sha256 + (base32 "0rr3iv2xw4rz5ijnfqk229fw85cq6p6rhqqsilm0ldzncblfg63h")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/ousret/charset_normalizer") + (synopsis "Universal Charset Detector, alternative to Chardet") + (description "This library helps you read text from an unknown charset +encoding. Motivated by @code{chardet}, it tries to resolve the issue by +taking a new approach. All IANA character set names for which the Python core +library provides codecs are supported.") + (license license:expat))) + (define-public python-docopt (package (name "python-docopt") -- 2.30.2