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 7345D1393F1 for ; Tue, 15 Sep 2015 03:58:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC13121C002; Tue, 15 Sep 2015 03:58:04 +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 3437F21C002 for ; Tue, 15 Sep 2015 03:58:04 +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 D0F22340BAB for ; Tue, 15 Sep 2015 03:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BB3F186 for ; Tue, 15 Sep 2015 03:58:00 +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: <1442289450.cab441bacffac8418d2b0347f3e93f6a52cf915f.alunduil@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/torment/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/torment/Manifest dev-python/torment/torment-2.1.0.ebuild X-VCS-Directories: dev-python/torment/ X-VCS-Committer: alunduil X-VCS-Committer-Name: Alex Brandt X-VCS-Revision: cab441bacffac8418d2b0347f3e93f6a52cf915f X-VCS-Branch: master Date: Tue, 15 Sep 2015 03:58:00 +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: 6902a863-9232-4f9f-a7d0-2de7908f84d2 X-Archives-Hash: ac08dc16e88c1fecdf04f340a5461041 commit: cab441bacffac8418d2b0347f3e93f6a52cf915f Author: Alex Brandt gentoo org> AuthorDate: Tue Sep 15 03:54:22 2015 +0000 Commit: Alex Brandt gentoo org> CommitDate: Tue Sep 15 03:57:30 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab441ba dev-python/torment: add version 2.1.0 Package-Manager: portage-2.2.20.1 dev-python/torment/Manifest | 1 + dev-python/torment/torment-2.1.0.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/torment/Manifest b/dev-python/torment/Manifest index 0ebd1a7..9f5f46f 100644 --- a/dev-python/torment/Manifest +++ b/dev-python/torment/Manifest @@ -1,3 +1,4 @@ DIST torment-2.0.2.tar.gz 23291 SHA256 09950e60289921cd21403f00b1dc5643dd1c143b6e963bd0ca1e7a6928b18425 SHA512 4f0cbfd080053cc7a8f4556012516d8e7647d6f42e232288b24e84fafdcb36a5098f1e24b734ca62d2e4ce34883e25fdc94795b71835ad3863af670edc200853 WHIRLPOOL 1a3b7e352d2e1667d2b513b8810b58cf01cc15d4439b6a3f2b578d88928b1d687d6e60037e061e3dd412a064dca65909a191e93785bbfa5285a023d8d548ba15 DIST torment-2.0.3.tar.gz 23457 SHA256 577fb8227087100ec1e3c29fc422dfab8813f77881f74b7f68b41a7a9abde9ca SHA512 a112fdd20da24ecf2ac0d8acb50e226bdc60cd78ce2b903333cde20fa78c593e31ff5ef9922c0b9f5cd32ac5c910ee287f2534ff5669cd21b12a66a485d0f409 WHIRLPOOL 060fa7ec2200b7fddddd1fd128ca09ad0f30314707da7cf393e30c614f894169f3724c51ab4e2c2627ba51a1345a6079b804c5ce0f02f2dae54090bbd2b20cb9 DIST torment-2.0.4.tar.gz 27980 SHA256 1968ffe76f4e759c0857828eff30074fbdcff72c2ff23ef13023c1cdd7608037 SHA512 aa6689387648b0c659487c99dbdfac14e2bdb9dfdaf5d1b777ccb50755bbf5ce0c576ed4682bb9ebcd55ed8babc4c5727e01b9843206bee26561b0b930a0d4c4 WHIRLPOOL 27c50a9dc61108ddc2feaa5c88fbde8a4eb6032b2fdbdf9eb7aaa1b2ad6d7a8c5700e48bba1e5aaa5b2fd679e150881827e4622ce3f65cc601093691a7a2aca0 +DIST torment-2.1.0.tar.gz 30608 SHA256 d8d21efd1a30c0bb964b43e47b41cc261d4b2417b09fd3945090bf48fd3d0248 SHA512 502a61372f61d653f98ed20e0d074d1c411cc33be08ae91fec4e7606b1d3d3b78fd4fee8b1908b4fc721e7fe6029400063e9a94830a589e572baf824e7e0a261 WHIRLPOOL 7fe54b057ea89823b1b861c61e771f02a8a66a755f5667c89728bfab8e52006524cc960fece75f77d00b1aa894e0f3853df59a79cddf70a28b27b08d31de856b diff --git a/dev-python/torment/torment-2.1.0.ebuild b/dev-python/torment/torment-2.1.0.ebuild new file mode 100644 index 0000000..f890bde --- /dev/null +++ b/dev-python/torment/torment-2.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="A Study in Fixture Based Testing Frameworking" +HOMEPAGE="https://github.com/kumoru/torment" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +CDEPEND="dev-python/mypy[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${CDEPEND} + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + nosetests || die "Tests failed on ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +}