me
/
guix
Archived
1
0
Fork 0

gnu: Add python-empy.

* gnu/packages/python.scm (python-empy): New variable.
(python2-empy): Use 'package-with-python-2'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Mathieu Lirzin 2018-03-31 23:19:12 +02:00 committed by Ludovic Courtès
parent c3581ef968
commit 95f3b626d7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 8 deletions

View File

@ -48,6 +48,7 @@
;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com ;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com> ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
;;; This file is part of GNU Guix. ;;; 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.") other Python program.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public python2-empy (define-public python-empy
(package (package
(name "python2-empy") (name "python-empy")
(version "3.3") (version "3.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -1317,12 +1318,7 @@ other Python program.")
"01g8mmkfnvjdmlhsihwyx56lrg7r5m5d2fg6mnxsvy6g0dnl69f6")))) "01g8mmkfnvjdmlhsihwyx56lrg7r5m5d2fg6mnxsvy6g0dnl69f6"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:python ,python-2 `(#:tests? #f)) ;python2 only
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(zero? (system* "./test.sh")))))))
(home-page "http://www.alcyone.com/software/empy/") (home-page "http://www.alcyone.com/software/empy/")
(synopsis "Templating system for Python") (synopsis "Templating system for Python")
(description (description
@ -1339,6 +1335,9 @@ system is highly configurable via command line options and embedded
commands.") commands.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public python2-empy
(package-with-python2 python-empy))
(define-public python2-element-tree (define-public python2-element-tree
(package (package
(name "python2-element-tree") (name "python2-element-tree")