guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24/72: gnu: Add python-devpi-server.


From: guix-commits
Subject: 24/72: gnu: Add python-devpi-server.
Date: Thu, 26 Dec 2024 09:33:00 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 4bfb816990b0a364fab969180e0cb589bf867c41
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 21:05:24 2024 +0100

    gnu: Add python-devpi-server.
    
    * gnu/packages/python-web.scm (python-devpi-server): New variable.
    
    Change-Id: I5ca0e39595f2081f4a71bc0bc71106cac1508ce4
---
 gnu/packages/python-web.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 711064f43a..c5c8ce6af5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -168,6 +168,54 @@
 devpi-client and others.")
     (license license:expat)))
 
+(define-public python-devpi-server
+  (package
+    (name "python-devpi-server")
+    (version "6.14.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "devpi-server" version))
+       (sha256
+        (base32 "08smfjhnvqj68fp45gzqm9axjcgnksc0z31v48llivnzlxwf8cmr"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; These all fail with: "module 'py' has no attribute 'io'"
+      '(list "--ignore=test_devpi_server/test_importexport.py"
+             "--ignore=test_devpi_server/test_main.py"
+             "--ignore=test_devpi_server/test_genconfig.py")))
+    (propagated-inputs (list python-argon2-cffi
+                             python-attrs
+                             python-defusedxml
+                             python-devpi-common
+                             python-httpx
+                             python-itsdangerous
+                             python-lazy
+                             python-legacy-cgi
+                             python-passlib
+                             python-platformdirs
+                             python-pluggy
+                             python-py
+                             python-pyramid
+                             python-repoze-lru
+                             python-ruamel.yaml
+                             python-strictyaml
+                             python-waitress))
+    (native-inputs
+     (list python-execnet
+           python-pytest
+           python-pytest-timeout
+           python-setuptools
+           python-webtest
+           python-wheel))
+    (home-page "https://devpi.net";)
+    (synopsis "Pypi.org caching server")
+    (description "This package implements a reliable private and pypi.org
+caching server.")
+    (license license:expat)))
+
 (define-public python-huggingface-hub
   (package
     (name "python-huggingface-hub")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]