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 7ED261382C5 for ; Thu, 4 Mar 2021 04:20:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8498E08F2; Thu, 4 Mar 2021 04:19:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C4816E08F7 for ; Thu, 4 Mar 2021 04:19:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 628A0340FB8 for ; Thu, 4 Mar 2021 04:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D9FB5A7 for ; Thu, 4 Mar 2021 04:19:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614831570.38e1c477eaa2d1a2be46d07214adbbeacf67a4e6.sam@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/nose2-0.10.0.ebuild X-VCS-Directories: dev-python/nose2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 38e1c477eaa2d1a2be46d07214adbbeacf67a4e6 X-VCS-Branch: master Date: Thu, 4 Mar 2021 04:19:52 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a837a6b8-7c5c-4d8d-93d0-7d1a949efdb9 X-Archives-Hash: ab562d8e090607ccd631939e8e9741b4 commit: 38e1c477eaa2d1a2be46d07214adbbeacf67a4e6 Author: Sam James gentoo org> AuthorDate: Thu Mar 4 03:58:42 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 4 04:19:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e1c477 dev-python/nose2: version bump 0.10.0 Signed-off-by: Sam James gentoo.org> dev-python/nose2/Manifest | 1 + dev-python/nose2/nose2-0.10.0.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index 118816b8fdd..7f0159da1f2 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1 +1,2 @@ +DIST nose2-0.10.0.tar.gz 156614 BLAKE2B 8e785cd36a781952b4401842288edf7b2551c69a894cee0d56b56c3e74de36b89bf09f849dc7264733d0c906660a5d01f2b74252507ae322073640d8ca0abfaa SHA512 e9522fddb45ab303819a38f6e4de16a2676b824e7027e8137d5e44917c21de91aec8661b28946e0bb1c7c72de907ba5eaa0e8bf76b2b76ae1edfcfe68fdb01dd DIST nose2-0.9.2.tar.gz 153381 BLAKE2B 9339a31b664561bd86817a969a64a3d80dacdda3ed25bc0a0b6531812e56c7e2bfaadcad3712d8af1a7ce585e27ff6de54428667e44e7c6b0003db5d52703971 SHA512 9af69f0cc9db2e8ef37d2c4ea4fd2d661a38df73fc984d261a1c7c39fba07e44afdf494f0939362b84a03e80c3d93ee75c9352ef333616bf8ce6e6f019b811fe diff --git a/dev-python/nose2/nose2-0.10.0.ebuild b/dev-python/nose2/nose2-0.10.0.ebuild new file mode 100644 index 00000000000..1f4c68ec3af --- /dev/null +++ b/dev-python/nose2/nose2-0.10.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Next generation unittest with plugins" +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 ~x86" +IUSE="doc" +# Failures need investigating +RESTRICT="test" + +BDEPEND=" + doc? ( >=dev-python/sphinx-1.0.5 ) +" +DEPEND=" + >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] + >=dev-python/six-1.1[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +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 +}