From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1S0c-0007gc-EU for guix-patches@gnu.org; Thu, 29 Mar 2018 03:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1S0Z-0000kV-9M for guix-patches@gnu.org; Thu, 29 Mar 2018 03:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1S0Z-0000kR-5e for guix-patches@gnu.org; Thu, 29 Mar 2018 03:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1S0Y-0008DD-V8 for guix-patches@gnu.org; Thu, 29 Mar 2018 03:30:02 -0400 Subject: [bug#30982] [PATCH 5/8] gnu: python-hypothesis: Update to 3.52.0. Resent-Message-ID: From: Arun Isaac Date: Thu, 29 Mar 2018 12:58:13 +0530 Message-Id: <20180329072816.3911-5-arunisaac@systemreboot.net> In-Reply-To: <20180329072816.3911-1-arunisaac@systemreboot.net> References: <20180329072816.3911-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30982@debbugs.gnu.org * gnu/packages/check.scm (python-hypothesis): Update to 3.52.0. [propagated-inputs]: Add python-attrs and python-coverage. [home-page]: Update URI. * gnu/packages/python.scm (python-attrs-bootstrap, python2-attrs-bootstrap): New variables. --- gnu/packages/check.scm | 11 +++++++---- gnu/packages/python.scm | 10 ++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 9d3d03672..e99d44a56 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Julien Lepiller ;;; Copyright © 2017 Thomas Danckaert -;;; Copyright © 2017 Arun Isaac +;;; Copyright © 2017, 2018 Arun Isaac ;;; Copyright © 2017 Frederick M. Muriithi ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Kei Kebreau @@ -1358,23 +1358,26 @@ normally the case.") (define-public python-hypothesis (package (name "python-hypothesis") - (version "3.1.0") + (version "3.52.0") (source (origin (method url-fetch) (uri (pypi-uri "hypothesis" version)) (sha256 (base32 - "0qyqq9akm4vshhn8cngjc1qykcvsn7cz6dlm6njfsgpbraqrmbbw")))) + "0g54cypfi5qj6cgxfr7l1nb41r1cqhhngx4qxn4ga9h720rcsbr8")))) (build-system python-build-system) (native-inputs `(("python-flake8" ,python-flake8) ("python-pytest" ,python-pytest-bootstrap))) + (propagated-inputs + `(("python-attrs" ,python-attrs-bootstrap) + ("python-coverage" ,python-coverage))) (synopsis "Library for property based testing") (description "Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It’s based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.") - (home-page "https://github.com/DRMacIver/hypothesis") + (home-page "https://github.com/HypothesisWorks/hypothesis-python") (license license:mpl2.0) (properties `((python2-variant . ,(delay python2-hypothesis)))))) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ce89f21df..4f622e469 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10737,6 +10737,16 @@ protocols.") (define-public python2-attrs (package-with-python2 python-attrs)) +(define-public python-attrs-bootstrap + (package + (inherit python-attrs) + (name "python-attrs-bootstrap") + (native-inputs `()) + (arguments `(#:tests? #f)))) + +(define-public python2-attrs-bootstrap + (package-with-python2 python-attrs-bootstrap)) + (define-public python2-cliapp (package (name "python2-cliapp") -- 2.15.1