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 966DF13829C for ; Sun, 12 Jun 2016 18:33:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21019E0B63; Sun, 12 Jun 2016 18:33:06 +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 8DAD3E0B6B for ; Sun, 12 Jun 2016 18:33:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9C0BB340B65 for ; Sun, 12 Jun 2016 18:33:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66109963 for ; Sun, 12 Jun 2016 18:33:01 +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: <1465756357.f8af2c549248d34b083d422d2723be1c2aa5d020.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-runner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-runner/Manifest dev-python/pytest-runner/pytest-runner-2.8.ebuild X-VCS-Directories: dev-python/pytest-runner/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: f8af2c549248d34b083d422d2723be1c2aa5d020 X-VCS-Branch: master Date: Sun, 12 Jun 2016 18:33:01 +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: 6f08f772-1452-432b-8f05-f63bf36b4c4c X-Archives-Hash: 7dab539aba69c8725393a2571818903c commit: f8af2c549248d34b083d422d2723be1c2aa5d020 Author: Patrick Lauer gentoo org> AuthorDate: Sun Jun 12 17:37:15 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sun Jun 12 18:32:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8af2c54 dev-python/pytest-runner: Bump Package-Manager: portage-2.3.0_rc1 dev-python/pytest-runner/Manifest | 1 + dev-python/pytest-runner/pytest-runner-2.8.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/pytest-runner/Manifest b/dev-python/pytest-runner/Manifest index f548bec..bfe3761 100644 --- a/dev-python/pytest-runner/Manifest +++ b/dev-python/pytest-runner/Manifest @@ -1 +1,2 @@ DIST pytest-runner-2.6.2.tar.gz 6379 SHA256 e775a40ee4a3a1d45018b199c44cc20bbe7f3df2dc8882f61465bb4141c78cdb SHA512 6a993e8729d5e203986f2526d46e96b7ac19e65fc26493a55a98e858304ecde0c47576476864a0ee1817ea1a7b02cfda952fc03f79b84fff249021f140f3d00d WHIRLPOOL 968a38864b58d35d4c9fb0fa2855bae9f87bcb68936b5f129c5bc67b2c751e51bf5f9e5f54d27f36ccd6e89df7d4f8c4a6556de408cc8287f52725e1eb73fef5 +DIST pytest-runner-2.8.tar.gz 8535 SHA256 1ec44deddaa551f85fd563c40a4c483a2609aca1f284a95399566a74d0680d5c SHA512 bdbd71dc4713dca2b00fa63e8414dab0611af460c25746d5377881024c23e2c8a6f1374ab9c94fa33dae1ac2f0b7ba10f747287a3cbaeb5a44ff1dd4542e122e WHIRLPOOL 541421d6f2a8490c58fb1c33c7227ab685f9031626c8007f867d2bbc81c8913a3bcc709f34707eca2d239706eb86b090bd49024b8ee5111a4d5e84f9a292a2f0 diff --git a/dev-python/pytest-runner/pytest-runner-2.8.ebuild b/dev-python/pytest-runner/pytest-runner-2.8.ebuild new file mode 100644 index 0000000..a39f933 --- /dev/null +++ b/dev-python/pytest-runner/pytest-runner-2.8.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,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Adds support for tests during installation of setup.py files" +HOMEPAGE="https://pypi.python.org/pypi/pytest-runner https://bitbucket.org/pytest-dev/pytest-runner" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +SLOT="0" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + " +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" + +# Test not included +RESTRICT="test" + +python_compile_all() { + # The build by rst2html.py makes non fatal errors building index.rst + if use doc; then + rst2html.py docs/history.rst > docs/history.html + rst2html.py docs/index.rst > docs/index.html + fi +} + +python_test() { + esetup.py pytest +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +}