public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/
Date: Fri,  9 Nov 2018 13:42:56 +0000 (UTC)	[thread overview]
Message-ID: <1541770953.7b9cd5c7c87251cb757342e30dc57b493b9190ef.alexxy@gentoo> (raw)

commit:     7b9cd5c7c87251cb757342e30dc57b493b9190ef
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  9 13:31:44 2018 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Fri Nov  9 13:42:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b9cd5c7

dev-python/pytest-cov: eapi7 + py3_7

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild | 57 ++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
new file mode 100644
index 00000000000..98fb738ccee
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.org/project/pytest-cov/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
+IUSE="doc test"
+
+RDEPEND="
+	>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+	>=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
+	>=dev-python/cov-core-1.14.0[${PYTHON_USEDEP}]
+	>=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
+	doc? (
+		dev-python/sphinx[${PYTHON_USEDEP}]
+		dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
+	)
+"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/virtualenv[${PYTHON_USEDEP}]
+		dev-python/fields[${PYTHON_USEDEP}]
+		dev-python/process-tests[${PYTHON_USEDEP}]
+		|| (
+			>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
+			dev-python/pytest-cache[${PYTHON_USEDEP}]
+		)
+		>=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+		dev-python/pytest-capturelog[${PYTHON_USEDEP}]
+	)
+"
+
+python_compile_all() {
+	use doc && sphinx-build -b html docs _build/html
+}
+
+python_test() {
+	PYTHONPATH="${S}/tests:${BUILD_DIR}/lib" \
+		PYTEST_PLUGINS=${PN/-/_} \
+		py.test -v -v -x || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+	use doc && HTML_DOCS=( _build/html/. )
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2018-11-09 13:43 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 13:42 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-11 19:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/ Michał Górny
2024-04-11 16:35 Arthur Zamarin
2024-03-25  4:47 Michał Górny
2023-10-10  8:14 Michał Górny
2023-10-10  8:14 Michał Górny
2023-10-10  8:14 Michał Górny
2023-10-10  5:10 Michał Górny
2023-10-10  5:10 Michał Górny
2023-10-10  5:10 Michał Górny
2023-07-11  9:17 Michał Górny
2023-07-11  8:43 Jakov Smolić
2023-05-26 18:04 Michał Górny
2023-05-26 18:04 Michał Górny
2023-05-26 18:04 Michał Górny
2023-02-20  6:24 Michał Górny
2023-02-20  6:24 Michał Górny
2023-01-05 16:56 Michał Górny
2022-11-19  8:44 Arthur Zamarin
2022-11-19  8:39 Arthur Zamarin
2022-10-12 14:52 Michał Górny
2022-10-01 16:24 Michał Górny
2022-02-27 18:46 Michał Górny
2022-01-23 14:56 Michał Górny
2022-01-23 14:56 Michał Górny
2021-11-05  5:40 Arthur Zamarin
2021-11-05  2:12 Sam James
2021-10-04  8:05 Michał Górny
2021-09-21 21:37 James Le Cuirot
2021-06-23 21:27 Michał Górny
2021-06-14 22:30 Michał Górny
2021-06-14 22:18 Sam James
2021-06-01 22:44 Michał Górny
2021-05-15  8:39 Michał Górny
2021-02-24 22:30 Michał Górny
2021-02-24 22:05 Sam James
2021-02-19  8:58 Michał Górny
2021-02-19  2:54 Sam James
2021-01-30 19:31 Sam James
2021-01-21 10:52 Michał Górny
2021-01-18 11:42 Michał Górny
2021-01-18 11:42 Michał Górny
2020-12-01 10:41 Andrey Grozin
2020-11-18  8:47 Michał Górny
2020-10-16 18:22 Michał Górny
2020-08-01 21:48 Michał Górny
2020-06-16  8:18 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-28 18:49 Michał Górny
2020-03-26 10:19 Agostino Sarubbo
2020-03-26  8:29 Agostino Sarubbo
2020-03-25 17:44 Agostino Sarubbo
2020-03-25 16:14 Agostino Sarubbo
2020-03-25 16:12 Agostino Sarubbo
2019-12-02 21:13 Aaron Bauman
2019-11-25 12:35 Michał Górny
2019-10-12 20:23 Matt Turner
2019-04-12 13:47 Virgil Dupras
2019-04-12 13:03 Virgil Dupras
2018-12-03 12:16 Virgil Dupras
2018-08-14  6:41 Mart Raudsepp
2018-06-22 15:06 Mikle Kolyada
2018-05-04 15:17 Mart Raudsepp
2018-03-27 23:15 Matt Turner
2018-03-07 19:47 Markus Meier
2018-02-22 15:52 Michał Górny
2018-01-24 22:53 Sergei Trofimovich
2018-01-13 12:16 Sergei Trofimovich
2018-01-13 11:32 Sergei Trofimovich
2018-01-03 19:51 Sergei Trofimovich
2018-01-03  9:25 Michał Górny
2018-01-03  9:11 Michał Górny
2018-01-03  9:11 Michał Górny
2017-08-02  4:06 Sebastien Fabbro
2017-03-22 19:48 Markus Meier
2017-03-11 17:07 Agostino Sarubbo
2017-02-25 10:03 Agostino Sarubbo
2017-02-23 16:35 Michael Weber
2017-02-23 16:35 Michael Weber
2017-02-23 14:12 Michael Weber
2017-02-21 11:54 Tobias Klausmann
2017-02-19  8:40 Markus Meier
2017-02-12 22:20 Zac Medico
2017-02-12 17:10 Agostino Sarubbo
2017-02-12 16:25 Agostino Sarubbo
2017-02-06 14:55 Agostino Sarubbo
2017-02-04 12:08 Jeroen Roovers
2017-01-25  6:39 Jeroen Roovers
2016-02-01 16:27 Justin Lecher
2015-11-09 11:49 Justin Lecher
2015-10-15  8:57 Justin Lecher
2015-10-15  8:26 Justin Lecher
2015-10-14 17:21 Michał Górny
2015-09-29 13:03 Tobias Klausmann
2015-09-27 18:16 Justin Lecher
2015-09-22  7:02 Justin Lecher
2015-09-09  9:49 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541770953.7b9cd5c7c87251cb757342e30dc57b493b9190ef.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox