From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2160359CA9 for ; Sun, 27 Mar 2016 14:28:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C635EE0838; Sun, 27 Mar 2016 14:28:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45EF5E0838 for ; Sun, 27 Mar 2016 14:28:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC00D3407AF for ; Sun, 27 Mar 2016 14:28:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 768B9852 for ; Sun, 27 Mar 2016 14:28:40 +0000 (UTC) From: "Alex Brandt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Brandt" Message-ID: <1459088892.e95d50212dc7222134f338c1f487645d4dc8b34a.alunduil@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nose2/Manifest dev-python/nose2/metadata.xml dev-python/nose2/nose2-0.6.4.ebuild X-VCS-Directories: dev-python/nose2/ X-VCS-Committer: alunduil X-VCS-Committer-Name: Alex Brandt X-VCS-Revision: e95d50212dc7222134f338c1f487645d4dc8b34a X-VCS-Branch: master Date: Sun, 27 Mar 2016 14:28:40 +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: 57143a85-5844-45f3-b711-bb1726f67626 X-Archives-Hash: 8894e65701ab4e3114b6a007e86d8aa6 commit: e95d50212dc7222134f338c1f487645d4dc8b34a Author: Alex Brandt gentoo org> AuthorDate: Sun Mar 27 14:28:12 2016 +0000 Commit: Alex Brandt gentoo org> CommitDate: Sun Mar 27 14:28:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95d5021 dev-python/nose2: add version 0.6.4 Package-Manager: portage-2.2.28 dev-python/nose2/Manifest | 1 + dev-python/nose2/metadata.xml | 10 +++++++++ dev-python/nose2/nose2-0.6.4.ebuild | 44 +++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest new file mode 100644 index 0000000..50f33d1 --- /dev/null +++ b/dev-python/nose2/Manifest @@ -0,0 +1 @@ +DIST nose2-0.6.4.tar.gz 134636 SHA256 56831c4caa47e2939f555b33e2c44170c1fab4d13526af838d9d80bef9e091b6 SHA512 4161231ecf195a3c5172f8bea2002f9cf4d55ee4f976f512b1ae758ebe8389f41520594da7ad2b21cfbf998be388993281e126363d24ee00c948d6c57278333a WHIRLPOOL 2905a358ec07d67ff64882f73527044a6bfbd70cb11865ee274b91675c3939b7b018d8dceb667396afae9ed425c14bd6ae3317d97fc2e35931302e6965054c6f diff --git a/dev-python/nose2/metadata.xml b/dev-python/nose2/metadata.xml new file mode 100644 index 0000000..02be8c5 --- /dev/null +++ b/dev-python/nose2/metadata.xml @@ -0,0 +1,10 @@ + + + + + alunduil@gentoo.org + Alex Brandt + + + + diff --git a/dev-python/nose2/nose2-0.6.4.ebuild b/dev-python/nose2/nose2-0.6.4.ebuild new file mode 100644 index 0000000..f83b33e --- /dev/null +++ b/dev-python/nose2/nose2-0.6.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="nose2 is the next generation of nicer testing for Python" +HOMEPAGE="https://github.com/nose-devs/nose2" +SRC_URI="https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +CDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.1[${PYTHON_USEDEP}] +" +DEPEND=" + ${CDEPEND} + doc? ( >=dev-python/sphinx-1.0.5[${PYTHON_USEDEP}] ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/cov-core-1.12[${PYTHON_USEDEP}] +" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${PYTHON}" -m nose2.__main__ || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +}