guix-commits
[Top][All Lists]
Advanced

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

10/16: gnu: Add python-pyct.


From: guix-commits
Subject: 10/16: gnu: Add python-pyct.
Date: Mon, 29 Apr 2024 06:39:02 -0400 (EDT)

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

commit 07c152c9c059034a43c4bb36670b6ec3d24980a3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 29 10:31:43 2024 +0200

    gnu: Add python-pyct.
    
    * gnu/packages/python-xyz.scm (python-pyct): New variable.
    
    Change-Id: Ia207d5aa9d66fd2bf3616049c042fbb12e50928d
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7f52c3f850..373c3ecf37 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9512,6 +9512,35 @@ Python code against some of the style conventions in
 @url{http://www.python.org/dev/peps/pep-0008/,PEP 8}.")
     (license license:expat)))
 
+(define-public python-pyct
+  (package
+    (name "python-pyct")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyct" version))
+       (sha256
+        (base32 "1856dbrcpc0nxxhlfh3dqzz7xxn5sdi600q45hsprqyqrg2lm7yx"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; These tests want to download example data from the internet.
+      '(list "-k" (string-append
+                   "not test_examples_with_use_test_data"
+                   " and not 
test_examples_using_test_data_and_force_with_prexisting_content_in_target"
+                   " and not 
test_fetch_data_using_test_data_with_no_file_in_data_copies_from_stubs"
+                   " and not 
test_fetch_data_using_test_data_and_force_with_file_in_data_over_writes"))))
+    (propagated-inputs (list python-param python-pyyaml))
+    (native-inputs (list python-flake8 python-pytest))
+    (home-page "https://github.com/holoviz-dev/pyct";)
+    (synopsis "Common packaging tasks")
+    (description
+     "This Python package provides utilities to run common packaging tasks,
+e.g. copy examples, fetch data, etc.")
+    (license license:bsd-3)))
+
 (define-public python-multidict
   (package
     (name "python-multidict")



reply via email to

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