From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3878138331 for ; Wed, 21 Feb 2018 19:43:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29791E091C; Wed, 21 Feb 2018 19:43:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05E7FE091C for ; Wed, 21 Feb 2018 19:43:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D088D335C49 for ; Wed, 21 Feb 2018 19:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 369BA231 for ; Wed, 21 Feb 2018 19:43:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1519242203.4a1a677121a9d9a87738c0e407b29f383e3577ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pretend/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pretend/Manifest dev-python/pretend/pretend-1.0.8-r1.ebuild X-VCS-Directories: dev-python/pretend/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4a1a677121a9d9a87738c0e407b29f383e3577ea X-VCS-Branch: master Date: Wed, 21 Feb 2018 19:43:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1115bbc-5f73-4eab-88d3-efa16b06f5b1 X-Archives-Hash: e11f753e2a0c51353f7a70a085a4d026 commit: 4a1a677121a9d9a87738c0e407b29f383e3577ea Author: Michał Górny gentoo org> AuthorDate: Wed Feb 21 19:42:14 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 21 19:43:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1a6771 dev-python/pretend: Enable testing dev-python/pretend/Manifest | 1 + dev-python/pretend/pretend-1.0.8-r1.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/dev-python/pretend/Manifest b/dev-python/pretend/Manifest index 0968c134b6f..236cfd50919 100644 --- a/dev-python/pretend/Manifest +++ b/dev-python/pretend/Manifest @@ -1 +1,2 @@ +DIST pretend-1.0.8.gh.tar.gz 5509 BLAKE2B 574c83f05c9b45876891df97a23a25cefb0f27f9ba76aa6d01fe8d2246f7b4457fb99522540d85108056dd83e79ed7179c4661d30fbc786ce2adf0c477a23560 SHA512 f0a3263f55afc43bfd63a6ba0ae876f2607ed9cc26352a3ec69933ebb79418a128c5c29c3e77a924b158da658d8ff2043a7f8e6d4ee3e499df22e4083329cf62 DIST pretend-1.0.8.tar.gz 4848 BLAKE2B 396fae55208e39eadceaff92890b48d63b79a24e0d313a3b87d69b8a61655cb8a1a2f8823f06779e0730fb3505cb269ca907dd28a79fdd283ebd6913bd9c0ab3 SHA512 25011216947289d340fb979ebc9e2c7f000571f006cf5ce15f10ff0e013164e4329a3a66933d202acf8ced498929cf9e5a2a3666aafa00f78348400615c5cec8 diff --git a/dev-python/pretend/pretend-1.0.8-r1.ebuild b/dev-python/pretend/pretend-1.0.8-r1.ebuild new file mode 100644 index 00000000000..89d768e64d7 --- /dev/null +++ b/dev-python/pretend/pretend-1.0.8-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A library for stubbing in Python" +HOMEPAGE="https://github.com/alex/pretend/ https://pypi.python.org/pypi/pretend/" +SRC_URI="https://github.com/alex/pretend/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -v || die +}