Subject: bug#29783: closed (Re: [bug#29783] [PATCH 1/2] gnu: Add python-tempdir.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 21 Dec 2017 09:50:02 +0000

Your bug report

#29783: [PATCH 1/2] gnu: Add python-tempdir.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29783: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29783
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#29783] [PATCH 1/2] gnu: Add python-tempdir.
From: [email-masked] (Ludovic Courtès)
To: Konrad Hinsen <[email-masked]>
Cc: [email-masked]
Date: Thu, 21 Dec 2017 10:49:08 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Konrad,

Konrad Hinsen <[email-masked]> skribis:

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

I added a ChangeLog-style commit log and committed.

Thank you!

Ludo’.

Subject: [PATCH 1/2] gnu: Add python-tempdir.
From: Konrad Hinsen <[email-masked]>
To: <[email-masked]>
Date: Tue, 19 Dec 2017 12:50:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

 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