[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/57: gnu: Add python-devpi-process.
From: |
guix-commits |
Subject: |
26/57: gnu: Add python-devpi-process. |
Date: |
Thu, 19 Dec 2024 06:31:39 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 1abdd7151fa86c5a932b62b95a6f8b36a9ca41f5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 21:05:59 2024 +0100
gnu: Add python-devpi-process.
* gnu/packages/python-web.scm (python-devpi-process): New variable.
Change-Id: Ic1829dfbb108a45c44423f570eeb604ddfe73795
---
gnu/packages/python-web.scm | 46 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fa95a51e42..024fac3802 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -225,6 +225,52 @@ devpi-server. It allows to upload, test and install
packages from devpi
indexes.")
(license license:expat)))
+(define-public python-devpi-process
+ (package
+ (name "python-devpi-process")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "devpi_process" version))
+ (sha256
+ (base32 "0v26i8bs0n8f2ikizwyvq77fw3l0nsyl4wj8yff0r3y351ydqbs1"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ ;; Our package is too old, sorry.
+ (substitute* "pyproject.toml"
+ (("typing-extensions>=4.12.2")
+ "typing-extensions>=4.10.0"))))
+ (add-after 'unpack 'patch-tool-locations
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/devpi_process/__init__.py"
+ (("_exe\\(\"devpi-init\"\\)")
+ (string-append "\"" (search-input-file inputs
"/bin/devpi-init") "\""))
+ (("_exe\\(\"devpi-server\"\\)")
+ (string-append "\"" (search-input-file inputs
"/bin/devpi-server") "\""))
+ (("_exe\\(\"devpi\"\\)")
+ (string-append "\"" (search-input-file inputs "/bin/devpi")
"\""))))))))
+ (propagated-inputs (list python-devpi-client python-devpi-server
+ python-typing-extensions))
+ (native-inputs
+ (list python-covdefaults
+ python-hatchling
+ python-hatch-vcs
+ python-httpx
+ python-pytest
+ python-pytest-cov))
+ (home-page "https://github.com/devpi/devpi")
+ (synopsis "API to create and use a devpi server process")
+ (description
+ "This package provides a programmatic API to create and use a devpi
+server process.")
+ (license license:expat)))
+
(define-public python-devpi-server
(package
(name "python-devpi-server")
- 57/57: gnu: python-pandas-2: Restrict number of test processes., (continued)
- 57/57: gnu: python-pandas-2: Restrict number of test processes., guix-commits, 2024/12/19
- 07/57: gnu: python-cachetools: Update to 5.5.0., guix-commits, 2024/12/19
- 10/57: gnu: python-nox: Update to 2024.10.09., guix-commits, 2024/12/19
- 01/57: gnu: python-msgspec: Update to 0.18.6., guix-commits, 2024/12/19
- 06/57: gnu: python-qdldl: Add missing input., guix-commits, 2024/12/19
- 17/57: gnu: python-numcodecs: Update to 0.13.1., guix-commits, 2024/12/19
- 23/57: gnu: Add python-devpi-common., guix-commits, 2024/12/19
- 27/57: gnu: python-tox: Update to 4.23.2., guix-commits, 2024/12/19
- 21/57: gnu: Add python-lazy., guix-commits, 2024/12/19
- 24/57: gnu: Add python-devpi-server., guix-commits, 2024/12/19
- 26/57: gnu: Add python-devpi-process.,
guix-commits <=
- 29/57: gnu: python-zarr: Update to 2.18.4., guix-commits, 2024/12/19
- 32/57: gnu: python-extension-helpers: Update to 1.2.0., guix-commits, 2024/12/19
- 34/57: gnu: python-chardet: Update to 5.2.0., guix-commits, 2024/12/19
- 44/57: gnu: python-tox: Simplify., guix-commits, 2024/12/19
- 49/57: gnu: python-stsci-stimage: Fix build., guix-commits, 2024/12/19
- 56/57: gnu: python-pandas-2: Remove X., guix-commits, 2024/12/19
- 35/57: gnu: python-platformdirs: Update to 4.3.6., guix-commits, 2024/12/19
- 30/57: gnu: python-biom-format: Use pyproject-build-system., guix-commits, 2024/12/19
- 38/57: gnu: python-devtools: Simplify., guix-commits, 2024/12/19
- 42/57: gnu: python-devpi-process: Add missing input., guix-commits, 2024/12/19