From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 03/31] gnu: Add python-certifi. Date: Fri, 5 Sep 2014 11:18:09 -0400 Message-ID: <1409930317-13220-3-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]:60920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHw-0000qy-F6 for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHm-0003Xv-3o for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:00 -0400 Received: from na3sys009aog115.obsmtp.com ([74.125.149.238]:47090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHl-0003Xm-Sl for guix-devel@gnu.org; Fri, 05 Sep 2014 11:18:50 -0400 Received: by mail-yk0-f179.google.com with SMTP id 142so7041614ykq.24 for ; Fri, 05 Sep 2014 08:18:48 -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-certifi, python2-certifi): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ad5def2..f591605 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1021,3 +1021,30 @@ files.") (define-public python2-pyld (package-with-python2 python-pyld)) + +(define-public python-certifi + (package + (name "python-certifi") + (version "14.05.14") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/c/certifi/certifi-" + version ".tar.gz")) + (sha256 + (base32 + "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments `(#:tests? #f)) ; no tests + (home-page "http://python-requests.org/") + (synopsis "Python CA certificate bundle") + (description + "Certifi is a Python library that contains a CA certificate bundle, which +is useful for verifying HTTP requests.") + (license asl2.0))) + +(define-public python2-certifi + (package-with-python2 python-certifi)) -- 2.0.1