summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-01 11:14:30 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:22 +0100
commitaa8d1bb55ecc2fded97b45618d6f1148262997f0 (patch)
treec3ce4cf743f122d8a2759f4f9db1d238b2a8bc66 /gnu
parent4bd6db2080267dc4dbf254db09be3c1216b6fafc (diff)
gnu: python-pretend: Move to python-build and adapt native-inputs.
* gnu/packages/python-xyz.scm (python-pretend): Move from here… * gnu/packages/python-build.scm (python-pretend): …to here. [native-inputs]: Remove python-pytest, and python-setuptools; add python-packaging-bootstrap, python-pytest-bootstrap, and python-setuptools-bootstrap. Related-to: guix/guix#5813 Change-Id: I75a27534d71f456fdb76841f1d3597a81976c7e6 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-build.scm27
-rw-r--r--gnu/packages/python-xyz.scm26
2 files changed, 27 insertions, 26 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 68977c61da8..261b52a9d75 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -682,6 +682,33 @@ information.")
682 ;; licenses. 682 ;; licenses.
683 (license (list license:asl2.0 license:bsd-2)))) 683 (license (list license:asl2.0 license:bsd-2))))
684 684
685(define-public python-pretend
686 (package
687 (name "python-pretend")
688 (version "1.0.9")
689 (source
690 (origin
691 (method git-fetch) ;no tests in PyPI archive
692 (uri (git-reference
693 (url "https://github.com/alex/pretend")
694 (commit (string-append "v" version))))
695 (file-name (git-file-name name version))
696 (sha256
697 (base32 "156l685r9mg7i4xyrk9ql3sxk088irxlg8x7md5i0d05hdw1z8rs"))))
698 (build-system pyproject-build-system)
699 (native-inputs
700 (list python-packaging-bootstrap
701 python-pytest-bootstrap
702 python-setuptools-bootstrap))
703 (home-page "https://github.com/alex/pretend")
704 (synopsis "Library for stubbing in Python")
705 (description
706 "Pretend is a library to make stubbing with Python easier. Stubbing is a
707technique for writing tests. You may hear the term mixed up with mocks,fakes,
708or doubles. Basically, a stub is an object that returns pre-canned responses,
709rather than doing any computation.")
710 (license license:bsd-3)))
711
685;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid 712;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid
686;;; a name clash with python-build from (guix build-system python). 713;;; a name clash with python-build from (guix build-system python).
687(define-public python-pypa-build 714(define-public python-pypa-build
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c54e5c09b73..ca621924ea5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17966,32 +17966,6 @@ invoked on those path objects directly.")
17966(define-deprecated/public-alias python-path-bootstrap python-path) 17966(define-deprecated/public-alias python-path-bootstrap python-path)
17967(define-deprecated/public-alias python-pathpy python-path) 17967(define-deprecated/public-alias python-pathpy python-path)
17968 17968
17969(define-public python-pretend
17970 (package
17971 (name "python-pretend")
17972 (version "1.0.9")
17973 (source
17974 (origin
17975 (method git-fetch) ;no tests in PyPI archive
17976 (uri (git-reference
17977 (url "https://github.com/alex/pretend")
17978 (commit (string-append "v" version))))
17979 (file-name (git-file-name name version))
17980 (sha256
17981 (base32 "156l685r9mg7i4xyrk9ql3sxk088irxlg8x7md5i0d05hdw1z8rs"))))
17982 (build-system pyproject-build-system)
17983 (native-inputs
17984 (list python-pytest
17985 python-setuptools))
17986 (home-page "https://github.com/alex/pretend")
17987 (synopsis "Library for stubbing in Python")
17988 (description
17989 "Pretend is a library to make stubbing with Python easier. Stubbing is a
17990technique for writing tests. You may hear the term mixed up with mocks,fakes,
17991or doubles. Basically, a stub is an object that returns pre-canned responses,
17992rather than doing any computation.")
17993 (license license:bsd-3)))
17994
17995(define-public python-pip-run 17969(define-public python-pip-run
17996 (package 17970 (package
17997 (name "python-pip-run") 17971 (name "python-pip-run")