From 4179f952bf0d0dec8e8c95caaa6865cd5c8d71e4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 21 Sep 2015 22:41:53 +0200 Subject: gnu: python-cffi: Update to 1.2.1. * gnu/packages/python.scm (python-cffi): Update to 1.2.1. [native-inputs]: Add python-pytest. [arguments]: Enable tests. --- gnu/packages/python.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 798a22f5df9..9de366fdaf8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3390,14 +3390,14 @@ a front-end for C compilers or analysis tools.") (define-public python-cffi (package (name "python-cffi") - (version "0.8.6") + (version "1.2.1") (source (origin (method url-fetch) (uri (string-append "https://pypi.python.org/packages/source/c/" "cffi/cffi-" version ".tar.gz")) (sha256 - (base32 "0406j3sgndmx88idv5zxkkrwfqxmjl18pj8gf47nsg4ymzixjci5")))) + (base32 "0g8yfzinry1vsj6d1jlnd19338bh92lhhk207ksy4lm1n3g73dga")))) (build-system python-build-system) (outputs '("out" "doc")) (inputs @@ -3407,10 +3407,10 @@ a front-end for C compilers or analysis tools.") (native-inputs `(("pkg-config" ,pkg-config) ("python-sphinx" ,python-sphinx) + ("python-pytest" ,python-pytest) ("python-setuptools" ,python-setuptools))) (arguments - `(#:tests? #f ; FIXME: requires pytest - #:phases + `(#:phases (alist-cons-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.3 From 7a8ac75a947f2cd2863f9b9d490d3e284fbef701 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 21 Sep 2015 22:43:24 +0200 Subject: gnu: Add python-pyasn1. * gnu/packages/python.scm (python-pyasn1, python2-pyasn1): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9de366fdaf8..40d31a70e3e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4916,3 +4916,26 @@ printing of sub-tables by specifying a row range.") (define-public python2-prettytable (package-with-python2 python-prettytable)) + +(define-public python-pyasn1 + (package + (name "python-pyasn1") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/p/" + "pyasn1/pyasn1-" version ".tar.gz")) + (sha256 + (base32 + "0iw31d9l0zwx35szkzq72hiw002wnqrlrsi9dpbrfngcl1ybwcsx")))) + (build-system python-build-system) + (home-page "http://pyasn1.sourceforge.net/") + (synopsis "ASN.1 types and codecs") + (description + "This is an implementation of ASN.1 types and codecs in Python. It is +suitable for a wide range of protocols based on the ASN.1 specification.") + (license bsd-2))) + +(define-public python2-pyasn1 + (package-with-python2 python-pyasn1)) -- cgit v1.3