diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 17:18:08 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-06 22:08:09 +0100 |
| commit | bcdf37a0a6845edd11117c73d63bd52afd2054dc (patch) | |
| tree | 34a94717b501688e8a7b8899f4a04e5e915642b7 /gnu/packages/python-xyz.scm | |
| parent | ab6f15041d3054d126f956c0554270ebda295c8e (diff) | |
gnu: ptpython: Switch to pyproject.
* gnu/packages/python-xyz.scm (ptpython):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Improve comment.
[native-inputs]: Add python-setuptools-next.
[propagated-inputs]: Remove python-black.
Change-Id: Ibfc663d028160ca8cb16b8ffce838a5be951d715
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8d58810ac8..a6f500d8e7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24208,18 +24208,24 @@ as well.") (package (name "ptpython") (version "3.0.20") - (source (origin - (method url-fetch) - (uri (pypi-uri "ptpython" version)) - (sha256 - (base32 - "1mjfyr5gwrs1qbizh6nki0nv6hahmg8mhhqxi1qc6pfa4znlrzga")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jonathanslenders/ptpython") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qbj7d4qkzl8l05kpmm19953lmqk379i17ab8g3sfnmfpsy3ji5m")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f)) ;there are no tests + (list + ;; XXX: There is a tests/run_tests.py file but all it does is a + ;; sanity check. + #:tests? #f)) + (native-inputs (list python-setuptools-next)) (propagated-inputs - (list python-appdirs python-black python-jedi python-prompt-toolkit - python-pygments)) + (list python-appdirs python-jedi python-prompt-toolkit python-pygments)) (home-page "https://github.com/jonathanslenders/ptpython") (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features") (description |
