summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-01-11 22:39:29 +0000
committerChristopher Baines <mail@cbaines.net>2023-02-17 15:44:59 +0000
commitfc36ea0a0a40c618ee3488d8432ebb6d27b56fa3 (patch)
tree33f5671bf8fe64fb166f2ab41160bb6ae4390363 /gnu
parenta558998f7dabb2c0672abe3aaac89fb9b652cbb1 (diff)
gnu: Add python-virtualenv-clone.
* gnu/packages/python-xyz.scm (python-virtualenv-clone): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ac09edcc98e..cfeb37eea1d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4277,6 +4277,40 @@ modules. It creates a special virtual environment such that @command{pip} or
4277work on your part.") 4277work on your part.")
4278 (license license:expat))) 4278 (license license:expat)))
4279 4279
4280(define-public python-virtualenv-clone
4281 (package
4282 (name "python-virtualenv-clone")
4283 (version "0.5.7")
4284 (source (origin
4285 (method git-fetch)
4286 (uri (git-reference
4287 (url "https://github.com/edwardgeorge/virtualenv-clone")
4288 (commit version)))
4289 (file-name (git-file-name name version))
4290 (sha256
4291 (base32
4292 "0p0d1y3axvjfnxlgwjx2374gikc8bmc82g0m7yashihbikh7pcxa"))))
4293 (build-system python-build-system)
4294 (arguments
4295 (list #:phases #~(modify-phases %standard-phases
4296 (replace 'check
4297 (lambda* (#:key tests? #:allow-other-keys)
4298 (when tests?
4299 (delete-file "tox.ini")
4300 (invoke "pytest" "-vvv" "tests")))))))
4301 (native-inputs (list python-pytest
4302 python-tox
4303 python-virtualenv
4304 python-coverage
4305 python-wheel
4306 python-tomli
4307 python-hypothesis))
4308 (home-page "https://github.com/edwardgeorge/virtualenv-clone")
4309 (synopsis "Clone a non-relocatable virtualenv cleanly")
4310 (description
4311 "Clone non-relocatable virtualenvs without breaking site-packages.")
4312 (license license:expat)))
4313
4280(define-public python-uc-micro-py 4314(define-public python-uc-micro-py
4281 (package 4315 (package
4282 (name "python-uc-micro-py") 4316 (name "python-uc-micro-py")