unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/7] gnu: Add python-tblib and python2-tblib
Date: Sun, 17 Apr 2016 22:50:51 +0200	[thread overview]
Message-ID: <1460926257-25147-2-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1460926257-25147-1-git-send-email-h.goebel@crazy-compilers.com>

* packages/python.scm (python-tblib) (python2-tblib): New
  functions.
---
 gnu/packages/python.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0379352..70db0e1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com>
 ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
+;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8712,3 +8713,42 @@ respectively.")
 (define-public python2-cysignals
   (package-with-python2 python-cysignals))
 
+(define-public python-tblib
+  (package
+    (name "python-tblib")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "tblib" version))
+       (sha256
+        (base32
+         "02iahfkfa927hb4jq2bak36ldihwapzacfiq5lyxg8llwn98a1yi"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+        (replace 'check
+         (lambda _
+           (zero? (system* "py.test" "--ignore=setup.py"
+                           "--ignore=docs/conf.py"
+                           "--ignore=ci/appveyor-download.py")))))))
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/ionelmc/python-tblib")
+    (synopsis "Traceback serialization library")
+    (description
+     "Traceback serialization allows you to:
+
+* Pickle tracebacks and raise exceptions with pickled tracebacks in different
+  processes.  This allows better error handling when running code over
+  multiple processes (imagine multiprocessing, billiard, futures, celery etc).
+
+* Parse traceback strings and raise with the parsed tracebacks.")
+    (license bsd-3)))
+
+(define-public python2-tblib
+  (package-with-python2 python-tblib))
-- 
2.7.4

  reply	other threads:[~2016-04-17 20:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-17 20:50 [PATCH 0/7] Some new python packages Hartmut Goebel
2016-04-17 20:50 ` Hartmut Goebel [this message]
2016-04-18 20:19   ` [PATCH 1/7] gnu: Add python-tblib and python2-tblib Leo Famulari
2016-04-17 20:50 ` [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse Hartmut Goebel
2016-04-18 20:23   ` Leo Famulari
2016-04-18 21:10     ` Hartmut Goebel
2016-04-17 20:50 ` [PATCH 3/7] gnu: add python-selenium and python2-selenium Hartmut Goebel
2016-04-18 20:12   ` Leo Famulari
2016-04-17 20:50 ` [PATCH 4/7] gnu: Add python2-ipaddr, a Python-2-only package Hartmut Goebel
2016-04-18 20:20   ` Leo Famulari
2016-04-18 21:09     ` Hartmut Goebel
2016-04-19  8:41       ` Alex Kost
2016-04-20 17:01         ` Ludovic Courtès
2016-04-17 20:50 ` [PATCH 5/7] gnu: add python-maxminddb and python2-maxminddb Hartmut Goebel
2016-04-18 20:14   ` Leo Famulari
2016-04-18 21:02     ` Hartmut Goebel
2016-04-17 20:50 ` [PATCH 6/7] gnu: add comment pointing to python-requests-mock in openstack Hartmut Goebel
2016-04-18 20:21   ` Leo Famulari
2016-04-18 21:16     ` Leo Famulari
2016-04-19  8:43     ` Alex Kost
2016-04-17 20:50 ` [PATCH 7/7] gnu: add python-geoip2 and python2-geoip2 Hartmut Goebel
2016-04-18 20:17   ` Leo Famulari
2016-04-18 20:08 ` [PATCH 0/7] Some new python packages Leo Famulari
2016-04-18 20:49   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460926257-25147-2-git-send-email-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).