1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00

gnu: Add python-tempdir.

* gnu/packages/python.scm (python-tempdir, python2-tempdir): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Konrad Hinsen
2017-12-19 12:50:00 +01:00
committed by Ludovic Courtès
parent ce16d312c6
commit c521c8f1a4
+27
View File
@@ -11974,3 +11974,30 @@ belong to tagged versions.")
"BooleanOperations provides a Python library that enables
boolean operations on paths.")
(license license:expat)))
(define-public python-tempdir
(package
(name "python-tempdir")
(version "0.7.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tempdir" version))
(sha256
(base32
"13msyyxqbicr111a294x7fsqbkl6a31fyrqflx3q7k547gnq15k8"))))
(build-system python-build-system)
(home-page "https://pypi.org/project/tempdir/")
(arguments
;; the package has no tests
'(#:tests? #f))
(synopsis "Python library for managing temporary directories")
(description
"This library manages temporary directories that are automatically
deleted with all their contents when they are no longer needed. It is
particularly convenient for use in tests.")
(license license:expat)))
(define-public python2-tempdir
(package-with-python2 python-tempdir))