[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/files/, dev-python/pytest-mock/

2024-04-06 Thread Michał Górny
commit: 5511b909d09df61464ff3552ea4156ea9c111cc5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 12:30:22 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 12:37:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5511b909

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest|  1 -
 .../files/pytest-mock-3.12.0-test.patch| 34 -
 dev-python/pytest-mock/pytest-mock-3.12.0.ebuild   | 59 --
 3 files changed, 94 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index ae7dceabba56..3f7cb9be9fbf 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-3.12.0.tar.gz 32139 BLAKE2B 
4bc2289579686b8ca9e840440b21b7299817e803f108726692cda6f1a138564462b04b9ae6a3038a5e36ec4d665bb7c8f54c26d231d6b17188b8d830d553b20d
 SHA512 
6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82
 DIST pytest-mock-3.14.0.tar.gz 32814 BLAKE2B 
f6e10dd6781bf10076c7c42f9cfc8cd4e4cfd3aa08030c9ad6377ee64b3386ddd190eac8bd1a912d54b5ef4aba14dfe136b3968b6ed08683dd4c4f102eaf8a26
 SHA512 
c60059fe8fb64540f33382e52b9015dd9771483e2074d35c02cd5852a50eed02a64e202b7e81e920bbbd0621bd23fa9bb0467d2ceef7abd582df3e27eafeaa20

diff --git a/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch 
b/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch
deleted file mode 100644
index e3938fb1457c..
--- a/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 39547ecdc051123750dd17a890c0492ac5d5b1a0 Mon Sep 17 00:00:00 2001
-From: Daniel Garcia Moreno 
-Date: Wed, 20 Dec 2023 13:39:14 +0100
-Subject: [PATCH] Update expected message to match python 3.11.7
-
-https://github.com/python/cpython/issues/111019

- tests/test_pytest_mock.py | 6 +-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
-index c185f2a..01534a4 100644
 a/tests/test_pytest_mock.py
-+++ b/tests/test_pytest_mock.py
-@@ -25,6 +25,8 @@
- 
- # Python 3.8 changed the output formatting (bpo-35500), which has been ported 
to mock 3.0
- NEW_FORMATTING = sys.version_info >= (3, 8)
-+# Python 3.11.7 changed the output formatting, 
https://github.com/python/cpython/issues/111019
-+NEWEST_FORMATTING = sys.version_info >= (3, 11, 7)
- 
- if sys.version_info[:2] >= (3, 8):
- from unittest.mock import AsyncMock
-@@ -240,7 +242,9 @@ def test_repr_with_name(self, mocker: MockerFixture) -> 
None:
- 
- def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> 
None:
- expected_name = kwargs.get("name") or "mock"
--if NEW_FORMATTING:
-+if NEWEST_FORMATTING:
-+msg = "expected call not found.\nExpected: {0}()\n  Actual: not 
called."
-+elif NEW_FORMATTING:
- msg = "expected call not found.\nExpected: {0}()\nActual: not 
called."
- else:
- msg = "Expected call: {0}()\nNot called"

diff --git a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
deleted file mode 100644
index ccb417b563d1..
--- a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_TESTED=( python3_{10..12} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   ' "${PYTHON_TESTED[@]}")
-   )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-   # https://github.com/pytest-dev/pytest-mock/pull/404
-   "${FILESDIR}/${P}-test.patch"
-)
-
-python_test() {
-   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
-   einfo "Skipping tests on ${EPYTHON}"
-   return
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2024-03-21 Thread Michał Górny
commit: 7f6ef086aff51dc619f27aa08aa132d428030b55
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 22 04:16:25 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 22 04:38:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6ef086

dev-python/pytest-mock: Bump to 3.14.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 +
 dev-python/pytest-mock/pytest-mock-3.14.0.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 4c553742bff7..ae7dceabba56 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.12.0.tar.gz 32139 BLAKE2B 
4bc2289579686b8ca9e840440b21b7299817e803f108726692cda6f1a138564462b04b9ae6a3038a5e36ec4d665bb7c8f54c26d231d6b17188b8d830d553b20d
 SHA512 
6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82
+DIST pytest-mock-3.14.0.tar.gz 32814 BLAKE2B 
f6e10dd6781bf10076c7c42f9cfc8cd4e4cfd3aa08030c9ad6377ee64b3386ddd190eac8bd1a912d54b5ef4aba14dfe136b3968b6ed08683dd4c4f102eaf8a26
 SHA512 
c60059fe8fb64540f33382e52b9015dd9771483e2074d35c02cd5852a50eed02a64e202b7e81e920bbbd0621bd23fa9bb0467d2ceef7abd582df3e27eafeaa20

diff --git a/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild
new file mode 100644
index ..e3315fd88f37
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.14.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/files/, dev-python/pytest-mock/

2024-02-03 Thread Michał Górny
commit: d5be907debc59e876779de7a8915a687a5899cf0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb  3 15:00:07 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb  3 15:01:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5be907d

dev-python/pytest-mock: Backport a test fix

Closes: https://bugs.gentoo.org/923140
Signed-off-by: Michał Górny  gentoo.org>

 .../files/pytest-mock-3.12.0-test.patch| 34 ++
 dev-python/pytest-mock/pytest-mock-3.12.0.ebuild   |  7 -
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch 
b/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch
new file mode 100644
index ..e3938fb1457c
--- /dev/null
+++ b/dev-python/pytest-mock/files/pytest-mock-3.12.0-test.patch
@@ -0,0 +1,34 @@
+From 39547ecdc051123750dd17a890c0492ac5d5b1a0 Mon Sep 17 00:00:00 2001
+From: Daniel Garcia Moreno 
+Date: Wed, 20 Dec 2023 13:39:14 +0100
+Subject: [PATCH] Update expected message to match python 3.11.7
+
+https://github.com/python/cpython/issues/111019
+---
+ tests/test_pytest_mock.py | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
+index c185f2a..01534a4 100644
+--- a/tests/test_pytest_mock.py
 b/tests/test_pytest_mock.py
+@@ -25,6 +25,8 @@
+ 
+ # Python 3.8 changed the output formatting (bpo-35500), which has been ported 
to mock 3.0
+ NEW_FORMATTING = sys.version_info >= (3, 8)
++# Python 3.11.7 changed the output formatting, 
https://github.com/python/cpython/issues/111019
++NEWEST_FORMATTING = sys.version_info >= (3, 11, 7)
+ 
+ if sys.version_info[:2] >= (3, 8):
+ from unittest.mock import AsyncMock
+@@ -240,7 +242,9 @@ def test_repr_with_name(self, mocker: MockerFixture) -> 
None:
+ 
+ def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> 
None:
+ expected_name = kwargs.get("name") or "mock"
+-if NEW_FORMATTING:
++if NEWEST_FORMATTING:
++msg = "expected call not found.\nExpected: {0}()\n  Actual: not 
called."
++elif NEW_FORMATTING:
+ msg = "expected call not found.\nExpected: {0}()\nActual: not 
called."
+ else:
+ msg = "Expected call: {0}()\nNot called"

diff --git a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
index 21e83bfc0670..ccb417b563d1 100644
--- a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,6 +34,11 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+   # https://github.com/pytest-dev/pytest-mock/pull/404
+   "${FILESDIR}/${P}-test.patch"
+)
+
 python_test() {
if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
einfo "Skipping tests on ${EPYTHON}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-11-22 Thread Michał Górny
commit: 8b5709f5c4f66a791b354db6ba629f37ab7501be
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 22 11:02:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 22 11:04:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5709f5

dev-python/pytest-mock: Stabilize 3.12.0 ALLARCHES, #917724

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
index fffc7a4e5350..21e83bfc0670 100644
--- a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/pytest-6[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-11-22 Thread Michał Górny
commit: 13dccb31fad613f7d2d3edb279d372974d47062a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 22 11:02:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 22 11:04:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13dccb31

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 -
 dev-python/pytest-mock/pytest-mock-3.11.1.ebuild | 54 
 2 files changed, 55 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 4dbcca6fe769..4c553742bff7 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-3.11.1.tar.gz 31251 BLAKE2B 
26655487947d614483f082f17c9f3a9fc2688c016d07c6d4c4e34c369f87f3d914cf82d966a655e1eee501088d27d711f1b65f0c777678254dcfffa5c8c7585f
 SHA512 
f52147498657d35f4616ea788b500a68ffcf1c2c066047fb973308b54e11bd7fe5a3961115bab99ae6858000ebb68b35cc489e81221a0bd26afae8426092ff6b
 DIST pytest-mock-3.12.0.tar.gz 32139 BLAKE2B 
4bc2289579686b8ca9e840440b21b7299817e803f108726692cda6f1a138564462b04b9ae6a3038a5e36ec4d665bb7c8f54c26d231d6b17188b8d830d553b20d
 SHA512 
6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82

diff --git a/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild
deleted file mode 100644
index 21e83bfc0670..
--- a/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_TESTED=( python3_{10..12} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   ' "${PYTHON_TESTED[@]}")
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
-   einfo "Skipping tests on ${EPYTHON}"
-   return
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-10-19 Thread Michał Górny
commit: c97d4317c8b8c85cef16df291c03b8e1412c0cf7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 20 04:24:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 20 04:24:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97d4317

dev-python/pytest-mock: Bump to 3.12.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 +
 dev-python/pytest-mock/pytest-mock-3.12.0.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index fc86437af047..4dbcca6fe769 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.11.1.tar.gz 31251 BLAKE2B 
26655487947d614483f082f17c9f3a9fc2688c016d07c6d4c4e34c369f87f3d914cf82d966a655e1eee501088d27d711f1b65f0c777678254dcfffa5c8c7585f
 SHA512 
f52147498657d35f4616ea788b500a68ffcf1c2c066047fb973308b54e11bd7fe5a3961115bab99ae6858000ebb68b35cc489e81221a0bd26afae8426092ff6b
+DIST pytest-mock-3.12.0.tar.gz 32139 BLAKE2B 
4bc2289579686b8ca9e840440b21b7299817e803f108726692cda6f1a138564462b04b9ae6a3038a5e36ec4d665bb7c8f54c26d231d6b17188b8d830d553b20d
 SHA512 
6da429e646a4e3a825f699969dbc87033136918bd9aa111ff334fac324e5ac89ef6516e82ffeeb20cb6a857fbbe904d8ee985acefba2d2b7bd0ffe4b9227ad82

diff --git a/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
new file mode 100644
index ..fffc7a4e5350
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.12.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-07-09 Thread Michał Górny
commit: 8d19263ea7beb23f7e17ac823da425e7c8a5ea25
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 10 01:39:32 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 10 01:46:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d19263e

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 -
 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 60 
 2 files changed, 61 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 10602264b9d9..fc86437af047 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-3.10.0.tar.gz 28384 BLAKE2B 
2f51f8be34094054b8f7864eb083dde00800adb73af668444d21c95d8f159594bed0f68694e7ffb0e24da402a4865f37c07d85622ad00f130ccdb4e3d189bf9a
 SHA512 
2ad6866d581a2999899e399ef5516d478a6172f52923f03703e3e3708229fb3b1178c91225b5cc90734c96abcb48fea517b11e0fc193da6fb592295395c14cd3
 DIST pytest-mock-3.11.1.tar.gz 31251 BLAKE2B 
26655487947d614483f082f17c9f3a9fc2688c016d07c6d4c4e34c369f87f3d914cf82d966a655e1eee501088d27d711f1b65f0c777678254dcfffa5c8c7585f
 SHA512 
f52147498657d35f4616ea788b500a68ffcf1c2c066047fb973308b54e11bd7fe5a3961115bab99ae6858000ebb68b35cc489e81221a0bd26afae8426092ff6b

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
deleted file mode 100644
index a72e71fb4369..
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_TESTED=( python3_{10..12} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   ' "${PYTHON_TESTED[@]}")
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   # obsolete, upst. e2016928db1147a2a46de6ee9fa878ca0e9d8fc8
-   sed -i -e '/import py\.code/d' tests/test_pytest_mock.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
-   einfo "Skipping tests on ${EPYTHON}"
-   return
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-06-15 Thread Michał Górny
commit: e876b1bc875f9b772f35346f0b4c4fd73d527c9f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 16 02:49:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 16 03:34:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e876b1bc

dev-python/pytest-mock: Bump to 3.11.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 +
 dev-python/pytest-mock/pytest-mock-3.11.1.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 3840a93144a0..10602264b9d9 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.10.0.tar.gz 28384 BLAKE2B 
2f51f8be34094054b8f7864eb083dde00800adb73af668444d21c95d8f159594bed0f68694e7ffb0e24da402a4865f37c07d85622ad00f130ccdb4e3d189bf9a
 SHA512 
2ad6866d581a2999899e399ef5516d478a6172f52923f03703e3e3708229fb3b1178c91225b5cc90734c96abcb48fea517b11e0fc193da6fb592295395c14cd3
+DIST pytest-mock-3.11.1.tar.gz 31251 BLAKE2B 
26655487947d614483f082f17c9f3a9fc2688c016d07c6d4c4e34c369f87f3d914cf82d966a655e1eee501088d27d711f1b65f0c777678254dcfffa5c8c7585f
 SHA512 
f52147498657d35f4616ea788b500a68ffcf1c2c066047fb973308b54e11bd7fe5a3961115bab99ae6858000ebb68b35cc489e81221a0bd26afae8426092ff6b

diff --git a/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild
new file mode 100644
index ..fffc7a4e5350
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.11.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-05-24 Thread Michał Górny
commit: 744ff942ae784d99c551344d4029aa1cf63719de
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 24 08:35:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 24 08:35:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744ff942

dev-python/pytest-mock: Enable tests on py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
index fafb81a44a96..a72e71fb4369 100644
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
@@ -5,8 +5,8 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_TESTED=( python3_{10..11} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 )
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-05-23 Thread Michał Górny
commit: 4eb697c59015ad45e6d0a7fc36a7e0c51744f608
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 23 15:28:06 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 23 15:42:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb697c5

dev-python/pytest-mock: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
index 3d5766a44bf3..fafb81a44a96 100644
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
@@ -5,7 +5,8 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_TESTED=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 )
 
 inherit distutils-r1 pypi
 
@@ -25,7 +26,9 @@ RDEPEND="
 BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   ' "${PYTHON_TESTED[@]}")
)
 "
 
@@ -38,6 +41,11 @@ src_prepare() {
 }
 
 python_test() {
+   if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
+   einfo "Skipping tests on ${EPYTHON}"
+   return
+   fi
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
local EPYTEST_DESELECT=()



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2023-03-17 Thread Michał Górny
commit: 5575eb7ffee4f63ea176ae328053f3a138f891b0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 17 11:59:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 17 15:22:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5575eb7f

dev-python/pytest-mock: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
index 76c71cda9a6d..3d5766a44bf3 100644
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
@@ -4,16 +4,16 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
 HOMEPAGE="
https://github.com/pytest-dev/pytest-mock/
https://pypi.org/project/pytest-mock/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-12-25 Thread Michał Górny
commit: a7133a4442c67b7db964b81bd94e2058561dd8d9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 25 16:21:18 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 25 16:21:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7133a44

dev-python/pytest-mock: Remove obsolete py.code import

Closes: https://bugs.gentoo.org/888215
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
index 6266e8ce070c..c71b9b8faec7 100644
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
@@ -31,6 +31,12 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+src_prepare() {
+   # obsolete, upst. e2016928db1147a2a46de6ee9fa878ca0e9d8fc8
+   sed -i -e '/import py\.code/d' tests/test_pytest_mock.py || die
+   distutils-r1_src_prepare
+}
+
 python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-11-03 Thread Arthur Zamarin
commit: 424a2278335417912b02df7f0bb72419afe47325
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  3 19:42:06 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  3 19:42:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424a2278

dev-python/pytest-mock: drop 3.8.2, 3.9.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/Manifest |  2 --
 dev-python/pytest-mock/pytest-mock-3.8.2.ebuild | 46 -
 dev-python/pytest-mock/pytest-mock-3.9.0.ebuild | 46 -
 3 files changed, 94 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index a45d5d501a0b..3840a93144a0 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1 @@
 DIST pytest-mock-3.10.0.tar.gz 28384 BLAKE2B 
2f51f8be34094054b8f7864eb083dde00800adb73af668444d21c95d8f159594bed0f68694e7ffb0e24da402a4865f37c07d85622ad00f130ccdb4e3d189bf9a
 SHA512 
2ad6866d581a2999899e399ef5516d478a6172f52923f03703e3e3708229fb3b1178c91225b5cc90734c96abcb48fea517b11e0fc193da6fb592295395c14cd3
-DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B 
feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f
 SHA512 
039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b
-DIST pytest-mock-3.9.0.tar.gz 27883 BLAKE2B 
d1cf4599bdc3fa21df83874c26751791f9ec891184baa2a304a8d4e48e5a03194718afb80e9019f914150ef22c1b3a787ac17cfadf10deae5584b8e39e32e376
 SHA512 
ed918574852ac70d863589d976fd65ac57c61ee1fa072651b93ee58f2d1154cef6c0ae1c2cba822bb1c6a2bddd6442b49e256652e2bd55fd3b1bed73017ff7b6

diff --git a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
deleted file mode 100644
index 6266e8ce070c..
--- a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}

diff --git a/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild
deleted file mode 100644
index ce9187b4e2e5..
--- a/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-11-03 Thread Arthur Zamarin
commit: 4249b66c981cbf6304719a1d7a7861eb7b8c71cc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  3 19:36:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  3 19:36:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4249b66c

dev-python/pytest-mock: Stabilize 3.10.0 ALLARCHES, #879413

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
index ce9187b4e2e5..6266e8ce070c 100644
--- a/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.10.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/pytest-6[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-09-28 Thread Michał Górny
commit: 03e7d18137a3a99c40cce23e7364eea6609bd606
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 28 18:02:37 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 28 18:32:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e7d181

dev-python/pytest-mock: Bump to 3.9.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.9.0.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 58f3d5fbc4a7..4df2285628e4 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B 
feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f
 SHA512 
039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b
+DIST pytest-mock-3.9.0.tar.gz 27883 BLAKE2B 
d1cf4599bdc3fa21df83874c26751791f9ec891184baa2a304a8d4e48e5a03194718afb80e9019f914150ef22c1b3a787ac17cfadf10deae5584b8e39e32e376
 SHA512 
ed918574852ac70d863589d976fd65ac57c61ee1fa072651b93ee58f2d1154cef6c0ae1c2cba822bb1c6a2bddd6442b49e256652e2bd55fd3b1bed73017ff7b6

diff --git a/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild
new file mode 100644
index ..ce9187b4e2e5
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.9.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-07-29 Thread Michał Górny
commit: 1a499eb865b485560124e52b9713b351053564fe
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 29 12:47:38 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 29 12:49:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a499eb8

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  2 --
 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 46 -
 dev-python/pytest-mock/pytest-mock-3.8.1.ebuild | 46 -
 3 files changed, 94 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 358627c45b60..58f3d5fbc4a7 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1 @@
-DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 
27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1
 SHA512 
6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901
-DIST pytest-mock-3.8.1.tar.gz 27671 BLAKE2B 
6bb4a3d752ae0f4e751cb50fd6018802bb7f3cee53429693161185ef369bad8addd8637d2526750fcf9ddbe9205da3d1d615efa19b1d58ae71603ca3902c67a6
 SHA512 
db8c0e2cbb7f8741569035a4e6ab9335ec0b03e05f0df07de0de8dad769974f96752c15d85c439da432623b51296b88970e3e29a212930e2bac33ed47d6055f3
 DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B 
feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f
 SHA512 
039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
deleted file mode 100644
index 6266e8ce070c..
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}

diff --git a/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild
deleted file mode 100644
index ce9187b4e2e5..
--- a/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-mock/
-   https://pypi.org/project/pytest-mock/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
-   local EPYTEST_DESELECT=()
-
-   if has_version dev-python/mock; then
-   EPYTEST_DESELECT+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   epytest --assert=plain
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-07-29 Thread Arthur Zamarin
commit: 794ac9691da89d824e6704ef099470261602162e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jul 29 11:45:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jul 29 11:45:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794ac969

dev-python/pytest-mock: Stabilize 3.8.2 ALLARCHES, #862058

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
index ce9187b4e2e5..6266e8ce070c 100644
--- a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/pytest-6[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-07-05 Thread Arthur Zamarin
commit: ceec29f59bd5d9601123f4692b409080a2f219f0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jul  5 19:16:40 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jul  5 19:16:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceec29f5

dev-python/pytest-mock: add 3.8.2

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.8.2.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 97f5e4ef533c..358627c45b60 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 
27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1
 SHA512 
6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901
 DIST pytest-mock-3.8.1.tar.gz 27671 BLAKE2B 
6bb4a3d752ae0f4e751cb50fd6018802bb7f3cee53429693161185ef369bad8addd8637d2526750fcf9ddbe9205da3d1d615efa19b1d58ae71603ca3902c67a6
 SHA512 
db8c0e2cbb7f8741569035a4e6ab9335ec0b03e05f0df07de0de8dad769974f96752c15d85c439da432623b51296b88970e3e29a212930e2bac33ed47d6055f3
+DIST pytest-mock-3.8.2.tar.gz 27734 BLAKE2B 
feaa92ba63626d7510008c41491bd0ab649b2a0cb55c888a472a5f6100a18d8b4a232532b6b3a860483bfd1676fc1216ca368e215b8f11fc6211eeef62f5743f
 SHA512 
039342de6a22921ebac3f54a1f217a7a5d4cf9833ce4b4bee0a18ba5409d46211cd2d9ff9620a1576560d32f5e5799483e6686e3b58d32123f41dcd7a862154b

diff --git a/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
new file mode 100644
index ..ce9187b4e2e5
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.8.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-06-24 Thread Michał Górny
commit: e9b58242f35b12f5556ff53c4ac0700eb83c4d6d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 25 03:35:53 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 25 05:11:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b58242

dev-python/pytest-mock: Bump to 3.8.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.8.1.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index c1a39aec7112..97f5e4ef533c 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 
27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1
 SHA512 
6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901
+DIST pytest-mock-3.8.1.tar.gz 27671 BLAKE2B 
6bb4a3d752ae0f4e751cb50fd6018802bb7f3cee53429693161185ef369bad8addd8637d2526750fcf9ddbe9205da3d1d615efa19b1d58ae71603ca3902c67a6
 SHA512 
db8c0e2cbb7f8741569035a4e6ab9335ec0b03e05f0df07de0de8dad769974f96752c15d85c439da432623b51296b88970e3e29a212930e2bac33ed47d6055f3

diff --git a/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild
new file mode 100644
index ..ce9187b4e2e5
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.8.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
+
+   if has_version dev-python/mock; then
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-05-10 Thread Michał Górny
commit: 443d620a15c388a6a418c733a9cfb31ea357f6b0
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 10 20:34:39 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 10 20:38:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443d620a

dev-python/pytest-mock: Enable py3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
index a54aa61c82c0..6266e8ce070c 100644
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -4,11 +4,15 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
 inherit distutils-r1
 
 DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-mock/
+   https://pypi.org/project/pytest-mock/
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
@@ -16,21 +20,24 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
-   >=dev-python/pytest-6[${PYTHON_USEDEP}]"
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]
+"
 BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
-   )"
+   )
+"
 
 distutils_enable_tests pytest
 
 python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+   local EPYTEST_DESELECT=()
 
if has_version dev-python/mock; then
-   local EPYTEST_DESELECT=(
+   EPYTEST_DESELECT+=(
tests/test_pytest_mock.py::test_standalone_mock
)
fi



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-04-25 Thread Sam James
commit: 4984fe1f9c6522759275060c39d36925869fd69e
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 17:16:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 17:16:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4984fe1f

dev-python/pytest-mock: Keyword 3.7.0 s390, #840785

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
index 8eb86230165a..6355df11d45b 100644
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc 
x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/pytest-6[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-03-16 Thread Michał Górny
commit: ed30d0ed0f31d67ecc051ad4cbed12a65393578f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 16 07:57:19 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 16 07:57:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed30d0ed

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 36 -
 2 files changed, 37 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index ca407a500dc0..c1a39aec7112 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 
6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3
 SHA512 
50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199
 DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 
27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1
 SHA512 
6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
deleted file mode 100644
index 7e9b2eb105f5..
--- a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc 
x86 ~x64-macos"
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   sed -e 's/runpytest_subprocess(/&"-p","no:xprocess",/' -i 
tests/test_pytest_mock.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   if has_version dev-python/mock; then
-   local EPYTEST_DESELECT=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   distutils_install_for_testing
-   epytest --assert=plain
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-01-30 Thread Zac Medico
commit: da78f753e9823af891a6db7f9304eba0fc123787
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jan 30 19:14:12 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jan 30 19:15:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da78f753

dev-python/pytest-mock: Drop self from maintainers

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/pytest-mock/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/pytest-mock/metadata.xml 
b/dev-python/pytest-mock/metadata.xml
index f1dff6d6b29e..ce2ad5348355 100644
--- a/dev-python/pytest-mock/metadata.xml
+++ b/dev-python/pytest-mock/metadata.xml
@@ -6,9 +6,6 @@
pytest-dev/pytest-mock


-   
-   zmed...@gentoo.org
-   

pyt...@gentoo.org




[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-01-28 Thread Michał Górny
commit: 9103a16e1da48dae25563e59a213fcf0f97706b1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 28 22:14:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 28 23:01:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9103a16e

dev-python/pytest-mock: Disable plugin autoloading during tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
index 741a457784be..3e6c060c2c67 100644
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -25,12 +25,10 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-src_prepare() {
-   sed -e 's/runpytest_subprocess(/&"-p","no:xprocess",/' -i 
tests/test_pytest_mock.py || die
-   distutils-r1_src_prepare
-}
-
 python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_mock,pytest_asyncio.plugin
+
if has_version dev-python/mock; then
local EPYTEST_DESELECT=(
tests/test_pytest_mock.py::test_standalone_mock



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-01-28 Thread Michał Górny
commit: 5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan 28 22:03:08 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan 28 23:01:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5813f3ad

dev-python/pytest-mock: Add test dep on pytest-asyncio

Closes: https://bugs.gentoo.org/832225
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
index bd52ca1d9ea7..741a457784be 100644
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -15,8 +15,13 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
 
-RDEPEND=">=dev-python/pytest-6[${PYTHON_USEDEP}]"
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+RDEPEND="
+   >=dev-python/pytest-6[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+   )"
 
 distutils_enable_tests pytest
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2022-01-28 Thread Arthur Zamarin
commit: 80bbe3693a2e3eb7b0c6c216fc6dc2c44e4ea631
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 28 18:33:32 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 28 18:38:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bbe369

dev-python/pytest-mock: add 3.7.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 36 +
 2 files changed, 37 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index c05c153f9057..ca407a500dc0 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 
6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3
 SHA512 
50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199
+DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 
27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1
 SHA512 
6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
new file mode 100644
index ..bd52ca1d9ea7
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
+
+RDEPEND=">=dev-python/pytest-6[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e 's/runpytest_subprocess(/&"-p","no:xprocess",/' -i 
tests/test_pytest_mock.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   if has_version dev-python/mock; then
+   local EPYTEST_DESELECT=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   epytest --assert=plain
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-09-23 Thread James Le Cuirot
commit: a3ef6177d1fe15388a7ed33b1f97e6ff2c10b308
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Sep 23 08:14:19 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Sep 23 08:14:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ef6177

dev-python/pytest-mock: Keyword 3.6.1 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
index 3125f886d4a..7e9b2eb105f 100644
--- a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv sparc 
x86 ~x64-macos"
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
 BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-09-22 Thread Arthur Zamarin
commit: 8034ddfe19a8668dcd1fe00f94f5f7d0679ab05a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Sep 22 07:18:09 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Sep 22 07:18:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8034ddfe

dev-python/pytest-mock: fix running with pytest-xprocess installed

Closes: https://bugs.gentoo.org/813061
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
index 8f048a9f899..3125f886d4a 100644
--- a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
@@ -19,14 +19,18 @@ BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
 
 distutils_enable_tests pytest
 
+src_prepare() {
+   sed -e 's/runpytest_subprocess(/&"-p","no:xprocess",/' -i 
tests/test_pytest_mock.py || die
+   distutils-r1_src_prepare
+}
+
 python_test() {
-   local deselect=()
if has_version dev-python/mock; then
-   deselect+=(
+   local EPYTEST_DESELECT=(
tests/test_pytest_mock.py::test_standalone_mock
)
fi
 
distutils_install_for_testing
-   epytest --assert=plain ${deselect[@]/#/--deselect }
+   epytest --assert=plain
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-06-05 Thread Michał Górny
commit: 37cbacf459bbc890a2b06e9356b3f6a62b8588c4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  5 21:18:26 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  5 21:18:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cbacf4

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  2 --
 dev-python/pytest-mock/pytest-mock-3.5.1.ebuild | 36 -
 dev-python/pytest-mock/pytest-mock-3.6.0.ebuild | 32 --
 3 files changed, 70 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 1244c4ba705..c05c153f905 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1 @@
-DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7
-DIST pytest-mock-3.6.0.tar.gz 29795 BLAKE2B 
ac0a9ebf47ceacaa6f1e109571a15509780ca25b67f46a74710fb81e3af4cb90f4bf95e077abd9c5be803fed1a4dfe691f57f4b0d89fbc91cb91ed85fd326f9b
 SHA512 
158614ad655545a95134335b6ca5ab81bfae57a045a6e394c4195d267e2b5cce277302036ad7e23e3c771eaae71575b901ac3e02a734714d63ecb50c11b9df94
 DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 
6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3
 SHA512 
50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199

diff --git a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
deleted file mode 100644
index 17ca5abbe94..000
--- a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
deleted file mode 100644
index 074f1d7ea00..000
--- a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local deselect=()
-   if has_version dev-python/mock; then
-   deselect+=(
-   tests/test_pytest_mock.py::test_standalone_mock
-   )
-   fi
-
-   distutils_install_for_testing
-   epytest --assert=plain ${deselect[@]/#/--deselect }
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-06-05 Thread Sam James
commit: 4eaafea1ddb168bc9e50f737af70ed225dac8a10
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  5 20:32:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun  5 20:32:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eaafea1

dev-python/pytest-mock: Stabilize 3.6.1 ALLARCHES, #794388

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
index c5b380101e5..8f048a9f899 100644
--- a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~x64-macos"
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
 BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-05-24 Thread Joshua Kinard
commit: 30109ea7f0d13509890c048c198b82f170f231a4
Author: Joshua Kinard  gentoo  org>
AuthorDate: Tue May 25 01:28:36 2021 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Tue May 25 01:28:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30109ea7

dev-python/pytest-mock: Added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/685868
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.19, Repoman-3.0.3

 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
index 074f1d7ea00..c5b380101e5 100644
--- a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
 BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-05-07 Thread Michał Górny
commit: 63eaa0b658924affeafbb8f47105342ad5559f40
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May  7 07:47:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  7 08:04:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63eaa0b6

dev-python/pytest-mock: Bump to 3.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 32 +
 2 files changed, 33 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 945d631ce79..1244c4ba705 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7
 DIST pytest-mock-3.6.0.tar.gz 29795 BLAKE2B 
ac0a9ebf47ceacaa6f1e109571a15509780ca25b67f46a74710fb81e3af4cb90f4bf95e077abd9c5be803fed1a4dfe691f57f4b0d89fbc91cb91ed85fd326f9b
 SHA512 
158614ad655545a95134335b6ca5ab81bfae57a045a6e394c4195d267e2b5cce277302036ad7e23e3c771eaae71575b901ac3e02a734714d63ecb50c11b9df94
+DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 
6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3
 SHA512 
50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
new file mode 100644
index 000..074f1d7ea00
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local deselect=()
+   if has_version dev-python/mock; then
+   deselect+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   distutils_install_for_testing
+   epytest --assert=plain ${deselect[@]/#/--deselect }
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-05-06 Thread Michał Górny
commit: 66ebe8d7b31478cb9f45ce2ea7ab55eb45d97363
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu May  6 10:00:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  6 11:19:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ebe8d7

dev-python/pytest-mock: Port to python3.10

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.6.0.ebuild | 7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
index c63a62d05f0..074f1d7ea00 100644
--- a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 inherit distutils-r1
 
 DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
@@ -14,11 +13,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
-IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
 
 distutils_enable_tests pytest
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-04-25 Thread Michał Górny
commit: 58a30ba5c6ca07f3612dfdad5136ad4587c1aa3f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 25 06:39:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 25 07:56:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a30ba5

dev-python/pytest-mock: Bump to 3.6.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.6.0.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 096fe5f7f6f..945d631ce79 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7
+DIST pytest-mock-3.6.0.tar.gz 29795 BLAKE2B 
ac0a9ebf47ceacaa6f1e109571a15509780ca25b67f46a74710fb81e3af4cb90f4bf95e077abd9c5be803fed1a4dfe691f57f4b0d89fbc91cb91ed85fd326f9b
 SHA512 
158614ad655545a95134335b6ca5ab81bfae57a045a6e394c4195d267e2b5cce277302036ad7e23e3c771eaae71575b901ac3e02a734714d63ecb50c11b9df94

diff --git a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
new file mode 100644
index 000..c63a62d05f0
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local deselect=()
+   if has_version dev-python/mock; then
+   deselect+=(
+   tests/test_pytest_mock.py::test_standalone_mock
+   )
+   fi
+
+   distutils_install_for_testing
+   epytest --assert=plain ${deselect[@]/#/--deselect }
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-03-02 Thread Michał Górny
commit: 8daf1ab3e6c6ef9e769c00d98e29bcf254ac18c7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar  2 08:50:34 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar  2 08:52:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8daf1ab3

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-3.4.0.ebuild | 36 -
 2 files changed, 37 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index e328d4c38c1..096fe5f7f6f 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 
0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75
 SHA512 
5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43
 DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7

diff --git a/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
deleted file mode 100644
index 17ca5abbe94..000
--- a/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-03-01 Thread Sam James
commit: 0bc3c12a0898578ad44e108a796114160b4ee393
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  2 04:37:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  2 04:37:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc3c12a

dev-python/pytest-mock: Stabilize 3.5.1 ALLARCHES, #773835

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
index fc5daaeaf10..17ca5abbe94 100644
--- a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-01-18 Thread Michał Górny
commit: e5a34bc872c21593ae85b539459687b6abb9e090
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 18 18:47:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 18 18:47:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a34bc8

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  2 --
 dev-python/pytest-mock/pytest-mock-3.3.1.ebuild | 36 -
 dev-python/pytest-mock/pytest-mock-3.5.0.ebuild | 36 -
 3 files changed, 74 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index e170c2298fb..e328d4c38c1 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,4 +1,2 @@
-DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421
 DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 
0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75
 SHA512 
5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43
-DIST pytest-mock-3.5.0.tar.gz 28903 BLAKE2B 
39490d30546ad7419a16309a60cc7a3d8090cb38c11ca89d41034264147501fcd1ca52b26d391425df043b7234a0dc0b1255b973f93c8f40898a19d364df2e77
 SHA512 
ca85c49144a2dba83b4e3c5cfc5a82ddb631429271a4b87af686ba738f8137fe87db22121e4c04d04038c0bc786a555e882bfea21d667d1ed9f67c21b208d4ce
 DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
deleted file mode 100644
index 48dd889e97f..000
--- a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild
deleted file mode 100644
index 8f3aa84f0a7..000
--- a/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-01-18 Thread Sam James
commit: 8ac7251dc64229573a29241668c9e350052b58cb
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 18 16:53:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 18 16:53:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac7251d

dev-python/pytest-mock: Stabilize 3.4.0 ALLARCHES, #765964

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
index dc04d9251c5..f0b05964869 100644
--- a/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-01-11 Thread Michał Górny
commit: aad56f696f0bae2d11b872f233e08f0979c3aa19
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 11 08:55:13 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 11 09:19:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aad56f69

dev-python/pytest-mock: Bump to 3.5.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.5.1.ebuild | 36 +
 2 files changed, 37 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 50b91a36313..e170c2298fb 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421
 DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 
0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75
 SHA512 
5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43
 DIST pytest-mock-3.5.0.tar.gz 28903 BLAKE2B 
39490d30546ad7419a16309a60cc7a3d8090cb38c11ca89d41034264147501fcd1ca52b26d391425df043b7234a0dc0b1255b973f93c8f40898a19d364df2e77
 SHA512 
ca85c49144a2dba83b4e3c5cfc5a82ddb631429271a4b87af686ba738f8137fe87db22121e4c04d04038c0bc786a555e882bfea21d667d1ed9f67c21b208d4ce
+DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B 
f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a
 SHA512 
28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7

diff --git a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
new file mode 100644
index 000..8f3aa84f0a7
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2021-01-05 Thread Michał Górny
commit: 7cd2a1d78167771d763852f1fe3d92e798bf32cd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan  5 09:02:38 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  5 09:17:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd2a1d7

dev-python/pytest-mock: Bump to 3.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.5.0.ebuild | 36 +
 2 files changed, 37 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index aecb5ef21a5..50b91a36313 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421
 DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 
0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75
 SHA512 
5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43
+DIST pytest-mock-3.5.0.tar.gz 28903 BLAKE2B 
39490d30546ad7419a16309a60cc7a3d8090cb38c11ca89d41034264147501fcd1ca52b26d391425df043b7234a0dc0b1255b973f93c8f40898a19d364df2e77
 SHA512 
ca85c49144a2dba83b4e3c5cfc5a82ddb631429271a4b87af686ba738f8137fe87db22121e4c04d04038c0bc786a555e882bfea21d667d1ed9f67c21b208d4ce

diff --git a/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild
new file mode 100644
index 000..8f3aa84f0a7
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-12-16 Thread Michał Górny
commit: c991b11500c87b37be6e01b90e5c9e71f0128423
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 16 08:31:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 16 10:09:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c991b115

dev-python/pytest-mock: Bump to 3.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.4.0.ebuild | 36 +
 2 files changed, 37 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index c44588580b2..aecb5ef21a5 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421
+DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 
0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75
 SHA512 
5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43

diff --git a/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
new file mode 100644
index 000..dc04d9251c5
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~x64-macos"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-11-28 Thread Sam James
commit: 9035eb6e01321e61ef3f330688bfd12417ed7124
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 28 08:32:20 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 28 08:32:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9035eb6e

dev-python/pytest-mock: ~x64-macos keyworded

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
index 9671b4ec057..48dd889e97f 100644
--- a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~x64-macos"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/files/

2020-11-15 Thread Zac Medico
commit: 2a23f10bfac12c62a3b8cbeb8772679cf9688917
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Nov 15 18:42:48 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Nov 15 21:30:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a23f10b

dev-python/pytest-mock: remove unused patch(es)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 .../files/pytest-mock-2.0.0-warnings.patch | 36 --
 1 file changed, 36 deletions(-)

diff --git a/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch 
b/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch
deleted file mode 100644
index bea2bb14b15..000
--- a/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 09477f0d28f3b6b9fa36b861d701c9d1a937e553 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Tue, 26 May 2020 10:56:27 +0200
-Subject: [PATCH] Permit warnings in *_stale_pyc tests
-
-The *_stale_pyc test is repeatedly failing on production systems
-due to additional pytest plugins being installed and triggering
-PytestAssertRewriteWarnings.  This causes 'passed *' string not to match
-because of the ',' after 'passed'.  Match just 'passed*' instead
-to solve this.

- tests/test_pytest_mock.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
-index d1635f5..e85f392 100644
 a/tests/test_pytest_mock.py
-+++ b/tests/test_pytest_mock.py
-@@ -801,7 +801,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
- """
- )
- result = testdir.runpytest()
--result.stdout.fnmatch_lines("* 1 passed *")
-+result.stdout.fnmatch_lines("* 1 passed*")
- 
- kwargs = {"legacy": True} if sys.version_info[0] >= 3 else {}
- assert compileall.compile_file(str(py_fn), **kwargs)
-@@ -811,4 +811,4 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
- 
- py_fn.remove()
- result = testdir.runpytest()
--result.stdout.fnmatch_lines("* 1 passed *")
-+result.stdout.fnmatch_lines("* 1 passed*")
--- 
-2.26.2
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-21 Thread Michał Górny
commit: 406b6c8ac768c1647168cc14ff9a24130fbd35a1
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 21 16:03:13 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 21 16:06:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406b6c8a

dev-python/pytest-mock: rm setuptools rdep for pytest entrypoint

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.3.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
index 366172dd1a2..9671b4ec057 100644
--- a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
@@ -3,7 +3,6 @@
 
 EAPI=7
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-20 Thread Michał Górny
commit: 71ff568387b0d7e4c7502791143f110cb6de8311
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 20 14:34:32 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 20 14:36:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ff5683

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-2.0.0.ebuild | 42 -
 2 files changed, 43 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 9a36888b97b..c44588580b2 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1 @@
-DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421

diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
deleted file mode 100644
index 08eb52a8938..000
--- a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-   "${FILESDIR}"/pytest-mock-2.0.0-warnings.patch
-)
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-19 Thread Michał Górny
commit: a861abc08ca17963773a4a6223890c0480f5c734
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 19 21:02:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 19 21:32:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a861abc0

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 37 -
 2 files changed, 38 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index d702701e0ee..9a36888b97b 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,2 @@
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
-DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
deleted file mode 100644
index cd95af08b9b..000
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-19 Thread Sam James
commit: cc4ce868d73f45f9f78c00f2309a21b3c4582792
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 19 20:53:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 19 20:53:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc4ce868

dev-python/pytest-mock: Stabilize 3.3.1 ALLARCHES, #743472

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
index bc5e1e840ae..366172dd1a2 100644
--- a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-19 Thread Michał Górny
commit: cd4a4ec7dba494739e61e15f9dfd41a45b8ebb55
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 19 07:08:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 19 07:21:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4a4ec7

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  1 -
 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 42 
 2 files changed, 43 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index c102b84d327..d702701e0ee 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,4 +1,3 @@
-DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
deleted file mode 100644
index 8b643a363b3..000
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} 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="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
-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 
tests/test_pytest_mock.py || die
-   fi
-   sed -e 's|^\(def \)\(test_failure_message_with_no_name(\)|\1_\2|' \
-   -e 's|^\(def \)\(test_failure_message_with_name(\)|\1_\2|' \
-   -e 's|^\(def \)\(test_detailed_introspection(\)|\1_\2|' \
-   -e 's|^\(def 
\)\(test_assert_called_args_with_introspection(\)|\1_\2|' \
-   -e 's|^\(def 
\)\(test_assert_called_kwargs_with_introspection(\)|\1_\2|' \
-   -i tests/test_pytest_mock.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH}
-   py.test -vv tests/test_pytest_mock.py || die "Tests fail with 
${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-18 Thread Sam James
commit: 72a2b74db550245f51e8e0bb06f01343d0674062
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 19 01:00:48 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 19 01:00:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a2b74d

dev-python/pytest-mock: Stabilize 2.0.0 ALLARCHES, #743361

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-mock/pytest-mock-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
index 045b6a938e8..08eb52a8938 100644
--- a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-09-18 Thread Michał Górny
commit: 31fa0b8bc21648080be7958e5e48a376d2998372
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 15:34:44 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 15:34:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fa0b8b

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-3.3.0.ebuild | 37 -
 2 files changed, 38 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 3291def4569..c102b84d327 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,5 +1,4 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9
-DIST pytest-mock-3.3.0.tar.gz 27139 BLAKE2B 
bd7295b00ef78f6a4c73eb732faa3573c668bf95884a23c6753d6674f082cbcc565e84c5598e6015c60323f6fba2b3d344c63009c353c5db84ade2b339d83970
 SHA512 
6ce63495e326101942d1808fe937547cca781dccbdf0845a6a70bb7c990f443ae16f870169c9c8c32084cf6d8ce7cd17f74f90504bd505a7f916c9376b75ac5a
 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild
deleted file mode 100644
index a646df8a08a..000
--- a/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/files/

2020-09-12 Thread David Seifert
commit: 84d1d4fea498af3ea22d47484a68f45950a30e27
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Aug 28 16:58:56 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 12 09:54:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d1d4fe

dev-python/pytest-mock: remove unused patch

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 .../files/pytest-mock-3.1.0-warnings.patch | 39 --
 1 file changed, 39 deletions(-)

diff --git a/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch 
b/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch
deleted file mode 100644
index 4851afe9d1b..000
--- a/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 1ef3d6111a8e4f32dfa9a2c311b6996afd9e98a5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Tue, 26 May 2020 10:56:27 +0200
-Subject: [PATCH] Permit warnings in *_stale_pyc tests
-
-The *_stale_pyc test is repeatedly failing on production systems
-due to additional pytest plugins being installed and triggering
-PytestAssertRewriteWarnings.  This causes 'passed *' string not to match
-because of the ',' after 'passed'.  Match just 'passed*' instead
-to solve this.

- tests/test_pytest_mock.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
-index 73509a4..5e1a502 100644
 a/tests/test_pytest_mock.py
-+++ b/tests/test_pytest_mock.py
-@@ -809,7 +809,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
- """
- )
- result = testdir.runpytest()
--result.stdout.fnmatch_lines("* 1 passed *")
-+result.stdout.fnmatch_lines("* 1 passed*")
- 
- kwargs = {"legacy": True}
- assert compileall.compile_file(str(py_fn), **kwargs)
-@@ -819,7 +819,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
- 
- py_fn.remove()
- result = testdir.runpytest()
--result.stdout.fnmatch_lines("* 1 passed *")
-+result.stdout.fnmatch_lines("* 1 passed*")
- 
- 
- def test_used_with_class_scope(testdir):
--- 
-2.26.2
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-27 Thread Michał Górny
commit: 27d46460c7cc26ffb0642f8cd55b31ae4503c390
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 27 05:59:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 27 07:00:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d46460

dev-python/pytest-mock: Bump to 3.3.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.3.1.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 26f81da22ca..3291def4569 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -2,3 +2,4 @@ DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9
 DIST pytest-mock-3.3.0.tar.gz 27139 BLAKE2B 
bd7295b00ef78f6a4c73eb732faa3573c668bf95884a23c6753d6674f082cbcc565e84c5598e6015c60323f6fba2b3d344c63009c353c5db84ade2b339d83970
 SHA512 
6ce63495e326101942d1808fe937547cca781dccbdf0845a6a70bb7c990f443ae16f870169c9c8c32084cf6d8ce7cd17f74f90504bd505a7f916c9376b75ac5a
+DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 
9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b
 SHA512 
ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
new file mode 100644
index 000..a646df8a08a
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-22 Thread Michał Górny
commit: cb74d63b3cec7e3e266e71a125eedf26d9255fae
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 22 05:56:28 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 22 06:16:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb74d63b

dev-python/pytest-mock: Bump to 3.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.3.0.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 2a04bc1fa1a..1034a0b4256 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -2,3 +2,4 @@ DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.1.1.tar.gz 25038 BLAKE2B 
416a84af52980d6984b4a2fd63a75fc79bf27fead86e7d0950f6dfcf38bfc27befbf86bdf8d6361b19a4e45c0bf6965d7a57bea5e3fff29a361e0cdb542ef0a1
 SHA512 
8e55bd7dc45de2c35ff4385ea805e6546c8d894f3b351bc31fe1c6d9c790f9e14f79de01262c18634d9dfd5142be7520181f1195faccba1f0e8a06ffe675
 DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9
+DIST pytest-mock-3.3.0.tar.gz 27139 BLAKE2B 
bd7295b00ef78f6a4c73eb732faa3573c668bf95884a23c6753d6674f082cbcc565e84c5598e6015c60323f6fba2b3d344c63009c353c5db84ade2b339d83970
 SHA512 
6ce63495e326101942d1808fe937547cca781dccbdf0845a6a70bb7c990f443ae16f870169c9c8c32084cf6d8ce7cd17f74f90504bd505a7f916c9376b75ac5a

diff --git a/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild
new file mode 100644
index 000..a646df8a08a
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-21 Thread Sergei Trofimovich
commit: 20292bb483ff9c4a13f289f538dbb86a154255d2
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Aug 21 19:08:58 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Aug 21 19:15:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20292bb4

dev-python/pytest-mock: mark 3.2.0 stable under ALLARCHES, bug #737786

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64 arm64 hppa ppc ppc64"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
index 65c995cbd43..cd95af08b9b 100644
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-21 Thread Sergei Trofimovich
commit: 4f2c07e5a7343de2d8141195b74ec66cd108b8d8
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Aug 21 18:45:28 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Aug 21 19:00:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2c07e5

dev-python/pytest-mock: stable 3.2.0 for hppa, bug #737786

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
index c051615a2fd..65c995cbd43 100644
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-21 Thread Agostino Sarubbo
commit: 5c3755c2fe50c93087e0a7e90d05c821cdae75f5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 21 15:34:06 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 21 15:35:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3755c2

dev-python/pytest-mock: x86 stable wrt bug #737786

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
index 8b075c6d593..c051615a2fd 100644
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-21 Thread Agostino Sarubbo
commit: 07be8de56c0a732182ae8108ea105f1e23f2a726
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 21 15:31:32 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 21 15:31:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07be8de5

dev-python/pytest-mock: sparc stable wrt bug #737786

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
index ce977eb2118..8b075c6d593 100644
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-08-21 Thread Agostino Sarubbo
commit: ebd6d3e55f25f27aa8ae004e22f950fc179f73ba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 21 15:26:43 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 21 15:26:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd6d3e5

dev-python/pytest-mock: arm stable wrt bug #737786

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
index a646df8a08a..ce977eb2118 100644
--- a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-07-12 Thread Michał Górny
commit: e4d55ee9a51df3b28ce246b562d606c7cb2f23e3
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 12 19:16:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 12 20:19:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d55ee9

dev-python/pytest-mock: Bump to 3.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.2.0.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index bfd08764085..2a04bc1fa1a 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.1.1.tar.gz 25038 BLAKE2B 
416a84af52980d6984b4a2fd63a75fc79bf27fead86e7d0950f6dfcf38bfc27befbf86bdf8d6361b19a4e45c0bf6965d7a57bea5e3fff29a361e0cdb542ef0a1
 SHA512 
8e55bd7dc45de2c35ff4385ea805e6546c8d894f3b351bc31fe1c6d9c790f9e14f79de01262c18634d9dfd5142be7520181f1195faccba1f0e8a06ffe675
+DIST pytest-mock-3.2.0.tar.gz 25569 BLAKE2B 
e6a1ab23142cf3d7ac9385ac221bfce680c7b982cb489306557b60ca81563718cb9b7fcbb149cccb2cf6f06de5c3fa737d28b0711a3197fbbc86e432c5f4e614
 SHA512 
1ff442e26339ac41414a8678303fbc7eab573964661c664ef029c3b3377df4ab40173976316ef99e49dd208dc1e3c7cd0a0090f5453865343090cc9439f85fa9

diff --git a/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
new file mode 100644
index 000..a646df8a08a
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-07-11 Thread Sergei Trofimovich
commit: 110a1e948e2d3bc85f7387f693c57c18d154d652
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul 11 19:53:38 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 11 19:54:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=110a1e94

dev-python/pytest-mock: stable 3.1.0 for ppc64

stable wrt bug #726358

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 16c2973c0bd..ca6932c7072 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-07-11 Thread Michał Górny
commit: 5038fb49b5de5f8638870d27b37027fc611e4a31
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 11 08:05:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 11 08:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5038fb49

dev-python/pytest-mock: Stabilize 3.1.1 ALLARCHES, #731528

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild
index 145bc659f1e..5d108b7f682 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-07-11 Thread Michał Górny
commit: 310b4c185a58e8f13bf48ffdc7ba8479eabc7dc5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 11 07:07:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 11 07:50:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=310b4c18

dev-python/pytest-mock: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pytest-mock/metadata.xml 
b/dev-python/pytest-mock/metadata.xml
index 46dd2d763fb..a8e8ccbdb5a 100644
--- a/dev-python/pytest-mock/metadata.xml
+++ b/dev-python/pytest-mock/metadata.xml
@@ -5,6 +5,7 @@
pytest-mock
pytest-dev/pytest-mock

+   

zmed...@gentoo.org




[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-07-06 Thread Michał Górny
commit: 0179e71acc917a6210ef05cd4973442bca7b2011
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul  6 19:10:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul  6 19:10:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0179e71a

dev-python/pytest-mock: Stabilize 3.1.0 amd64, #726358

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 4e98df61a1b..16c2973c0bd 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-29 Thread Agostino Sarubbo
commit: 5802b419ba1fc4ef6caa59b0caf7424d43cb66cb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 13:39:41 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 13:39:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5802b419

dev-python/pytest-mock: x86 stable wrt bug #726358

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 816375eebd1..4e98df61a1b 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-06 Thread Michał Górny
commit: eabc0e464eb5a4741e1a88adf495587a2cf67dca
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Fri Jun  5 01:04:52 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  6 18:01:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eabc0e46

dev-python/pytest-mock: arm stable (bug #726358)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index a475fb67927..816375eebd1 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-05 Thread Sergei Trofimovich
commit: 2631d73d2fcefa58671dff69ea48700882c31fed
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jun  5 16:02:07 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun  5 16:10:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2631d73d

dev-python/pytest-mock: stable 3.1.0 for hppa, bug #726358

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 41bf079775f..a475fb67927 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-04 Thread Michał Górny
commit: 8caa546886de8a2b86055007afbaae56c1323c70
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun  5 05:47:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun  5 05:50:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8caa5468

dev-python/pytest-mock: Bump to 3.1.1

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index a460f3795a6..e7dcf76862f 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.1.0.tar.gz 25003 BLAKE2B 
5f12bc664c6342912e0326bc4ac20c1e599f13c047964df3943ae5d31b8a3710406bc4d30bc2c2304c0fffefd0f49441644b667fdbf79426809c230e5b2ecc78
 SHA512 
6e970aeb1d4086df045a355e11969074e761fcdc3c8486e0405a4051cdf7c4425ae264e7005afe7afe5356f73061ad5f4cbad05b3ce2f55681a3e12ce1a6b671
+DIST pytest-mock-3.1.1.tar.gz 25038 BLAKE2B 
416a84af52980d6984b4a2fd63a75fc79bf27fead86e7d0950f6dfcf38bfc27befbf86bdf8d6361b19a4e45c0bf6965d7a57bea5e3fff29a361e0cdb542ef0a1
 SHA512 
8e55bd7dc45de2c35ff4385ea805e6546c8d894f3b351bc31fe1c6d9c790f9e14f79de01262c18634d9dfd5142be7520181f1195faccba1f0e8a06ffe675

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild
new file mode 100644
index 000..145bc659f1e
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+   "${FILESDIR}"/pytest-mock-3.1.0-warnings.patch
+)
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-03 Thread Sergei Trofimovich
commit: 12977f55384b76a64505ad2c302eeaa02af29c2f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jun  3 05:59:35 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jun  3 06:59:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12977f55

dev-python/pytest-mock: stable 3.1.0 for sparc, bug #726358

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 015b6f4cb15..41bf079775f 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-06-02 Thread Mart Raudsepp
commit: 864b63c58b0c95ec78aa4202b07cb9324605b086
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Jun  1 22:36:56 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Jun  2 22:21:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864b63c5

dev-python/pytest-mock: arm64 stable (bug #726358)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 145bc659f1e..015b6f4cb15 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-05-31 Thread Michał Górny
commit: c231eb52a490ed665e5d9312407ef96ecb6b3e6a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 31 07:44:55 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 31 07:45:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c231eb52

dev-python/pytest-mock: Keyword 3.1.0 ppc ppc64, #726348

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 0c137d01ff1..145bc659f1e 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-05-26 Thread Michał Górny
commit: 555eea47bfed2b1b0dfd00b11c32dea72aaf8654
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 26 09:08:15 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 26 09:25:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=555eea47

dev-python/pytest-mock: Port to py39

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-2.0.0.ebuild | 2 +-
 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
index 2cdc00ffc24..045b6a938e8 100644
--- a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index 47689f34aa0..0c137d01ff1 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/files/, dev-python/pytest-mock/

2020-05-26 Thread Michał Górny
commit: e6a8ae1767dfe7da974902c07f1c112999b1a6fc
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 26 09:07:51 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 26 09:25:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a8ae17

dev-python/pytest-mock: Fix test fail due to pytest plugins

Signed-off-by: Michał Górny  gentoo.org>

 .../files/pytest-mock-2.0.0-warnings.patch | 36 
 .../files/pytest-mock-3.1.0-warnings.patch | 39 ++
 dev-python/pytest-mock/pytest-mock-2.0.0.ebuild|  4 +++
 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild|  8 +++--
 4 files changed, 85 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch 
b/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch
new file mode 100644
index 000..bea2bb14b15
--- /dev/null
+++ b/dev-python/pytest-mock/files/pytest-mock-2.0.0-warnings.patch
@@ -0,0 +1,36 @@
+From 09477f0d28f3b6b9fa36b861d701c9d1a937e553 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Tue, 26 May 2020 10:56:27 +0200
+Subject: [PATCH] Permit warnings in *_stale_pyc tests
+
+The *_stale_pyc test is repeatedly failing on production systems
+due to additional pytest plugins being installed and triggering
+PytestAssertRewriteWarnings.  This causes 'passed *' string not to match
+because of the ',' after 'passed'.  Match just 'passed*' instead
+to solve this.
+---
+ tests/test_pytest_mock.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
+index d1635f5..e85f392 100644
+--- a/tests/test_pytest_mock.py
 b/tests/test_pytest_mock.py
+@@ -801,7 +801,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
+ """
+ )
+ result = testdir.runpytest()
+-result.stdout.fnmatch_lines("* 1 passed *")
++result.stdout.fnmatch_lines("* 1 passed*")
+ 
+ kwargs = {"legacy": True} if sys.version_info[0] >= 3 else {}
+ assert compileall.compile_file(str(py_fn), **kwargs)
+@@ -811,4 +811,4 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
+ 
+ py_fn.remove()
+ result = testdir.runpytest()
+-result.stdout.fnmatch_lines("* 1 passed *")
++result.stdout.fnmatch_lines("* 1 passed*")
+-- 
+2.26.2
+

diff --git a/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch 
b/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch
new file mode 100644
index 000..4851afe9d1b
--- /dev/null
+++ b/dev-python/pytest-mock/files/pytest-mock-3.1.0-warnings.patch
@@ -0,0 +1,39 @@
+From 1ef3d6111a8e4f32dfa9a2c311b6996afd9e98a5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Tue, 26 May 2020 10:56:27 +0200
+Subject: [PATCH] Permit warnings in *_stale_pyc tests
+
+The *_stale_pyc test is repeatedly failing on production systems
+due to additional pytest plugins being installed and triggering
+PytestAssertRewriteWarnings.  This causes 'passed *' string not to match
+because of the ',' after 'passed'.  Match just 'passed*' instead
+to solve this.
+---
+ tests/test_pytest_mock.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py
+index 73509a4..5e1a502 100644
+--- a/tests/test_pytest_mock.py
 b/tests/test_pytest_mock.py
+@@ -809,7 +809,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
+ """
+ )
+ result = testdir.runpytest()
+-result.stdout.fnmatch_lines("* 1 passed *")
++result.stdout.fnmatch_lines("* 1 passed*")
+ 
+ kwargs = {"legacy": True}
+ assert compileall.compile_file(str(py_fn), **kwargs)
+@@ -819,7 +819,7 @@ def 
test_abort_patch_context_manager_with_stale_pyc(testdir):
+ 
+ py_fn.remove()
+ result = testdir.runpytest()
+-result.stdout.fnmatch_lines("* 1 passed *")
++result.stdout.fnmatch_lines("* 1 passed*")
+ 
+ 
+ def test_used_with_class_scope(testdir):
+-- 
+2.26.2
+

diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
index 9f85be239d8..2cdc00ffc24 100644
--- a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
@@ -24,6 +24,10 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+   "${FILESDIR}"/pytest-mock-2.0.0-warnings.patch
+)
+
 src_prepare() {
if has_version dev-python/mock; then
# test fails when standalone mock is installed

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
index b5ce25c092d..47689f34aa0 100644
--- a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -14,15 +14,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-05-04 Thread Michał Górny
commit: c799f0cfa0e463578ae21dc50cfddd337b44eea3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 11:43:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 11:43:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c799f0cf

dev-python/pytest-mock: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 -
 dev-python/pytest-mock/pytest-mock-3.0.0.ebuild | 37 -
 2 files changed, 38 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 8fb3187796e..a460f3795a6 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,4 +1,3 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
-DIST pytest-mock-3.0.0.tar.gz 24299 BLAKE2B 
0d800a37bbc17c5f4033e6cc0e4d0587e82c42ff8097260d766841dd11e4b948d6cb1c9a0a0cbd11cc4e78c247b69475295c82ecb3a20816d59132ff6f99b4e9
 SHA512 
93046c63b4d7f699f88e0d29a0180e3609417ced97427a60db6427a633584d3a10bb92a7e93ef2cdc12268f4c03d579524dc46e1aad6a1196c02958ae81af8ba
 DIST pytest-mock-3.1.0.tar.gz 25003 BLAKE2B 
5f12bc664c6342912e0326bc4ac20c1e599f13c047964df3943ae5d31b8a3710406bc4d30bc2c2304c0fffefd0f49441644b667fdbf79426809c230e5b2ecc78
 SHA512 
6e970aeb1d4086df045a355e11969074e761fcdc3c8486e0405a4051cdf7c4425ae264e7005afe7afe5356f73061ad5f4cbad05b3ce2f55681a3e12ce1a6b671

diff --git a/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
deleted file mode 100644
index b5ce25c092d..000
--- a/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
-HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
-BDEPEND="
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-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 
tests/test_pytest_mock.py || die
-   fi
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   distutils_install_for_testing
-   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-04-26 Thread Matt Turner
commit: 9c448ea08aadf1a6663f00e3434d3de1c3581bb2
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Apr 26 18:58:00 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Apr 26 18:58:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c448ea0

dev-python/pytest-mock-1.11.2: ppc stable, bug 714618

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 7a3edcab327..8b643a363b3 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-04-19 Thread Michał Górny
commit: 52109f8bd477b5d855d6749778a36f3cec11dd3f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 19 06:32:32 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 19 06:51:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52109f8b

dev-python/pytest-mock: Bump to 3.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.1.0.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index 89be5f6ad5c..8fb3187796e 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
 DIST pytest-mock-3.0.0.tar.gz 24299 BLAKE2B 
0d800a37bbc17c5f4033e6cc0e4d0587e82c42ff8097260d766841dd11e4b948d6cb1c9a0a0cbd11cc4e78c247b69475295c82ecb3a20816d59132ff6f99b4e9
 SHA512 
93046c63b4d7f699f88e0d29a0180e3609417ced97427a60db6427a633584d3a10bb92a7e93ef2cdc12268f4c03d579524dc46e1aad6a1196c02958ae81af8ba
+DIST pytest-mock-3.1.0.tar.gz 25003 BLAKE2B 
5f12bc664c6342912e0326bc4ac20c1e599f13c047964df3943ae5d31b8a3710406bc4d30bc2c2304c0fffefd0f49441644b667fdbf79426809c230e5b2ecc78
 SHA512 
6e970aeb1d4086df045a355e11969074e761fcdc3c8486e0405a4051cdf7c4425ae264e7005afe7afe5356f73061ad5f4cbad05b3ce2f55681a3e12ce1a6b671

diff --git a/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
new file mode 100644
index 000..b5ce25c092d
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-04-18 Thread Michał Górny
commit: 6de742525161dcb84a7043cf2022230a8461b47c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 18 13:41:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 18 13:51:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de74252

dev-python/pytest-mock: Bump to 2.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-2.0.0.ebuild | 38 +
 2 files changed, 39 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index c4838e4457f..d3c42f606d2 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1 +1,2 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
+DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0

diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
new file mode 100644
index 000..9f85be239d8
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-04-18 Thread Michał Górny
commit: 1bcef5621933e39912e9844844960674691cfdbb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 18 13:49:20 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 18 13:51:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bcef562

dev-python/pytest-mock: Bump to 3.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest |  1 +
 dev-python/pytest-mock/pytest-mock-3.0.0.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index d3c42f606d2..89be5f6ad5c 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 
31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100
 SHA512 
8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
+DIST pytest-mock-3.0.0.tar.gz 24299 BLAKE2B 
0d800a37bbc17c5f4033e6cc0e4d0587e82c42ff8097260d766841dd11e4b948d6cb1c9a0a0cbd11cc4e78c247b69475295c82ecb3a20816d59132ff6f99b4e9
 SHA512 
93046c63b4d7f699f88e0d29a0180e3609417ced97427a60db6427a633584d3a10bb92a7e93ef2cdc12268f4c03d579524dc46e1aad6a1196c02958ae81af8ba

diff --git a/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
new file mode 100644
index 000..b5ce25c092d
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
+HOMEPAGE="https://github.com/pytest-dev/pytest-mock/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
+BDEPEND="
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+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 
tests/test_pytest_mock.py || die
+   fi
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   distutils_install_for_testing
+   pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-04-08 Thread Sergei Trofimovich
commit: 7426a53083231a9a838e19e7b67db44a0e79ce36
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Apr  8 18:51:19 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  8 20:53:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7426a530

dev-python/pytest-mock: stable 1.11.2 for hppa, bug #714618

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index da92d3c2509..7a3edcab327 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-03-28 Thread Michał Górny
commit: 18c790c9e6826e6f71f12e65f9ae7d6696672c41
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 18:41:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 18:48:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c790c9

dev-python/pytest-mock: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/Manifest  |  3 --
 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 35 ---
 dev-python/pytest-mock/pytest-mock-1.6.0.ebuild  | 36 
 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild  | 35 ---
 4 files changed, 109 deletions(-)

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index f9ac3ad3468..c4838e4457f 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,4 +1 @@
-DIST pytest-mock-1.10.0.tar.gz 20754 BLAKE2B 
db60bfe6ee9d6d0a6ee4f0df7f5efa6ef05f5e2360945aa86ff6de02fc6a01f1e6715cbb61ced0c1e737c300965835fb08727b926852c5b71c0cc3d56c1171f1
 SHA512 
b8afba13da3e598b6493459298e395c0ecc06538733916659191bd5c5c22f40b0e296853ad940c16a6d492fcf46b2daf490ee589661d391e2c7cd1deb84da756
 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
-DIST pytest-mock-1.6.0.tar.gz 17780 BLAKE2B 
4fbc0cbd951668eb2ce427496c54e958591fe368bd42544eb1d0379adcb3d0e10b223ab044956e4003aac88665b3132dcb9d167442d6d85a5be79edea36881ca
 SHA512 
c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f
-DIST pytest-mock-1.6.3.tar.gz 18482 BLAKE2B 
1c0d366e5afd1b247ff454716b6d96d9d68846adfff81adc0ea079a72d3e7710fd9385122723cfee69965588235ec2deb1e0b52328ace5c967652c93b404cea3
 SHA512 
6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
deleted file mode 100644
index 898f8bbeed8..000
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{6,7} 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="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
-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() {
-   local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH}
-   py.test -vv test_pytest_mock.py || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
deleted file mode 100644
index 27fa9101a9a..000
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 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="~alpha amd64 ~arm ~arm64 ~ppc64 x86"
-IUSE=""
-
-RDEPEND="
-   dev-python/pytest[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
-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
-}

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-03-25 Thread Agostino Sarubbo
commit: 64318650c6c6c45a59b65aa041550205f5f20911
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 14:52:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 14:52:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64318650

dev-python/pytest-mock: ppc64 stable wrt bug #714618

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 7ecf4b18319..da92d3c2509 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-03-25 Thread Agostino Sarubbo
commit: b316cd317f52e170bc48229d35a72f5ee947984a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 13:11:46 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 13:11:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b316cd31

dev-python/pytest-mock: arm stable wrt bug #714490

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 9d438f900a9..7ecf4b18319 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-02-03 Thread Agostino Sarubbo
commit: e3b0758929de817cb699c88d14c90aabfa7c791c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  3 11:29:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  3 11:29:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3b07589

dev-python/pytest-mock: x86 stable wrt bug #707524

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index d5587e4f521..9d438f900a9 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2020-01-31 Thread Sergei Trofimovich
commit: 454d53d36cc218b65f7576a748016516415c6bd1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jan 31 18:25:01 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jan 31 22:16:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454d53d3

dev-python/pytest-mock: stable 1.11.2 for sparc, bug #707524

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 60339d3b673..d5587e4f521 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-12-30 Thread Piotr Karbowski
commit: 9d8d45c4f864743d4cf8680b8d31e6416da1b183
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Mon Dec 30 21:17:01 2019 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Mon Dec 30 21:54:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8d45c4

dev-python/pytest-mock-1.11.2: python 3.8 support added.

Signed-off-by: Piotr Karbowski  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 533ff838f0d..2aed53aea4f 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-12-30 Thread Michał Górny
commit: 10b6d4d0e8be442b78ab23ffc711a9c59724a516
Author: David Seifert  gentoo  org>
AuthorDate: Mon Dec 30 00:48:31 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Dec 30 12:58:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b6d4d0

dev-python/pytest-mock: Use python_gen_cond_dep

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
index 7ae62ae1e4d..ba1f483cb08 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
@@ -15,13 +15,9 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE=""
 
-RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
-   python_targets_python2_7? (
-   >=dev-python/mock-2[python_targets_python2_7]
-   )
-   python_targets_pypy? (
-   >=dev-python/mock-2[python_targets_pypy]
-   )"
+RDEPEND="
+   dev-python/pytest[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-12-02 Thread Aaron Bauman
commit: a466c8df22c0cfc58647ec3afd40e0237de5de82
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec  2 20:19:34 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec  2 21:13:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a466c8df

dev-python/pytest-mock: amd64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.80, Repoman-2.3.19

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 93d187c9272..eee50b3df01 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-12-02 Thread Aaron Bauman
commit: b49e07aa377bf41adee64cf3a0c59d57aba929ec
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec  2 19:26:58 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec  2 19:27:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49e07aa

dev-python/pytest-mock: exclude two additional introspection tests

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.11.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
index 9abdcee85b1..93d187c9272 100644
--- a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
 
 inherit distutils-r1
@@ -29,6 +30,8 @@ src_prepare() {
sed -e 's|^\(def \)\(test_failure_message_with_no_name(\)|\1_\2|' \
-e 's|^\(def \)\(test_failure_message_with_name(\)|\1_\2|' \
-e 's|^\(def \)\(test_detailed_introspection(\)|\1_\2|' \
+   -e 's|^\(def 
\)\(test_assert_called_args_with_introspection(\)|\1_\2|' \
+   -e 's|^\(def 
\)\(test_assert_called_kwargs_with_introspection(\)|\1_\2|' \
-i tests/test_pytest_mock.py || die
distutils-r1_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-10-26 Thread Zac Medico
commit: a0700b404610252e50537c7ca6b0c5f29aff6726
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Oct 26 20:25:25 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Oct 26 20:33:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0700b40

dev-python/pytest-mock: Bump to version 1.11.2

Reported-by: Alessandro Barbieri  gmail.com>
Closes: https://bugs.gentoo.org/698554
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Zac Medico  gentoo.org>

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

diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
index a6cc65b2e1a..f9ac3ad3468 100644
--- a/dev-python/pytest-mock/Manifest
+++ b/dev-python/pytest-mock/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-mock-1.10.0.tar.gz 20754 BLAKE2B 
db60bfe6ee9d6d0a6ee4f0df7f5efa6ef05f5e2360945aa86ff6de02fc6a01f1e6715cbb61ced0c1e737c300965835fb08727b926852c5b71c0cc3d56c1171f1
 SHA512 
b8afba13da3e598b6493459298e395c0ecc06538733916659191bd5c5c22f40b0e296853ad940c16a6d492fcf46b2daf490ee589661d391e2c7cd1deb84da756
+DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B 
d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa
 SHA512 
6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
 DIST pytest-mock-1.6.0.tar.gz 17780 BLAKE2B 
4fbc0cbd951668eb2ce427496c54e958591fe368bd42544eb1d0379adcb3d0e10b223ab044956e4003aac88665b3132dcb9d167442d6d85a5be79edea36881ca
 SHA512 
c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f
 DIST pytest-mock-1.6.3.tar.gz 18482 BLAKE2B 
1c0d366e5afd1b247ff454716b6d96d9d68846adfff81adc0ea079a72d3e7710fd9385122723cfee69965588235ec2deb1e0b52328ace5c967652c93b404cea3
 SHA512 
6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a

diff --git a/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
new file mode 100644
index 000..9abdcee85b1
--- /dev/null
+++ b/dev-python/pytest-mock/pytest-mock-1.11.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} 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="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)"
+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 
tests/test_pytest_mock.py || die
+   fi
+   sed -e 's|^\(def \)\(test_failure_message_with_no_name(\)|\1_\2|' \
+   -e 's|^\(def \)\(test_failure_message_with_name(\)|\1_\2|' \
+   -e 's|^\(def \)\(test_detailed_introspection(\)|\1_\2|' \
+   -i tests/test_pytest_mock.py || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   local -x PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH}
+   py.test -vv tests/test_pytest_mock.py || die "Tests fail with 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-05-15 Thread Sergei Trofimovich
commit: 337adbe7826aa9ec0f38761d94232e84d7bdd4d9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May 15 22:42:43 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 15 22:56:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337adbe7

dev-python/pytest-mock: keyworded 1.6.3 for sparc, bug #662814

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index 0a87fdae33d..2d8b2c2a72d 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-02-17 Thread Sergei Trofimovich
commit: c5fde53afb905439b193cdf2610d73f492a0226d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb 17 17:33:09 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb 17 17:34:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fde53a

dev-python/pytest-mock: keyworded 1.6.3 for ppc, bug #662814

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.60, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index b52233568a8..f4e6428456c 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2019-01-03 Thread Sergei Trofimovich
commit: cac67460028b593c64a27634a52201cb182e0402
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jan  3 14:59:14 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jan  3 14:59:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac67460

dev-python/pytest-mock: keyworded 1.6.3 for ia64, bug #662814

Package-Manager: Portage-2.3.53, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index 8eef9f69c7a..b52233568a8 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-12-29 Thread Sergei Trofimovich
commit: 92e4f2d7b69c4c68f3cb415fb0d0466a1adbb474
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Dec 29 13:16:11 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Dec 29 13:16:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e4f2d7

dev-python/pytest-mock: keyworded 1.10.0 for ppc, bug #663436

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.53, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
index 25c680aaa8f..cee9abdc1bf 100644
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-12-27 Thread Matt Turner
commit: 276c336c5731d2ff52dd66848247bb5672d1e5b7
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 27 17:15:03 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 27 17:19:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276c336c

dev-python/pytest-mock-1.10.0: added ~alpha, bug 663436

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
index d3b147d41a8..25c680aaa8f 100644
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-11-18 Thread Mikle Kolyada
commit: a23c265a1642a351d803a61c6120eeeb047a0fe9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov 18 11:39:24 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov 18 11:39:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23c265a

dev-python/pytest-mock: Add ~arm keyword wrt bug #663436

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 4 ++--
 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
index bdb589e5ef4..d3b147d41a8 100644
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index 9d4c6a64c17..8eef9f69c7a 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-11-18 Thread Mikle Kolyada
commit: 223ab62b73b09afd115fb622442007656612428f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov 18 09:36:59 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov 18 09:38:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223ab62b

dev-python/pytest-mock: Add ~arm keyword wrt bug #662814

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
index bcf8353206b..af5a54090bd 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-10-17 Thread Tobias Klausmann
commit: 8c6bb70c0196f177a90a99ce26806cc6924e6a42
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Oct 17 12:10:58 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Oct 17 12:11:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c6bb70c

dev-python/pytest-mock-1.6.0-r0: add ~alpha keyword

Bug: http://bugs.gentoo.org/662814
Signed-off-by: Tobias Klausmann  gentoo.org>

 dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
index 6f2a5058e02..bcf8353206b 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-08-18 Thread Sergei Trofimovich
commit: 37ff51178766c648dfb12878465bb199caa2c2b2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug 18 22:20:45 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug 18 22:20:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ff5117

dev-python/pytest-mock: keyworded 1.10.0 for ia64, bug #663436

Package-Manager: Portage-2.3.46, Repoman-2.3.10
RepoMan-Options: --include-arches="ia64"

 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
index 9d4c6a64c17..bdb589e5ef4 100644
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-08-06 Thread Sergei Trofimovich
commit: 32396e0dce8fc5319d57ba714bdc5ed5c3bf01b9
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Aug  6 09:13:36 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Aug  6 09:13:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32396e0d

dev-python/pytest-mock: keyworded 1.10.0 for ppc64, bug #662814

Package-Manager: Portage-2.3.44, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-mock/pytest-mock-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
index ca329f1b744..9d4c6a64c17 100644
--- a/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.10.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-08-06 Thread Sergei Trofimovich
commit: 1f721f470e6d6d3eea7391b064a2cd351d228567
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Aug  6 09:13:00 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Aug  6 09:13:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f721f47

dev-python/pytest-mock: keyworded 1.6.3 for ppc64, bug #662814

Package-Manager: Portage-2.3.44, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-mock/pytest-mock-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
index ca329f1b744..9d4c6a64c17 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2018-08-06 Thread Sergei Trofimovich
commit: 81ff2b3c12a12af9c4cd8f4bf57994da1c22c33f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Aug  6 09:12:05 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Aug  6 09:12:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81ff2b3c

dev-python/pytest-mock: keyworded 1.6.0 for ppc64, bug #662814

Package-Manager: Portage-2.3.44, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
index 80f4d491234..6f2a5058e02 100644
--- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]



  1   2   >