public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/
Date: Thu, 19 Oct 2017 12:29:16 +0000 (UTC)	[thread overview]
Message-ID: <1508416139.f1369e122b0b1f5e775975ed7e7544de0a1ea356.mrueg@gentoo> (raw)

commit:     f1369e122b0b1f5e775975ed7e7544de0a1ea356
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 12:28:59 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 12:28:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1369e12

dev-python/pytest-mock: Version bump to 1.6.3

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-python/pytest-mock/Manifest                 |  1 +
 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 40 +++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index f3ec09af0d3..0b872b14a22 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-1.2.zip 19461 SHA256 f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f SHA512 9b87c72e9895a16d4829229a070ba2b8143be894dfbc804b1e882eb2cc5843d8da9db258b5a2b9f8ae6738d9d612dbf1bec16790c5f99c27d9f7554cb676f852 WHIRLPOOL 470832b4df4a9392b0cfcbba96b2a52379d7111af0236f5dbe4e22f4e303da248bf2f936b3b66ae0ff3a197f3c87b0419c54c115fe5c6543e255f11666d3031d
 DIST pytest-mock-1.5.0.tar.gz 17199 SHA256 782f23f227874bac4cee878637c2af8efdd2c34c48fcbf9e79b00a0872056ffb SHA512 5b5acb3ae3040d37768692a5289be269d8e12a6188a2dddefb136bdb99f847bedee525d59ac49886a6a27032b672e442ee256410174777675bf92fc82505f807 WHIRLPOOL 7c9c2617944dbf02cce356d12650d89372db252bdf79b92db304bcb1337858a38ae4b9b640210190338feccf4de0cbd64ad1a2d7ffc411c9184e1cd09dd7ec17
 DIST pytest-mock-1.6.0.tar.gz 17780 SHA256 83a17cbcd4dbc7c6c9dc885a0d598f9acd11f2d5142e0718ed32e14538670c1f SHA512 c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f WHIRLPOOL 518c8732f722547a0a87f0e1dd4cf8c80272f4a62f238d5bb16766fe0340c8fc022e409f58e6aa8ed7cb17b33fe160574db199197c0466701fa7e7a668fb5116
+DIST pytest-mock-1.6.3.tar.gz 18482 SHA256 920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c SHA512 6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a WHIRLPOOL 85fe9ed6bec18eacb5cd9c404c7ff032e88869e38ad744628b236fc5081d48eee7fd161a6fd4066f38815474eefb6b7635a82199a130000cbba17b662c2bd0f0

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
new file mode 100644
index 00000000000..afa47bdffc9
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
+	python_targets_python2_7? (
+		dev-python/mock[python_targets_python2_7]
+	)
+	python_targets_pypy? (
+		dev-python/mock[python_targets_pypy]
+	)"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+src_prepare() {
+	if has_version dev-python/mock; then
+		# test fails when standalone mock is installed
+		sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die
+	fi
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
+		py.test test_pytest_mock.py || die
+}


             reply	other threads:[~2017-10-19 12:29 UTC|newest]

Thread overview: 114+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19 12:29 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/ Michał Górny
2025-02-15  7:12 Michał Górny
2024-10-14 12:42 Michał Górny
2024-05-08 18:31 Michał Górny
2024-03-22  4:38 Michał Górny
2023-11-22 11:04 Michał Górny
2023-11-22 11:04 Michał Górny
2023-10-20  4:42 Michał Górny
2023-07-10  1:47 Michał Górny
2023-06-16  3:34 Michał Górny
2023-05-24  8:35 Michał Górny
2023-05-23 15:42 Michał Górny
2023-03-17 15:23 Michał Górny
2022-12-25 16:22 Michał Górny
2022-11-03 19:42 Arthur Zamarin
2022-11-03 19:36 Arthur Zamarin
2022-09-28 18:34 Michał Górny
2022-07-29 12:49 Michał Górny
2022-07-29 11:45 Arthur Zamarin
2022-07-05 19:28 Arthur Zamarin
2022-06-25  5:11 Michał Górny
2022-05-10 20:38 Michał Górny
2022-04-25 17:16 Sam James
2022-03-16  8:00 Michał Górny
2022-01-30 19:15 Zac Medico
2022-01-28 23:01 Michał Górny
2022-01-28 23:01 Michał Górny
2022-01-28 18:38 Arthur Zamarin
2021-09-23  8:15 James Le Cuirot
2021-09-22  7:18 Arthur Zamarin
2021-06-05 21:20 Michał Górny
2021-06-05 20:35 Sam James
2021-05-25  1:29 Joshua Kinard
2021-05-07  8:04 Michał Górny
2021-05-06 11:38 Michał Górny
2021-04-25  7:56 Michał Górny
2021-03-02  8:53 Michał Górny
2021-03-02  4:37 Sam James
2021-01-18 18:48 Michał Górny
2021-01-18 16:53 Sam James
2021-01-11  9:21 Michał Górny
2021-01-05  9:17 Michał Górny
2020-12-16 10:09 Michał Górny
2020-11-28  8:32 Sam James
2020-09-21 16:06 Michał Górny
2020-09-20 14:36 Michał Górny
2020-09-19 21:33 Michał Górny
2020-09-19 20:53 Sam James
2020-09-19  7:21 Michał Górny
2020-09-19  1:01 Sam James
2020-09-18 15:43 Michał Górny
2020-08-27  7:00 Michał Górny
2020-08-22  6:16 Michał Górny
2020-08-21 19:15 Sergei Trofimovich
2020-08-21 19:00 Sergei Trofimovich
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-07-12 20:19 Michał Górny
2020-07-11 19:55 Sergei Trofimovich
2020-07-11  8:06 Michał Górny
2020-07-11  7:51 Michał Górny
2020-07-06 19:15 Michał Górny
2020-06-29 13:40 Agostino Sarubbo
2020-06-06 18:01 Michał Górny
2020-06-05 16:10 Sergei Trofimovich
2020-06-05  5:54 Michał Górny
2020-06-03  6:59 Sergei Trofimovich
2020-06-02 22:21 Mart Raudsepp
2020-05-31  7:45 Michał Górny
2020-05-26  9:26 Michał Górny
2020-05-04 11:44 Michał Górny
2020-04-26 19:02 Matt Turner
2020-04-19  6:51 Michał Górny
2020-04-18 13:51 Michał Górny
2020-04-18 13:51 Michał Górny
2020-04-08 20:53 Sergei Trofimovich
2020-03-28 18:49 Michał Górny
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:12 Agostino Sarubbo
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 22:17 Sergei Trofimovich
2019-12-30 21:54 Piotr Karbowski
2019-12-30 12:59 Michał Górny
2019-12-02 21:13 Aaron Bauman
2019-12-02 19:27 Aaron Bauman
2019-10-26 20:33 Zac Medico
2019-05-15 22:56 Sergei Trofimovich
2019-02-17 17:34 Sergei Trofimovich
2019-01-03 15:02 Sergei Trofimovich
2018-12-29 13:16 Sergei Trofimovich
2018-12-27 17:19 Matt Turner
2018-11-18 11:40 Mikle Kolyada
2018-11-18  9:38 Mikle Kolyada
2018-10-17 12:11 Tobias Klausmann
2018-08-18 22:21 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-08-06  9:14 Sergei Trofimovich
2018-07-21 20:52 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2018-07-21 10:14 Michał Górny
2017-10-30 20:15 Zac Medico
2017-10-29 22:13 Zac Medico
2017-09-30  0:00 Matt Thode
2017-06-23  5:58 Alexis Ballier
2017-04-15 19:42 Manuel Rüger
2017-02-13  9:00 Zac Medico
2017-01-01 21:21 Zac Medico
2016-12-31 15:23 Zac Medico
2016-09-19  2:24 Zac Medico

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=1508416139.f1369e122b0b1f5e775975ed7e7544de0a1ea356.mrueg@gentoo \
    --to=mrueg@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