unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29783] [PATCH 1/2] gnu: Add python-tempdir.
@ 2017-12-19 11:50 Konrad Hinsen
  2017-12-21  9:49 ` bug#29783: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2017-12-19 11:50 UTC (permalink / raw)
  To: 29783

 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 082856bfb..5580b7d50 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11973,3 +11973,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))
+
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#29783: [PATCH 1/2] gnu: Add python-tempdir.
  2017-12-19 11:50 [bug#29783] [PATCH 1/2] gnu: Add python-tempdir Konrad Hinsen
@ 2017-12-21  9:49 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-12-21  9:49 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 29783-done

Hi Konrad,

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

>  gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)

I added a ChangeLog-style commit log and committed.

Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-21  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19 11:50 [bug#29783] [PATCH 1/2] gnu: Add python-tempdir Konrad Hinsen
2017-12-21  9:49 ` bug#29783: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).