From 95f3b626d7117571df9a9bd48dd5109213395215 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sat, 31 Mar 2018 23:19:12 +0200 Subject: gnu: Add python-empy. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python-empy): New variable. (python2-empy): Use 'package-with-python-2'. Signed-off-by: Ludovic Courtès --- gnu/packages/python.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9e038ef4fb..e6ae8f433b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2018 Ethan R. Jones ;;; Copyright © 2018 Vijayalakshmi Vedantham +;;; Copyright © 2018 Mathieu Lirzin ;;; This file is part of GNU Guix. ;;; @@ -1304,9 +1305,9 @@ applications. dogtail scripts are written in Python and executed like any other Python program.") (license license:gpl2+))) -(define-public python2-empy +(define-public python-empy (package - (name "python2-empy") + (name "python-empy") (version "3.3") (source (origin (method url-fetch) @@ -1317,12 +1318,7 @@ other Python program.") "01g8mmkfnvjdmlhsihwyx56lrg7r5m5d2fg6mnxsvy6g0dnl69f6")))) (build-system python-build-system) (arguments - `(#:python ,python-2 - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (zero? (system* "./test.sh"))))))) + `(#:tests? #f)) ;python2 only (home-page "http://www.alcyone.com/software/empy/") (synopsis "Templating system for Python") (description @@ -1339,6 +1335,9 @@ system is highly configurable via command line options and embedded commands.") (license license:lgpl2.1+))) +(define-public python2-empy + (package-with-python2 python-empy)) + (define-public python2-element-tree (package (name "python2-element-tree") -- cgit v1.2.3