[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add python-chardet.
From: |
Ludovic Courtès |
Subject: |
02/06: gnu: Add python-chardet. |
Date: |
Tue, 27 Oct 2015 20:44:59 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 816a653884558feab29ccf470c972262708309f9
Author: Ludovic Courtès <address@hidden>
Date: Tue Oct 27 20:53:48 2015 +0100
gnu: Add python-chardet.
* gnu/packages/python.scm (python-chardet, python2-chardet): New
variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8fc8759..45fd417 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5817,3 +5817,30 @@ Debian-related files, such as:
(define-public python2-debian
(package-with-python2 python-debian))
+
+(define-public python-chardet
+ (package
+ (name "python-chardet")
+ (version "2.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/c/chardet/chardet-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1ak87ikcw34fivcgiz2xvi938dmclh078az65l9x3rmgljrkhgp5"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/chardet/chardet")
+ (synopsis "Universal encoding detector for Python 2 and 3")
+ (description
+ "This package provides @code{chardet}, a Python module that can
+automatically detect a wide range of file encodings.")
+ (license lgpl2.1+)))
+
+(define-public python2-chardet
+ (package-with-python2 python-chardet))
- branch master updated (6ffa706 -> 9f4a249), Ludovic Courtès, 2015/10/27
- 01/06: gnu: Add python-debian., Ludovic Courtès, 2015/10/27
- 04/06: system: grub: On MIPS, the linux image name is vmlinuz, not bzImage., Ludovic Courtès, 2015/10/27
- 05/06: system: grub: Adjust eye-candy to work on non-Intel systems., Ludovic Courtès, 2015/10/27
- 06/06: linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel., Ludovic Courtès, 2015/10/27
- 03/06: gnu: Add Diffoscope., Ludovic Courtès, 2015/10/27
- 02/06: gnu: Add python-chardet.,
Ludovic Courtès <=