From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 08/10] gnu: Add python-tqdm. Date: Tue, 12 Sep 2017 22:46:01 +0200 Message-ID: <20170912204601.4483-1-tipecaml@gmail.com> References: <75b84385-8528-a8bb-0145-b1f01bb9bfb5@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drs59-0000o4-8W for guix-devel@gnu.org; Tue, 12 Sep 2017 16:46:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drs55-0006HS-3l for guix-devel@gnu.org; Tue, 12 Sep 2017 16:46:55 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:35501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drs54-0006GV-TW for guix-devel@gnu.org; Tue, 12 Sep 2017 16:46:51 -0400 Received: by mail-wr0-x231.google.com with SMTP id m18so25043844wrm.2 for ; Tue, 12 Sep 2017 13:46:50 -0700 (PDT) In-Reply-To: <75b84385-8528-a8bb-0145-b1f01bb9bfb5@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-tqdm, python2-tqdm): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7f48b8dae..cfe97b495 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16333,3 +16333,32 @@ ignoring formatting changes.") (define-public python2-nose-timer (package-with-python2 python-nose-timer)) + +(define-public python-tqdm + (package + (name "python-tqdm") + (version "4.15.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tqdm" version)) + (sha256 + (base32 + "0lwrmby8qz23gvqwkpivfrv4q8nfh90cz9ml6slwvwmcxxsdrhbf")))) + (build-system python-build-system) + (native-inputs + `(("python-flake8" ,python-flake8) + ("python-nose" ,python-nose) + ("python-nose-timer" ,python-nose-timer) + ("python-coverage" ,python-coverage) + ("python-virtualenv" ,python-virtualenv))) + (home-page "https://github.com/tqdm/tqdm") + (synopsis "Fast, Extensible Progress Meter") + (description + "Make loops show a progress bar on the console by just wrapping any +iterable with @code{|tqdm(iterable)|}. Offers many options to define +design and layout.") + (license (list license:mpl2.0 license:expat)))) + +(define-public python2-tqdm + (package-with-python2 python-tqdm)) -- 2.14.1