From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 50724@debbugs.gnu.org
Subject: [bug#50724] [PATCH 1/3] gnu: Add python-charset-normalizer.
Date: Tue, 21 Sep 2021 21:19:06 +0200 [thread overview]
Message-ID: <9243ca3fe7fc61c691c164d5fd73f865eacc4e6b.1632251925.git.h.goebel@crazy-compilers.com> (raw)
* 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
next reply other threads:[~2021-09-21 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 19:19 Hartmut Goebel [this message]
2021-09-21 19:22 ` [bug#50724] [PATCH 2/3] gnu: Add python-platformdirs Hartmut Goebel
2021-09-21 20:12 ` Xinglu Chen
2021-09-23 17:11 ` Hartmut Goebel
2021-09-21 19:22 ` [bug#50724] [PATCH 3/3] gnu: Add python-zeep Hartmut Goebel
2021-09-21 20:16 ` Xinglu Chen
2021-09-23 17:09 ` Hartmut Goebel
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9243ca3fe7fc61c691c164d5fd73f865eacc4e6b.1632251925.git.h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=50724@debbugs.gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).