>From f676c9d80e49d12eedd53a5fe65fcc31c9823863 Mon Sep 17 00:00:00 2001 From: Julien Lepiller
Date: Sat, 22 Apr 2017 12:31:55 +0200 Subject: [PATCH 04/34] gnu: Add python-utils. * gnu/packages/python.scm (python-utils, python2-utils): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ef6c2ac5f..9a787a3fc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14047,3 +14047,28 @@ exception message with a traceback that points to the culprit.") (define-public python2-pytest-catchlog (package-with-python2 python-pytest-catchlog)) + +(define-public python-utils + (package + (name "python-utils") + (version "2.0.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "python-utils" version)) + (sha256 + (base32 + "1zvrc1rc06n89pycg969pcy30bff4sqzhff365sxh629ybnl8pwq")))) + (build-system python-build-system) + (native-inputs + `(("pytest-runner" ,python-pytest-runner) + ("pytest" ,python-pytest) + ("six" ,python-six))) + (home-page "https://github.com/WoLpH/python-utils") + (synopsis "Convenient utilities not included with the standard Python install") + (description + "Python Utils is a collection of small Python functions and classes which +make common patterns shorter and easier.") + (license license:bsd-2))) + +(define-public python2-utils + (package-with-python2 python-utils)) -- 2.12.2