From patchwork Sun Oct 30 22:48:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 17027 Received: (qmail 127200 invoked by uid 89); 30 Oct 2016 22:48:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=our, Hx-spam-relays-external:ESMTPA X-Spam-Status: No, score=-4.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 30 Oct 2016 22:48:29 +0000 Received: from localhost ([::1]:60415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0ytv-0000BP-Jn for patchwork@sourceware.org; Sun, 30 Oct 2016 18:48:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0ytn-0000Af-1p for guix-devel@gnu.org; Sun, 30 Oct 2016 18:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0ytj-0000g4-2p for guix-devel@gnu.org; Sun, 30 Oct 2016 18:48:19 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44439) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0yti-0000fm-Ux for guix-devel@gnu.org; Sun, 30 Oct 2016 18:48:15 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 65150206BA; Sun, 30 Oct 2016 18:48:13 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Sun, 30 Oct 2016 18:48:13 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= x-me-sender:x-sasl-enc:from:to:subject:date:message-id :in-reply-to:references:in-reply-to:references; s=mesmtp; bh=hhV cjFNZ3sB5S4tpMKHc2OexLAA=; b=gqAXVIbU/nkuaGwYplM5r58851Vg3mnyDif 7AM6WhRcGNsPICZFjFv2FWW0OXsslDaId0yviiDwBwO4WMVnfS5oGCYcZmYSToei 7nv0Md0zauCL6msz7n+r0tODSp3OUZwndFxiwOb6o37N3SS4+noFzhZf4HQ4ftNc JJCVDIaU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-me-sender:x-sasl-enc:from:to:subject :date:message-id:in-reply-to:references:in-reply-to:references; s=smtpout; bh=hhVcjFNZ3sB5S4tpMKHc2OexLAA=; b=Or5D2se9CGhj4h8DM Yn+2Y/83Gjk2ZwKgop7zYSPdCnqxgtn5WeOkkGFr3xCz7iP8DOinDFY7YzMgflYf MAoAaCMX/bQqW4RBsqcQmLhGN7ZP03sUouP+jt5+6GDL+8WsRN7nTJdBok2or7tX nfwb+6MLAm8JwIcuW9i1WmRHmQ= X-ME-Sender: X-Sasl-enc: 7c8kuNAZ+FdWdmTAaffUCsQrpWGycCcSVK2KEWf0GwU3 1477867693 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 2397FCC0C0 for ; Sun, 30 Oct 2016 18:48:13 -0400 (EDT) From: Leo Famulari To: guix-devel@gnu.org Subject: [PATCH 1/2] gnu: Add python-pytest-2.9.2. Date: Sun, 30 Oct 2016 18:48:02 -0400 Message-Id: <8bd646d465c0c04bcff77fa3927ef7882c2f7262.1477867669.git.leo@famulari.name> X-Mailer: git-send-email 2.10.2 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/python.scm (python-pytest-2.9.2): New variable. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9c7320f..ff3df3b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1665,6 +1665,31 @@ and many external plugins.") (define-public python2-pytest (package-with-python2 python-pytest)) +;; This package is used by Borg until we can upgrade all our Python packages to +;; use a more recent pytest. +(define-public python-pytest-2.9.2 + (package + (inherit python-pytest) + (name "python-pytest") + (version "2.9.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pytest" version)) + (sha256 + (base32 + "1n6igbc1b138wx1q5gca4pqw1j6nsyicfxds5n0b5989kaxqmh8j")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'disable-invalid-test + (lambda _ + (substitute* "testing/test_argcomplete.py" + (("def test_remove_dir_prefix" line) + (string-append "@pytest.mark.skip" + "(reason=\"Assumes that /usr exists.\")\n " + line))) + #t))))))) + (define-public python-pytest-cov (package (name "python-pytest-cov")