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 1F6E5138827 for ; Fri, 2 Oct 2015 09:41:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8413A21C02A; Fri, 2 Oct 2015 09:41:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 077AF21C02A for ; Fri, 2 Oct 2015 09:41:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1829434084C for ; Fri, 2 Oct 2015 09:41:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9261C3F5 for ; Fri, 2 Oct 2015 09:41:23 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1443778877.8b7c3e138616c6a4d0aa4d28aee8940fd67b2036.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cement/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cement/cement-2.0.2.ebuild dev-python/cement/metadata.xml X-VCS-Directories: dev-python/cement/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8b7c3e138616c6a4d0aa4d28aee8940fd67b2036 X-VCS-Branch: master Date: Fri, 2 Oct 2015 09:41:23 +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: c3618296-a4d6-478b-a90b-cdb66a975aac X-Archives-Hash: 0f3d141eaa23b727aa0d84cc8e54861b commit: 8b7c3e138616c6a4d0aa4d28aee8940fd67b2036 Author: Justin Lecher gentoo org> AuthorDate: Fri Oct 2 08:37:59 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Oct 2 09:41:17 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7c3e13 dev-python/cement: QA fixes use eclass functions (esetup.py) Make buildtime deps DEPEND fix doc isntallation Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher gentoo.org> dev-python/cement/cement-2.0.2.ebuild | 19 ++++++++++--------- dev-python/cement/metadata.xml | 1 - 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dev-python/cement/cement-2.0.2.ebuild b/dev-python/cement/cement-2.0.2.ebuild index e240413..21dbb27 100644 --- a/dev-python/cement/cement-2.0.2.ebuild +++ b/dev-python/cement/cement-2.0.2.ebuild @@ -19,28 +19,29 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="test doc" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="" DEPEND="${RDEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] )" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + )" DOCS=( ChangeLog CONTRIBUTORS README.md ) PATCHES=( "${FILESDIR}"/tests-installation.patch ) # https://github.com/cement/cement/issues/185 python_test() { - nosetests || die "Tests fail with ${EPYTHON}" + nosetests --verbose || die "Tests fail with ${EPYTHON}" } python_compile_all() { - if use doc; then - "${PYTHON}" setup.py build_sphinx || die "couldn't build docs" - fi + use doc && esetup.py build_sphinx } python_install_all() { - use doc && HTML_DOCS=( doc/build/html/* ) + use doc && HTML_DOCS=( doc/build/html/. ) distutils-r1_python_install_all } diff --git a/dev-python/cement/metadata.xml b/dev-python/cement/metadata.xml index e81878f..e95d6e1 100644 --- a/dev-python/cement/metadata.xml +++ b/dev-python/cement/metadata.xml @@ -6,4 +6,3 @@ Cement is an advanced CLI Application Framework for Python. Its goal is to introduce a standard, and feature-full platform for both simple and complex command line applications as well as support rapid development needs without sacrificing quality. -