From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 08/31] gnu: Add python-extras. Date: Fri, 5 Sep 2014 11:18:14 -0400 Message-ID: <1409930317-13220-8-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI1-0000zv-NN for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHs-0003Zw-8m for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:05 -0400 Received: from na3sys009aog130.obsmtp.com ([74.125.149.143]:44433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHs-0003ZZ-1l for guix-devel@gnu.org; Fri, 05 Sep 2014 11:18:56 -0400 Received: by mail-yh0-f41.google.com with SMTP id 29so7525093yhl.28 for ; Fri, 05 Sep 2014 08:18:54 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-extras, python2-extras): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1db3778..05d7ef7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -939,6 +939,34 @@ In short, SCons is an easier, more reliable and faster way to build software.") (license x11))) +(define-public python-extras + (package + (name "python-extras") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/e/extras/extras-" + version ".tar.gz")) + (sha256 + (base32 + "1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + ;; error in setup.cfg: command 'test' has no such option 'buffer' + '(#:tests? #f)) + (home-page "https://github.com/testing-cabal/extras") + (synopsis "Useful extensions to the Python standard library") + (description + "Extras is a set of extensions to the Python standard library.") + (license expat))) + +(define-public python2-extras + (package-with-python2 python-extras)) + (define-public python-mimeparse (package (name "python-mimeparse") -- 2.0.1