From 42bcd19e6aa7fb2aee75904bafae0e55133bfa1f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 31 Oct 2025 01:55:13 +0100 Subject: [PATCH] gnu: python-autocommand: Move to (gnu packages python-build). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-autocommand): Move from here… * gnu/packages/python-build.scm (python-autocommand): …to here. [native-inputs]: Replace python-setuptools by python-setuptools-bootstrap. autocommand: Adapt native-inputs. Change-Id: I6999788c79a3904a22bebbff352c44a11df977a1 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-build.scm | 20 ++++++++++++++++++++ gnu/packages/python-xyz.scm | 19 ------------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index df66b1bafe3..866560168d8 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -62,6 +62,26 @@ ;;; These are dependencies used by the build systems contained herein; they ;;; feel a bit out of place but are kept here to prevent circular module ;;; dependencies. +(define-public python-autocommand + (package + (name "python-autocommand") + (version "2.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "autocommand" version)) + (sha256 + (base32 "0d2zjms5xm236k46la5pnl7i7hs3a12jlp12cw8lk5jm7i1fk3c7")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest-bootstrap + python-setuptools-bootstrap)) + (home-page "https://github.com/Lucretiel/autocommand") + (synopsis "Python library to build a command-line from a function") + (description "@code{autocommand} is library to automatically generate and +run simple @code{argparse} parsers from function signatures.") + (license license:lgpl3+))) + (define-public python-pathspec (package (name "python-pathspec") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a3819462a9e..a98bd333227 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12570,25 +12570,6 @@ multiple values for the same key. An ordered multivalue dictionary is a multivalue dictionary that retains the order of insertions and deletions.") (license license:unlicense))) -(define-public python-autocommand - (package - (name "python-autocommand") - (version "2.2.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "autocommand" version)) - (sha256 - (base32 "0d2zjms5xm236k46la5pnl7i7hs3a12jlp12cw8lk5jm7i1fk3c7")))) - (build-system pyproject-build-system) - (native-inputs - (list python-pytest python-setuptools)) - (home-page "https://github.com/Lucretiel/autocommand") - (synopsis "Python library to build a command-line from a function") - (description "@code{autocommand} is library to automatically generate and -run simple @code{argparse} parsers from function signatures.") - (license license:lgpl3+))) - (define-public python-autopage (package (name "python-autopage")