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 1FE3C59CA3 for ; Thu, 18 Feb 2016 17:46:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2EA221C12F; Thu, 18 Feb 2016 17:46:56 +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 0627E21C12C for ; Thu, 18 Feb 2016 17:46:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31290340D7F for ; Thu, 18 Feb 2016 17:46:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D371915FD for ; Thu, 18 Feb 2016 17:46:53 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455817558.d680bf6ba9b5f573c41f93f87d7fd46ad84e5dd0.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/doit-py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/doit-py/Manifest dev-python/doit-py/doit-py-0.4.0.ebuild X-VCS-Directories: dev-python/doit-py/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: d680bf6ba9b5f573c41f93f87d7fd46ad84e5dd0 X-VCS-Branch: master Date: Thu, 18 Feb 2016 17:46:53 +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: 444ef964-c9a6-46a4-ad2c-fab31f59f00e X-Archives-Hash: 0865263718934fab2f90506f4e02556c commit: d680bf6ba9b5f573c41f93f87d7fd46ad84e5dd0 Author: Patrick Lauer gentoo org> AuthorDate: Thu Feb 18 17:45:49 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Feb 18 17:45:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d680bf6b dev-python/doit-py: Bump Package-Manager: portage-2.2.27 dev-python/doit-py/Manifest | 1 + dev-python/doit-py/doit-py-0.4.0.ebuild | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/doit-py/Manifest b/dev-python/doit-py/Manifest index b2c8982..71e6139 100644 --- a/dev-python/doit-py/Manifest +++ b/dev-python/doit-py/Manifest @@ -1 +1,2 @@ DIST doit-py-0.3.0.tar.gz 16151 SHA256 af015e61b1aade838d299a508e72b35d714b67a9b903c65c2863427f5c3883fc SHA512 c6cbb326a7635b78d0c22ff7db8a722aedf8d66b85db4017e1a2566f1d8f1f96d4e00407cfec2180d20091addaf731a916da1a3970553cb4bebec87df90fc609 WHIRLPOOL becc06fd65d0afcf2b9034f7943f5cb01362ad06dabc154051dd5c5d0bf0b4cc35b94e5ee0a54b873ac1c32c82cd122b78e274fda597252ebdda1f5b78ef09dd +DIST doit-py-0.4.0.tar.gz 16534 SHA256 46896bbb592ecb954397de5dc525e74f46dfb578ecfb53b7c57d7f798d57e2be SHA512 72aa850928c99bf43eefd827334b361243da3b26283fa358ed3f7fba72d1916b1cbe50e581d3d62ed3b4f0efb9b5d1e7f59c3dc913b2ee27e6503bf4e47def33 WHIRLPOOL 0c9180a92e29d4bf2338c33af6e4fa3f23cfe6b5a35ee3c8eb060961a311796b8d1c342074a917bfc373f068e28a3c883fcb9bcb9be45057d44c35ef9838b6a6 diff --git a/dev-python/doit-py/doit-py-0.4.0.ebuild b/dev-python/doit-py/doit-py-0.4.0.ebuild new file mode 100644 index 0000000..086f6e1 --- /dev/null +++ b/dev-python/doit-py/doit-py-0.4.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="doit tasks for python stuff" +HOMEPAGE="http://pythonhosted.org/doit-py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/singledispatch[${PYTHON_USEDEP}] + app-text/hunspell ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=" + virtual/python-pathlib[${PYTHON_USEDEP}] + dev-python/doit[${PYTHON_USEDEP}] + dev-python/configclass[${PYTHON_USEDEP}]" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + py.test || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +}