From abc45761abe9c3b367bca95c4dd52c1f589aee5f Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Thu, 20 Feb 2025 14:58:21 +0100 Subject: gnu: Add python-pytooling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-pytooling): New variable. Change-Id: Id045f071b6c531d4afff4322d1a544589f214d50 Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9f626b51c14..a877515ff59 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2588,6 +2588,32 @@ Python tools, such as rope and add support for a @file{pyproject.toml} configuration file.") (license license:lgpl3+))) +(define-public python-pytooling + (package + (name "python-pytooling") + (version "8.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pyTooling/pyTooling/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07mca75d2zd6xl0isf0vrcblsc2niyqi7941dgjpiafnsgiygfzf")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f)) ; requires recent versions of mypy and lxml + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://pytooling.github.io/pyTooling/") + (synopsis "Miscellaneous Python tools") + (description + "pyTooling is a collection of (abstract) data models, lacking classes, +decorators, a new performance boosting meta-class, and enhanced exceptions. +It also provides lots of helper functions---e.g., to ease the handling of +package descriptions or to unify multiple existing APIs into a single API.") + (license license:asl2.0))) + (define-public python-colorlog (package (name "python-colorlog") -- cgit v1.3