From patchwork Wed Mar 10 09:00:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 27588 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0E07327BC50; Wed, 10 Mar 2021 09:03:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7171E27BC51 for ; Wed, 10 Mar 2021 09:03:31 +0000 (GMT) Received: from localhost ([::1]:51612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJukc-0005S2-Jt for patchwork@mira.cbaines.net; Wed, 10 Mar 2021 04:03:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJujL-0003qR-PA for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJujL-0007Ue-HP for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJujL-00049A-FF for guix-patches@gnu.org; Wed, 10 Mar 2021 04:02:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#42885] [PATCH 21/27] gnu: Add python-cchardet. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Mar 2021 09:02:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42885 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42885@debbugs.gnu.org Received: via spool by 42885-submit@debbugs.gnu.org id=B42885.161536691915744 (code B ref 42885); Wed, 10 Mar 2021 09:02:11 +0000 Received: (at 42885) by debbugs.gnu.org; 10 Mar 2021 09:01:59 +0000 Received: from localhost ([127.0.0.1]:48695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuj8-00045k-6l for submit@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:58 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:20428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJuj6-000450-P6 for 42885@debbugs.gnu.org; Wed, 10 Mar 2021 04:01:57 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4DwR0H2LtvzQjxK for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:51 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1615366909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=F0OVfZ7gajgPhRzw7EDnsceN/jSAF4w+PkIgOrhWn3k=; b=JumJRT/usHVnhWGy458F28xECZqwylzTrHrzuyKfdd58/dPF/MeXroYMTHX3JBrjtYGdS4 MRqU7dhyT9dRC+k+eJ1Q65YyfCD/9ZQOUuxWkC4z3TPRAWYK3fb5vATJIDr4tP/8klF1Wn 3u3N8+pvOF/KTyK0A7Za76CqOpLxelD+fT8OFJ8rAMOwqWkZklpQYn77Jik+Pe+bWvBFwD +LFxh1kussVdKePsmg0hMtIhOI/NyAMyAcGFroORabU46ugiYX2GxWnXjE9Lk+QE49sS5o GBSFgjBR7YPISQjX6ggNHOchvNyw7mMaUT381EyegecNRGZwQNSYC33sqYm5lA== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id nXmfvzGJVw7u for <42885@debbugs.gnu.org>; Wed, 10 Mar 2021 10:01:44 +0100 (CET) From: Brendan Tildesley Date: Wed, 10 Mar 2021 20:00:47 +1100 Message-Id: <20210310090053.21612-21-mail@brendan.scot> In-Reply-To: <20210310090053.21612-1-mail@brendan.scot> References: <20210310090053.21612-1-mail@brendan.scot> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -10.38 / 15.00 / 15.00 X-Rspamd-Queue-Id: 184491857 X-Rspamd-UID: a466f4 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/freedesktop.scm (python-cchardet): New variable. --- gnu/packages/freedesktop.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index e5f9ea71b6..87f592844d 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2020 Nicolò Balzarotti ;;; Copyright © 2020 Anders Thuné ;;; Copyright © 2020 Raghav Gururajan +;;; Copyright © 2021 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -1920,6 +1921,26 @@ encoding names are iconv-compatible.") ;; combination is GPL 2.0+. (license license:gpl2+))) +(define-public python-cchardet + (package + (name "python-cchardet") + (version "2.1.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cchardet" version)) + (sha256 + (base32 + "1bqfz85cd51sw0bvhvdq9ikccxi2ld7g5jpni4jkq1a5clrvca64")))) + (build-system python-build-system) + (inputs + `(("uchardet" ,uchardet))) + (home-page "https://github.com/PyYoshi/cChardet") + (synopsis "Fast universal character encoding detector") + (description + "cChardet is high speed universal character encoding detector.") + (license license:gpl2+))) + (define-public udiskie (package (name "udiskie")