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

2024-06-11 Thread Michał Górny
commit: 2664e1f385788eb5bbfa45a2ca29e64662999182
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 11 19:11:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 11 19:25:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2664e1f3

dev-python/requests-mock: Enable py3.13

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index 705fb061e890..4d6df9a0ef45 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
 inherit distutils-r1 pypi
 



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

2024-04-13 Thread Michał Górny
commit: 122cd3d8ac94f29070222ce8d5ca58c64bfb59cd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 13 14:16:33 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 13 14:18:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122cd3d8

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  2 -
 .../requests-mock/requests-mock-1.11.0.ebuild  | 49 
 .../requests-mock/requests-mock-1.12.0.ebuild  | 53 --
 3 files changed, 104 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 0f27f91b764d..d03e0f6492db 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1 @@
-DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
-DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164
 DIST requests-mock-1.12.1.tar.gz 60901 BLAKE2B 
708b19731260b8a1c1334b564c35825a9bceb20b8205ed3ad0f9c778e2c22e3ae4a93fa09cd47e9c745f5a282ebaf83a43be09ee4bd578195b77f69b116e28c6
 SHA512 
be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
deleted file mode 100644
index d253f36b86ee..
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ /dev/null
@@ -1,49 +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_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="
-   https://github.com/jamielennox/requests-mock/
-   https://pypi.org/project/requests-mock/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/requests-futures[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which requires purl (not in the tree)
-   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
-   -i tests/test_adapter.py || die
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
deleted file mode 100644
index ff7866ac1da6..
--- a/dev-python/requests-mock/requests-mock-1.12.0.ebuild
+++ /dev/null
@@ -1,53 +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_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="
-   https://github.com/jamielennox/requests-mock/
-   https://pypi.org/project/requests-mock/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-
-RDEPEND="
-   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   dev-python/setuptools-scm[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/requests-futures[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   local PATCHES=(
-   # https://github.com/jamielennox/requests-mock/pull/255
-   "${FI

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

2024-04-13 Thread Sam James
commit: 589466b50f0a8c646e272302eb7de6d3e773dcb3
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 13 13:58:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 13 13:58:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589466b5

dev-python/requests-mock: Stabilize 1.12.1 ALLARCHES, #929919

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
index bb051e0ee3b9..705fb061e890 100644
--- a/dev-python/requests-mock/requests-mock-1.12.1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.22[${PYTHON_USEDEP}]



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

2024-03-28 Thread Michał Górny
commit: 54123ce3d9a902c9f6d1d2324469c2597190f587
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 29 05:07:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 29 05:07:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54123ce3

dev-python/requests-mock: Bump to 1.12.1

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.12.1.ebuild  | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 04f30c1c24c8..0f27f91b764d 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
 DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164
+DIST requests-mock-1.12.1.tar.gz 60901 BLAKE2B 
708b19731260b8a1c1334b564c35825a9bceb20b8205ed3ad0f9c778e2c22e3ae4a93fa09cd47e9c745f5a282ebaf83a43be09ee4bd578195b77f69b116e28c6
 SHA512 
be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120

diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
new file mode 100644
index ..bb051e0ee3b9
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.12.1.ebuild
@@ -0,0 +1,53 @@
+# 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_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   local PATCHES=(
+   # https://github.com/jamielennox/requests-mock/pull/255
+   "${FILESDIR}/${PN}-1.12.0-no-pbr.patch"
+   )
+
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2024-03-28 Thread Michał Górny
commit: 95b7c715b18099de0d637d082b841b8eea4866b4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 28 12:25:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 28 12:26:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b7c715

dev-python/requests-mock: Remove last use of pbr

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

 .../files/requests-mock-1.12.0-no-pbr.patch| 22 ++
 .../requests-mock/requests-mock-1.12.0.ebuild  |  5 +
 2 files changed, 27 insertions(+)

diff --git a/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch 
b/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch
new file mode 100644
index ..fcfc8f9d2eb4
--- /dev/null
+++ b/dev-python/requests-mock/files/requests-mock-1.12.0-no-pbr.patch
@@ -0,0 +1,22 @@
+From 82a6d09fa8db7a0667b365e9c06e99f8c0dfd245 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Thu, 28 Mar 2024 12:54:18 +0100
+Subject: [PATCH] Replace the last use of pbr with modern packaging
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 395acaa..e0895f5 100755
+--- a/doc/source/conf.py
 b/doc/source/conf.py
+@@ -16 +16,2 @@ import sys, os
+-import pbr.version
++import importlib.metadata
++import packaging
+@@ -56 +57 @@ copyright = u'2023, Jamie Lennox'
+-version_info = pbr.version.VersionInfo(project)
++version_info = packaging.version.parse(importlib.metadata.version(project))
+@@ -59 +60 @@ version_info = pbr.version.VersionInfo(project)
+-version = version_info.version_string()
++version = version_info.base_version
+@@ -61 +62 @@ version = version_info.version_string()
+-release = version_info.release_string()
++release = version_info.public

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
index a0e17f881c2f..ff7866ac1da6 100644
--- a/dev-python/requests-mock/requests-mock-1.12.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
@@ -36,6 +36,11 @@ distutils_enable_sphinx doc/source
 distutils_enable_tests pytest
 
 python_prepare_all() {
+   local PATCHES=(
+   # https://github.com/jamielennox/requests-mock/pull/255
+   "${FILESDIR}/${P}-no-pbr.patch"
+   )
+
# Disable reno which only works inside a git repository
sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
# Remove the release notes section which requires reno



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

2024-03-27 Thread Michał Górny
commit: c7bb83b69b4e15414c2027c61bcd44d08df3918e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 28 05:43:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 28 05:55:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bb83b6

dev-python/requests-mock: Bump to 1.12.0

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.12.0.ebuild  | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index e8bda4a814bd..04f30c1c24c8 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
+DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 
53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3
 SHA512 
1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164

diff --git a/dev-python/requests-mock/requests-mock-1.12.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
new file mode 100644
index ..a0e17f881c2f
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.12.0.ebuild
@@ -0,0 +1,48 @@
+# 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_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.22[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2023-09-09 Thread WANG Xuerui
commit: c3283781c6566ab45d2904008ada457aa2cbbbdf
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Sep 10 05:23:42 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Sep 10 05:26:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3283781

dev-python/requests-mock: keyword 1.11.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
index bdd79e4a4d3b..d253f36b86ee 100644
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2023-09-07 Thread Sam James
commit: 06862c2833b6499fcbae2a92b1443cfe32cd1b35
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:07:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:07:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06862c28

dev-python/requests-mock: Stabilize 1.11.0 arm, #913772

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
index c3f4605ece49..5bd3dd8d330a 100644
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2023-09-07 Thread Sam James
commit: b40e6ee01f624e0746af4827c2cbe85a7ce65bf5
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:07:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:07:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40e6ee0

dev-python/requests-mock: Stabilize 1.11.0 ppc64, #913772

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
index 5bd3dd8d330a..bdd79e4a4d3b 100644
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2023-07-09 Thread Michał Górny
commit: 52d0f1333c4c6874db2a0c61f491bb62b3e804ff
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 10 01:42:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 10 01:46:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d0f133

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  1 -
 .../requests-mock/requests-mock-1.10.0-r1.ebuild   | 53 --
 2 files changed, 54 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 52b7c33a8684..e8bda4a814bd 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1 @@
-DIST requests-mock-1.10.0.tar.gz 72627 BLAKE2B 
4ce1838f03b732de4007c2e9b700876dcf8dba0f5eafef1292e0e40ae75e08f9b3bf74c3620d2d762944ccf9af248304929f57a337122b1a69d13355dc3f290e
 SHA512 
873c9b219e2a2360872fac22c83371ce40f4dee45e6a0d40365f4f551271c2168a662dced6e8baad890b1dadfc03d21d4ce013f149d25a42d998af4f4fca2a79
 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961

diff --git a/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
deleted file mode 100644
index c6dc0ea5ab0e..
--- a/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
+++ /dev/null
@@ -1,53 +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_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="
-   https://github.com/jamielennox/requests-mock/
-   https://pypi.org/project/requests-mock/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-
-# urllib3 causes regressions that aren't caught by tests:
-# https://github.com/jamielennox/requests-mock/issues/228
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   

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

2023-07-09 Thread Arthur Zamarin
commit: 2b23c772f97af9aa3bb5a2e35953bf0fc99ccacb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  9 16:50:09 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  9 16:50:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b23c772

dev-python/requests-mock: Stabilize 1.11.0 ALLARCHES, #910131

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
index bdcf3889474d..c3f4605ece49 100644
--- a/dev-python/requests-mock/requests-mock-1.11.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2023-06-08 Thread Michał Górny
commit: 907305456cfd8197e012098bfaae3cfc6c494a29
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  8 15:43:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun  9 01:33:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90730545

dev-python/requests-mock: Bump to 1.11.0

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.11.0.ebuild  | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 5bc4b0672627..52b7c33a8684 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
 DIST requests-mock-1.10.0.tar.gz 72627 BLAKE2B 
4ce1838f03b732de4007c2e9b700876dcf8dba0f5eafef1292e0e40ae75e08f9b3bf74c3620d2d762944ccf9af248304929f57a337122b1a69d13355dc3f290e
 SHA512 
873c9b219e2a2360872fac22c83371ce40f4dee45e6a0d40365f4f551271c2168a662dced6e8baad890b1dadfc03d21d4ce013f149d25a42d998af4f4fca2a79
+DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B 
f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4
 SHA512 
8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961

diff --git a/dev-python/requests-mock/requests-mock-1.11.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
new file mode 100644
index ..bdcf3889474d
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.11.0.ebuild
@@ -0,0 +1,49 @@
+# 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_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2023-05-31 Thread Sam James
commit: 0131a347cb32f0fcc7bd129f93c52f8a43254d7b
Author: Petr Vaněk  atlas  cz>
AuthorDate: Wed May 31 15:31:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 31 16:49:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0131a347

dev-python/requests-mock: enable py3.12

Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
index 7f72de938bf4..c6dc0ea5ab0e 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( pypy3 python3_{10..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 pypi
 



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

2023-05-29 Thread Michał Górny
commit: df0668c754bc716785fd6a48dae70345864ff1c4
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 29 07:27:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 29 07:31:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0668c7

dev-python/requests-mock: Require dev-python/urllib3 < 2

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

 ...ests-mock-1.10.0.ebuild => requests-mock-1.10.0-r1.ebuild} | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
similarity index 80%
rename from dev-python/requests-mock/requests-mock-1.10.0.ebuild
rename to dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
index 39c7bfbeceb3..7f72de938bf4 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0-r1.ebuild
@@ -3,21 +3,28 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..11} )
+
 inherit distutils-r1 pypi
 
 DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
+HOMEPAGE="
+   https://github.com/jamielennox/requests-mock/
+   https://pypi.org/project/requests-mock/
+"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
+# urllib3 causes regressions that aren't caught by tests:
+# https://github.com/jamielennox/requests-mock/issues/228
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
+   

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

2023-03-17 Thread Michał Górny
commit: 79f8df2187a0564c613bbc9e2dcf4c33b7e711b4
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 17 11:59:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 17 15:25:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79f8df21

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

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
index 6efcf478a312..39c7bfbeceb3 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
@@ -5,11 +5,11 @@ EAPI=8
 
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+PYPI_NO_NORMALIZE=1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Mock out responses from the requests package"
 HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"



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

2022-10-03 Thread Michał Górny
commit: 61c4b3f5e66f1002a944babe577d87f1d9f310c0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  3 09:40:30 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  3 09:49:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c4b3f5

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  1 -
 .../requests-mock-1.9.3-obj-has-no-attr-url.patch  | 50 --
 .../requests-mock/requests-mock-1.9.3-r1.ebuild| 49 -
 3 files changed, 100 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index e39e81034682..5bc4b0672627 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1 @@
 DIST requests-mock-1.10.0.tar.gz 72627 BLAKE2B 
4ce1838f03b732de4007c2e9b700876dcf8dba0f5eafef1292e0e40ae75e08f9b3bf74c3620d2d762944ccf9af248304929f57a337122b1a69d13355dc3f290e
 SHA512 
873c9b219e2a2360872fac22c83371ce40f4dee45e6a0d40365f4f551271c2168a662dced6e8baad890b1dadfc03d21d4ce013f149d25a42d998af4f4fca2a79
-DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 
8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865
 SHA512 
bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f

diff --git 
a/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch 
b/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch
deleted file mode 100644
index d43b0b41e65a..
--- 
a/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 7238c1148c756e6a27c3dbc1ccbff7a3e9a60d82 Mon Sep 17 00:00:00 2001
-From: Jamie Lennox 
-Date: Fri, 28 May 2021 09:33:25 +0700
-Subject: [PATCH] Fix failing pytest
-
-When you start a method with test_ pytest loads it and tries to parse
-the parameters as fixtures. In this case it's not a real test, just a
-matcher function used later on in the test file.
-
-We can inline it into the function as it's only used in one place.
-
-Fixes: #175

- tests/test_custom_matchers.py | 16 
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/tests/test_custom_matchers.py b/tests/test_custom_matchers.py
-index d49f72a..546a63e 100644
 a/tests/test_custom_matchers.py
-+++ b/tests/test_custom_matchers.py
-@@ -31,13 +31,6 @@ def match_all(request):
- return requests_mock.create_response(request, content=six.b('data'))
- 
- 
--def test_a(request):
--if 'a' in request.url:
--return match_all(request)
--
--return None
--
--
- class CustomMatchersTests(base.TestCase):
- 
- def assertMatchAll(self, resp):
-@@ -65,7 +58,14 @@ def test_failing_matcher(self, mocker):
- 
- @requests_mock.Mocker()
- def test_some_pass(self, mocker):
--mocker.add_matcher(test_a)
-+
-+def matcher_a(request):
-+if 'a' in request.url:
-+return match_all(request)
-+
-+return None
-+
-+mocker.add_matcher(matcher_a)
- 
- resp = requests.get('http://any/thing')
- self.assertMatchAll(resp)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
deleted file mode 100644
index f6ab5d2b33d0..
--- a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( pypy3 python3_{8..11} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/${P}-obj-has-no-attr-url.patch"
-)
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which

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

2022-10-03 Thread Agostino Sarubbo
commit: c394bc7101d590e1923cb2e29497ec5d1dd35b6e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  3 08:27:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  3 08:27:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c394bc71

dev-python/requests-mock: Stabilize 1.10.0 arm64, #874147

Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
index c60dd795d519..010ece862c36 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-10-03 Thread Agostino Sarubbo
commit: 6852b7326fb82f31f0058340fc7313675400cdb9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  3 08:22:52 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  3 08:23:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6852b732

dev-python/requests-mock: Stabilize 1.10.0 amd64, #874147

Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
index e3372cf1c288..c60dd795d519 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-10-02 Thread Sam James
commit: 1c323d2fb0ae33296e608359f9b8b74b03671b63
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct  3 00:43:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  3 00:43:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c323d2f

dev-python/requests-mock: Stabilize 1.10.0 x86, #874147

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
index 8ada267b0ac1..e3372cf1c288 100644
--- a/dev-python/requests-mock/requests-mock-1.10.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-08-31 Thread Arthur Zamarin
commit: 6ddb223c574297f26bafb8160907c0e6c19715bc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 31 17:55:43 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 31 18:06:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddb223c

dev-python/requests-mock: add 1.10.0

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

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

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 34960a2cad41..e39e81034682 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
+DIST requests-mock-1.10.0.tar.gz 72627 BLAKE2B 
4ce1838f03b732de4007c2e9b700876dcf8dba0f5eafef1292e0e40ae75e08f9b3bf74c3620d2d762944ccf9af248304929f57a337122b1a69d13355dc3f290e
 SHA512 
873c9b219e2a2360872fac22c83371ce40f4dee45e6a0d40365f4f551271c2168a662dced6e8baad890b1dadfc03d21d4ce013f149d25a42d998af4f4fca2a79
 DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 
8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865
 SHA512 
bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f

diff --git a/dev-python/requests-mock/requests-mock-1.10.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
new file mode 100644
index ..8ada267b0ac1
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.10.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/requests-futures[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   -i tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2022-06-22 Thread Michał Górny
commit: a85e429f7730f1f4385286f9e6aa7f8b0041b7c5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 22 11:40:18 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 22 11:50:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85e429f

dev-python/requests-mock: Remove old

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

 .../requests-mock/requests-mock-1.9.3.ebuild   | 44 --
 1 file changed, 44 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
deleted file mode 100644
index bbb1ed73affa..
--- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests pytest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which requires purl (not in the tree)
-   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
-   tests/test_adapter.py || die
-   distutils-r1_python_prepare_all
-}



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

2022-06-22 Thread Agostino Sarubbo
commit: 2c1fcb9265f5244aefad9f7e1b3229966d48c541
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 22 10:07:57 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 22 10:07:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1fcb92

dev-python/requests-mock: amd64/arm64/x86 stable (ALLARCHES policy) wrt bug 
#853400

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

 dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
index 0298c64adbd1..f6ab5d2b33d0 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-05-22 Thread Andrew Ammerlaan
commit: d7c31df3e9afb95fa377722d67102664f6f6f6da
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun May 22 14:52:33 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun May 22 14:52:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c31df3

dev-python/requests-mock: destabilize 1.9.3-r1 for ~arm64

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
index 7fef5f7d9a02..0298c64adbd1 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-05-22 Thread Andrew Ammerlaan
commit: 8aeed575a050eb966d7d9d5a4c6b0ea4dad133b4
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun May 22 14:52:14 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun May 22 14:52:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aeed575

dev-python/requests-mock: destabilize 1.9.3-r1 for ~amd64, ~x86

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
index f6ab5d2b33d0..7fef5f7d9a02 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2022-05-22 Thread Andrew Ammerlaan
commit: 3a39ea1ffa7d996190bb4ae5b2b0b14b1a045849
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun May 22 14:38:20 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun May 22 14:51:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a39ea1f

dev-python/requests-mock: fix test failure, add py3.11

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../requests-mock-1.9.3-obj-has-no-attr-url.patch  | 50 ++
 .../requests-mock/requests-mock-1.9.3-r1.ebuild| 49 +
 2 files changed, 99 insertions(+)

diff --git 
a/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch 
b/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch
new file mode 100644
index ..d43b0b41e65a
--- /dev/null
+++ 
b/dev-python/requests-mock/files/requests-mock-1.9.3-obj-has-no-attr-url.patch
@@ -0,0 +1,50 @@
+From 7238c1148c756e6a27c3dbc1ccbff7a3e9a60d82 Mon Sep 17 00:00:00 2001
+From: Jamie Lennox 
+Date: Fri, 28 May 2021 09:33:25 +0700
+Subject: [PATCH] Fix failing pytest
+
+When you start a method with test_ pytest loads it and tries to parse
+the parameters as fixtures. In this case it's not a real test, just a
+matcher function used later on in the test file.
+
+We can inline it into the function as it's only used in one place.
+
+Fixes: #175
+---
+ tests/test_custom_matchers.py | 16 
+ 1 file changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/tests/test_custom_matchers.py b/tests/test_custom_matchers.py
+index d49f72a..546a63e 100644
+--- a/tests/test_custom_matchers.py
 b/tests/test_custom_matchers.py
+@@ -31,13 +31,6 @@ def match_all(request):
+ return requests_mock.create_response(request, content=six.b('data'))
+ 
+ 
+-def test_a(request):
+-if 'a' in request.url:
+-return match_all(request)
+-
+-return None
+-
+-
+ class CustomMatchersTests(base.TestCase):
+ 
+ def assertMatchAll(self, resp):
+@@ -65,7 +58,14 @@ def test_failing_matcher(self, mocker):
+ 
+ @requests_mock.Mocker()
+ def test_some_pass(self, mocker):
+-mocker.add_matcher(test_a)
++
++def matcher_a(request):
++if 'a' in request.url:
++return match_all(request)
++
++return None
++
++mocker.add_matcher(matcher_a)
+ 
+ resp = requests.get('http://any/thing')
+ self.assertMatchAll(resp)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
new file mode 100644
index ..f6ab5d2b33d0
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.9.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-obj-has-no-attr-url.patch"
+)
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2021-09-02 Thread Marek Szuba
commit: 2eeb15e7560fe68c6bd74bd8bccfe4a1561bf325
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  2 15:56:51 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  2 17:05:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eeb15e7

dev-python/requests-mock: keyword 1.9.3 for ~riscv

Same test failure as on amd64, see Bug #801136.

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
index ecf8e6aa4b5..bbb1ed73aff 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2021-07-07 Thread Michał Górny
commit: a7b01fb982b71ded49b4367a4082ee00fcb7d297
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  7 22:20:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  7 22:29:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b01fb9

dev-python/requests-mock: Port to py3.10

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

 dev-python/requests-mock/requests-mock-1.9.3.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
index 9d82f5779da..ecf8e6aa4b5 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
@@ -1,10 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
+EAPI=8
 
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Mock out responses from the requests package"
@@ -30,7 +29,7 @@ BDEPEND="
 "
 
 distutils_enable_sphinx doc/source
-distutils_enable_tests unittest
+distutils_enable_tests pytest
 
 python_prepare_all() {
# Disable reno which only works inside a git repository



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

2021-07-06 Thread Sam James
commit: 6a7a3cc92e914ed9c75dc8601e401eb194eef8d7
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  6 23:20:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  6 23:20:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7a3cc9

dev-python/requests-mock: Stabilize 1.9.3 arm64, #797472

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
index db7c8a5091b..9d82f5779da 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2021-07-02 Thread Michał Górny
commit: 7aefa16cddff6b41ca6dcf90cd63a986e324
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  3 06:29:01 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  3 06:29:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aefa16c

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  1 -
 .../requests-mock/requests-mock-1.9.2.ebuild   | 45 --
 2 files changed, 46 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 7cd4619f269..34960a2cad4 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1 @@
-DIST requests-mock-1.9.2.tar.gz 67383 BLAKE2B 
70a0772b415f437c38897862d663983d9ac65a5fc37d70b4f8734f8c249457dab6c4b1c04db79f7865a9b31a49aaa9cbbee98453ea5bcda35aad2e7cd9ca3f4a
 SHA512 
b8da389f6642a4dfaac77b2613d12e3028555a5d4154aa7252e50fef527a49fb78d85dbd911ad2fd7d5ebc0efa49a2c0fd8d3b10114596839f0ddb53d917773c
 DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 
8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865
 SHA512 
bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f

diff --git a/dev-python/requests-mock/requests-mock-1.9.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.2.ebuild
deleted file mode 100644
index db7c8a5091b..000
--- a/dev-python/requests-mock/requests-mock-1.9.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests unittest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which requires purl (not in the tree)
-   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
-   tests/test_adapter.py || die
-   distutils-r1_python_prepare_all
-}



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

2021-07-02 Thread Agostino Sarubbo
commit: b5013ac7dcbacca4ef1ca7443a2ce7d4c72e7d4d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jul  3 06:15:19 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jul  3 06:15:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5013ac7

dev-python/requests-mock: amd64/x86 stable (ALLARCHES policy) wrt bug #800040

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
index 930d9082097..db7c8a5091b 100644
--- a/dev-python/requests-mock/requests-mock-1.9.3.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

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

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  3 --
 .../requests-mock/requests-mock-1.8.0.ebuild   | 46 --
 .../requests-mock/requests-mock-1.9.0.ebuild   | 45 -
 .../requests-mock/requests-mock-1.9.1.ebuild   | 45 -
 4 files changed, 139 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index ca5493fbc99..7cd4619f269 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,5 +1,2 @@
-DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
-DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 
33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf
 SHA512 
1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
-DIST requests-mock-1.9.1.tar.gz 66782 BLAKE2B 
5457d359bf93f3f1e335481e44c1e9a391ee88c648b3c385806274e2c39ae3a69268d792dfc2e4609f2ccebd47dc2a3bb488f11b1b479c010a4194fe5cdc3be6
 SHA512 
96a8a787daa7d42796baf2807543ca18c27f595e101fd230cd392eb2417b3b0925b977a6fc49d70e21362e5b647cac201cb9f3968301ce2702772ddd85cf7094
 DIST requests-mock-1.9.2.tar.gz 67383 BLAKE2B 
70a0772b415f437c38897862d663983d9ac65a5fc37d70b4f8734f8c249457dab6c4b1c04db79f7865a9b31a49aaa9cbbee98453ea5bcda35aad2e7cd9ca3f4a
 SHA512 
b8da389f6642a4dfaac77b2613d12e3028555a5d4154aa7252e50fef527a49fb78d85dbd911ad2fd7d5ebc0efa49a2c0fd8d3b10114596839f0ddb53d917773c
 DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 
8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865
 SHA512 
bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
deleted file mode 100644
index 148512ff754..000
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
-
-RDEPEND="
-   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx doc/source
-distutils_enable_tests unittest
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   # Disable a test which requires purl (not in the tree)
-   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
-   tests/test_adapter.py || die
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/requests-mock/requests-mock-1.9.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.0.ebuild
deleted file mode 100644
index 930d9082097..000
--- a/dev-python/requests-mock/requests-mock-1.9.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
-   >=dev-pytho

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

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

dev-python/requests-mock: Stabilize 1.9.2 ALLARCHES, #794403

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.9.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.2.ebuild
index 930d9082097..db7c8a5091b 100644
--- a/dev-python/requests-mock/requests-mock-1.9.2.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.9.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2021-05-28 Thread Michał Górny
commit: 60f5534777501b659c08934b13fd890334e113f7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 28 06:53:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 28 07:34:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f55347

dev-python/requests-mock: Bump to 1.9.3

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.9.3.ebuild   | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index eac2838cd5d..ca5493fbc99 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -2,3 +2,4 @@ DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e33
 DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 
33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf
 SHA512 
1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
 DIST requests-mock-1.9.1.tar.gz 66782 BLAKE2B 
5457d359bf93f3f1e335481e44c1e9a391ee88c648b3c385806274e2c39ae3a69268d792dfc2e4609f2ccebd47dc2a3bb488f11b1b479c010a4194fe5cdc3be6
 SHA512 
96a8a787daa7d42796baf2807543ca18c27f595e101fd230cd392eb2417b3b0925b977a6fc49d70e21362e5b647cac201cb9f3968301ce2702772ddd85cf7094
 DIST requests-mock-1.9.2.tar.gz 67383 BLAKE2B 
70a0772b415f437c38897862d663983d9ac65a5fc37d70b4f8734f8c249457dab6c4b1c04db79f7865a9b31a49aaa9cbbee98453ea5bcda35aad2e7cd9ca3f4a
 SHA512 
b8da389f6642a4dfaac77b2613d12e3028555a5d4154aa7252e50fef527a49fb78d85dbd911ad2fd7d5ebc0efa49a2c0fd8d3b10114596839f0ddb53d917773c
+DIST requests-mock-1.9.3.tar.gz 67988 BLAKE2B 
8ab651adbde9e18370641655589f5d209d2a9ae07d82108c64e4269757217cf01588066ebc3005852cf48527f911d3fb76cedce3e88bc74123db81725b4b5865
 SHA512 
bcded541d78670a1b1fc87f97d35286ab4bafd6946beb9d9b44886454c26a4d8c05834add18914f3f72b1d3c0534311efd1cc80e711b5085eb63053ae24cbb6f

diff --git a/dev-python/requests-mock/requests-mock-1.9.3.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
new file mode 100644
index 000..930d9082097
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.9.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2021-04-30 Thread Michał Górny
commit: bdaf70e0ef7e544858bfbbda9b9f84bb3766421b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr 30 07:13:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 30 12:22:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdaf70e0

dev-python/requests-mock: Bump to 1.9.2

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.9.2.ebuild   | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index ee0bf9cf47b..eac2838cd5d 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1,4 @@
 DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
 DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 
33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf
 SHA512 
1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
 DIST requests-mock-1.9.1.tar.gz 66782 BLAKE2B 
5457d359bf93f3f1e335481e44c1e9a391ee88c648b3c385806274e2c39ae3a69268d792dfc2e4609f2ccebd47dc2a3bb488f11b1b479c010a4194fe5cdc3be6
 SHA512 
96a8a787daa7d42796baf2807543ca18c27f595e101fd230cd392eb2417b3b0925b977a6fc49d70e21362e5b647cac201cb9f3968301ce2702772ddd85cf7094
+DIST requests-mock-1.9.2.tar.gz 67383 BLAKE2B 
70a0772b415f437c38897862d663983d9ac65a5fc37d70b4f8734f8c249457dab6c4b1c04db79f7865a9b31a49aaa9cbbee98453ea5bcda35aad2e7cd9ca3f4a
 SHA512 
b8da389f6642a4dfaac77b2613d12e3028555a5d4154aa7252e50fef527a49fb78d85dbd911ad2fd7d5ebc0efa49a2c0fd8d3b10114596839f0ddb53d917773c

diff --git a/dev-python/requests-mock/requests-mock-1.9.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.2.ebuild
new file mode 100644
index 000..930d9082097
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.9.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2021-04-28 Thread Michał Górny
commit: 5a7998d8e7c58d0eb987cd6d5a50acd7635955e1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 28 10:23:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 28 10:24:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7998d8

dev-python/requests-mock: Bump to 1.9.1

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.9.1.ebuild   | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index e67982eaedc..ee0bf9cf47b 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
 DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 
33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf
 SHA512 
1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610
+DIST requests-mock-1.9.1.tar.gz 66782 BLAKE2B 
5457d359bf93f3f1e335481e44c1e9a391ee88c648b3c385806274e2c39ae3a69268d792dfc2e4609f2ccebd47dc2a3bb488f11b1b479c010a4194fe5cdc3be6
 SHA512 
96a8a787daa7d42796baf2807543ca18c27f595e101fd230cd392eb2417b3b0925b977a6fc49d70e21362e5b647cac201cb9f3968301ce2702772ddd85cf7094

diff --git a/dev-python/requests-mock/requests-mock-1.9.1.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.1.ebuild
new file mode 100644
index 000..930d9082097
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.9.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2021-04-28 Thread Michał Górny
commit: 7ca3d4cce1003ab2e6416657046bf814a3d5bce7
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 28 06:57:28 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 28 08:16:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca3d4cc

dev-python/requests-mock: Bump to 1.9.0

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.9.0.ebuild   | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 99ba5616108..e67982eaedc 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
 DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918
+DIST requests-mock-1.9.0.tar.gz 66243 BLAKE2B 
33602e85376d7812b8f4b35bf657c905ddc7db4d85e3de1f70d38871c90c42fc886e99bce3dc45079b6c8ac8e3e6b0b5291d4acda31d26045396d4ed505c3faf
 SHA512 
1382077357a13dbec65cc4226b628ff6b55348422d9f0e9e2311c85affbc40437d22c2f95fa305303a86decc765a6228366f27eea76e254da194789b1d8fb610

diff --git a/dev-python/requests-mock/requests-mock-1.9.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.9.0.ebuild
new file mode 100644
index 000..930d9082097
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.9.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2020-08-06 Thread Sam James
commit: fb9fb4530cbec1ff41a4cb314439511aea4a0628
Author: David Denoncin  gmail  com>
AuthorDate: Wed Aug  5 09:07:35 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 01:10:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb9fb453

dev-python/requests-mock: port to py3.9

Use DISTUTILS_USE_SETUPTOOLS=rdepend as there are entry_points

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Denoncin  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/requests-mock/requests-mock-1.8.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
index cbd54d1e0fa..d841c66f5ef 100644
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 



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

2020-07-11 Thread Michał Górny
commit: bac852d88661e4857bcba6bc9938422e9fb91533
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 11 08:18:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 11 08:22:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac852d8

dev-python/requests-mock: Mark ALLARCHES

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

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

diff --git a/dev-python/requests-mock/metadata.xml 
b/dev-python/requests-mock/metadata.xml
index 8041b506dd0..ef5f17b4777 100644
--- a/dev-python/requests-mock/metadata.xml
+++ b/dev-python/requests-mock/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

requests-mock
jamielennox/requests-mock



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

2020-07-11 Thread Michał Górny
commit: 6064a399f77a5dc61c009151170debf6247466f7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 11 08:22:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 11 08:22:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6064a399

dev-python/requests-mock: Stabilize 1.8.0 ALLARCHES, #731558

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
index 42274f9c5c6..cbd54d1e0fa 100644
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2020-07-09 Thread Agostino Sarubbo
commit: 83f824172115bc9b6953cd64580affadb8095638
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  9 08:59:00 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  9 08:59:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f82417

dev-python/requests-mock: x86 stable wrt bug #731558

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
index 09cefc3c140..42274f9c5c6 100644
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2020-06-09 Thread Michał Górny
commit: e8e67d546d31c4c0a20a11906994bd23e3c8eace
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon Jun  8 11:59:53 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun  9 20:06:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e67d54

dev-python/requests-mock: arm keyworded (bug #661598)

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/requests-mock/requests-mock-1.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
index b0fa9d1440e..09cefc3c140 100644
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 RDEPEND="
>=dev-python/requests-2.3[${PYTHON_USEDEP}]



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

2020-05-18 Thread Michał Górny
commit: cc8b0c9b9618f90019f04f43c538277655f51bca
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 18 11:55:33 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 18 13:23:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8b0c9b

dev-python/requests-mock: Add tdep on dev-python/pytest

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

 dev-python/requests-mock/requests-mock-1.8.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
index e5e13b78cd4..b0fa9d1440e 100644
--- a/dev-python/requests-mock/requests-mock-1.8.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -24,6 +24,7 @@ BDEPEND="
test? (
dev-python/fixtures[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
dev-python/testtools[${PYTHON_USEDEP}]
)
 "



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

2020-05-04 Thread Michał Górny
commit: c0f840e12429fb91fd8065e6a02391c36b3f6561
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  4 12:15:50 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  4 12:17:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f840e1

dev-python/requests-mock: Remove old

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

 dev-python/requests-mock/Manifest  |  1 -
 .../requests-mock/requests-mock-1.5.2.ebuild   | 62 --
 2 files changed, 63 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 19d7c004515..f58be583f71 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1,2 @@
-DIST requests-mock-1.5.2.tar.gz 47581 BLAKE2B 
46beefc45e01355939a76b85e43a5b57cb1a870666eab7f610cad3e8a04a17da6a0864f9776a0f09028c847e8a4f7d0d2389a36f9a0431ed733a364d0f712c0b
 SHA512 
206c91e892df84e38dcdf1264559128cfece76be2ce43b9c98238dfd438795d8c4ce3fcd43feb30246fbfca2d78832a23430ce1c9d3a7dc6e4417df5d65a8d3c
 DIST requests-mock-1.7.0.tar.gz 51705 BLAKE2B 
1104422ab28678ee9e964fd853e7d61c23bc2f0dfb3861c2829578d1f91d533d195ce687fbc8596aba32da4b369050398d891125dc894e55fcb73ca81268b30c
 SHA512 
6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2
 DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918

diff --git a/dev-python/requests-mock/requests-mock-1.5.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
deleted file mode 100644
index 73c0133756a..000
--- a/dev-python/requests-mock/requests-mock-1.5.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
-
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/subunit[${PYTHON_USEDEP}]
-   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-
-python_prepare_all() {
-   # Disable reno which only works inside a git repository
-   # Disable intersphinx
-   sed -i -e "s/'reno.sphinxext',//" \
-   -e "s/'sphinx.ext.intersphinx'//" \
-   doc/source/conf.py || die
-   # Remove the release notes section which requires reno
-   rm doc/source/release-notes.rst || die
-   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   if use doc; then
-   sphinx-build doc/source docs/source/build/_html || die
-   HTML_DOCS=( docs/source/build/_html/. )
-   fi
-}
-
-python_test() {
-   rm -rf .testrepository \
-   || die "couldn't remove '.testrepository' under ${EPYTHON}"
-
-   testr init || die "testr init failed under ${EPYTHON}"
-   testr run || die "testr run failed under ${EPYTHON}"
-}



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

2020-05-03 Thread Agostino Sarubbo
commit: d7eb8d4e6235f51966efb646bd69101180d99ae1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun May  3 19:01:23 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun May  3 19:02:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7eb8d4e

dev-python/requests-mock: x86 stable wrt bug #720598

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

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

diff --git a/dev-python/requests-mock/requests-mock-1.7.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.7.0.ebuild
index 5fbf7cfb74d..2a7ab3015ee 100644
--- a/dev-python/requests-mock/requests-mock-1.7.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.7.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 
 RDEPEND="
>=dev-python/requests-1.1[${PYTHON_USEDEP}]



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

2020-05-03 Thread Michał Górny
commit: 549609a06c297cd4613351fd9553e6555b3336ec
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May  3 06:52:06 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May  3 07:07:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549609a0

dev-python/requests-mock: Bump to 1.8.0

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

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.8.0.ebuild   | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 4b9af0355f7..19d7c004515 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-1.5.2.tar.gz 47581 BLAKE2B 
46beefc45e01355939a76b85e43a5b57cb1a870666eab7f610cad3e8a04a17da6a0864f9776a0f09028c847e8a4f7d0d2389a36f9a0431ed733a364d0f712c0b
 SHA512 
206c91e892df84e38dcdf1264559128cfece76be2ce43b9c98238dfd438795d8c4ce3fcd43feb30246fbfca2d78832a23430ce1c9d3a7dc6e4417df5d65a8d3c
 DIST requests-mock-1.7.0.tar.gz 51705 BLAKE2B 
1104422ab28678ee9e964fd853e7d61c23bc2f0dfb3861c2829578d1f91d533d195ce687fbc8596aba32da4b369050398d891125dc894e55fcb73ca81268b30c
 SHA512 
6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2
+DIST requests-mock-1.8.0.tar.gz 59794 BLAKE2B 
2bdcd180ea793a02cf34eda356d90c0e338cec6f3fb718564026d28ea06ac975073f291be9cb685f012c803fdeca1fe29139537529e292b91a3356f0b781f97a
 SHA512 
252bce965e0fca03cd5ce09912c726045f9c632e90bfee13b06c9f3e2c6b70eab7f39cf8e7efb3b7d2cf2b5d79cc5c5ba6e2379b3d48ce33bf78861ada911918

diff --git a/dev-python/requests-mock/requests-mock-1.8.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
new file mode 100644
index 000..e5e13b78cd4
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.8.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-2.3[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2020-02-28 Thread Louis Sautier
commit: bcf09b570256d730edde8a5ad4bf7e5032e0e919
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Feb 29 00:39:46 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Feb 29 00:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf09b57

dev-python/requests-mock: bump to 1.7.0, add Py3.8, improve ebuild

* Rely on distutils_enable_* functions.
* Run tests the standard way, get rid of unneeded test dependencies.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.7.0.ebuild   | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 8822b19bf45..335707e7e34 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1,4 @@
 DIST requests-mock-1.2.0.tar.gz 40219 BLAKE2B 
b5ded6c97d920bab0c610c1be1c80f299e56cccd393c824b5c9ab3e0c298491b8be0b285c440bc8ba32eb1eec2eca14ec363d0f188c5b095192a56d01383c322
 SHA512 
ed24d1809aef597219ae2b0b376156a0760040795ccd660ee38f84cd1ceed58cbc5009764d7a365d31f941ee16e2b537b92ddcff92bcd8d47b7e95c67dc8d82c
 DIST requests-mock-1.5.0.tar.gz 47824 BLAKE2B 
90d540e2372430c70b0ada0bc48a3a8085452e062e9ab57a232d080df8312c2a722c01d61fb399fe2a6bc31a2d6d61914d8d0e2c912a2e439062b27bb31914cf
 SHA512 
21838017ac4d3066e2240b40b27bbe16f3bd989f37eba90f0a0d0cdb997e7e65c6d9dc63b31f64daaa6146cc3c6bccbba86382eda3f2ca72eb7cc8381969af36
 DIST requests-mock-1.5.2.tar.gz 47581 BLAKE2B 
46beefc45e01355939a76b85e43a5b57cb1a870666eab7f610cad3e8a04a17da6a0864f9776a0f09028c847e8a4f7d0d2389a36f9a0431ed733a364d0f712c0b
 SHA512 
206c91e892df84e38dcdf1264559128cfece76be2ce43b9c98238dfd438795d8c4ce3fcd43feb30246fbfca2d78832a23430ce1c9d3a7dc6e4417df5d65a8d3c
+DIST requests-mock-1.7.0.tar.gz 51705 BLAKE2B 
1104422ab28678ee9e964fd853e7d61c23bc2f0dfb3861c2829578d1f91d533d195ce687fbc8596aba32da4b369050398d891125dc894e55fcb73ca81268b30c
 SHA512 
6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2

diff --git a/dev-python/requests-mock/requests-mock-1.7.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.7.0.ebuild
new file mode 100644
index 000..7c051fe7339
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx doc/source
+distutils_enable_tests unittest
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   # Disable a test which requires purl (not in the tree)
+   sed -i -e "/^import purl$/d" -e "s/test_with_purl/_&/" \
+   tests/test_adapter.py || die
+   distutils-r1_python_prepare_all
+}



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

2020-02-28 Thread Louis Sautier
commit: 14d43bdcf827d2369ba2b7b2c62c660eb23bcc33
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Feb 29 00:41:25 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Feb 29 00:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d43bdc

dev-python/requests-mock: remove old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/requests-mock/Manifest  |  1 -
 .../requests-mock/requests-mock-1.2.0.ebuild   | 40 --
 2 files changed, 41 deletions(-)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 335707e7e34..1330ebb1d05 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,4 +1,3 @@
-DIST requests-mock-1.2.0.tar.gz 40219 BLAKE2B 
b5ded6c97d920bab0c610c1be1c80f299e56cccd393c824b5c9ab3e0c298491b8be0b285c440bc8ba32eb1eec2eca14ec363d0f188c5b095192a56d01383c322
 SHA512 
ed24d1809aef597219ae2b0b376156a0760040795ccd660ee38f84cd1ceed58cbc5009764d7a365d31f941ee16e2b537b92ddcff92bcd8d47b7e95c67dc8d82c
 DIST requests-mock-1.5.0.tar.gz 47824 BLAKE2B 
90d540e2372430c70b0ada0bc48a3a8085452e062e9ab57a232d080df8312c2a722c01d61fb399fe2a6bc31a2d6d61914d8d0e2c912a2e439062b27bb31914cf
 SHA512 
21838017ac4d3066e2240b40b27bbe16f3bd989f37eba90f0a0d0cdb997e7e65c6d9dc63b31f64daaa6146cc3c6bccbba86382eda3f2ca72eb7cc8381969af36
 DIST requests-mock-1.5.2.tar.gz 47581 BLAKE2B 
46beefc45e01355939a76b85e43a5b57cb1a870666eab7f610cad3e8a04a17da6a0864f9776a0f09028c847e8a4f7d0d2389a36f9a0431ed733a364d0f712c0b
 SHA512 
206c91e892df84e38dcdf1264559128cfece76be2ce43b9c98238dfd438795d8c4ce3fcd43feb30246fbfca2d78832a23430ce1c9d3a7dc6e4417df5d65a8d3c
 DIST requests-mock-1.7.0.tar.gz 51705 BLAKE2B 
1104422ab28678ee9e964fd853e7d61c23bc2f0dfb3861c2829578d1f91d533d195ce687fbc8596aba32da4b369050398d891125dc894e55fcb73ca81268b30c
 SHA512 
6ad71fb87519f93812e8ae0d058a4b65a4492e86f05cacc37f95be1a6f0239a2c3f3d20a7e6f44bcc21f009574e4e78c2149394c2570d305efbdd68ec07b24a2

diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
deleted file mode 100644
index cd6180ff47c..000
--- a/dev-python/requests-mock/requests-mock-1.2.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="Mock out responses from the requests package"
-HOMEPAGE="https://github.com/jamielennox/requests-mock";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-   test? (
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-   dev-python/testtools[${PYTHON_USEDEP}]
-   )
-"
-RDEPEND="
-   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-
-python_test() {
-   rm -rf .testrepository || die "couldn't remove '.testrepository' under 
${EPYTHON}"
-
-   testr init || die "testr init failed under ${EPYTHON}"
-   testr run || die "testr run failed under ${EPYTHON}"
-}



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

2020-02-25 Thread Georgy Yakovlev
commit: ba174efedc97efdf7c5fd0137af4a741294db544
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Feb 25 08:03:03 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Feb 25 08:03:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba174efe

dev-python/requests-mock: keyword 1.5.2 on ~ppc64, bug #710752

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

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

diff --git a/dev-python/requests-mock/requests-mock-1.5.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
index 668faaec864..73c0133756a 100644
--- a/dev-python/requests-mock/requests-mock-1.5.2.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="doc test"
 RESTRICT="!test? ( test )"
 



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

2020-02-05 Thread Michał Górny
commit: c9b5dbd16fcd7effd939ff75761ee72122c014d5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 21:03:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 21:21:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b5dbd1

dev-python/requests-mock: Remove py2

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

 dev-python/requests-mock/requests-mock-1.2.0.ebuild | 2 +-
 dev-python/requests-mock/requests-mock-1.5.0.ebuild | 2 +-
 dev-python/requests-mock/requests-mock-1.5.2.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
index 1721eada742..cd6180ff47c 100644
--- a/dev-python/requests-mock/requests-mock-1.2.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1
 

diff --git a/dev-python/requests-mock/requests-mock-1.5.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
index fc6b65d6b00..b198ce304c8 100644
--- a/dev-python/requests-mock/requests-mock-1.5.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python{2_7,3_6} )
+PYTHON_COMPAT=( pypy3 python3_6 )
 
 inherit distutils-r1
 

diff --git a/dev-python/requests-mock/requests-mock-1.5.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
index bd8946a4909..668faaec864 100644
--- a/dev-python/requests-mock/requests-mock-1.5.2.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( pypy3 python3_{6,7} )
 
 inherit distutils-r1
 



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

2018-07-24 Thread Louis Sautier
commit: 89556ca0571eb1cd99e2b4dd5c947f88bcf6d6fa
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Jul 24 23:08:12 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Jul 24 23:10:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89556ca0

dev-python/requests-mock: add bugs-to to metadata.xml

Package-Manager: Portage-2.3.43, Repoman-2.3.10

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

diff --git a/dev-python/requests-mock/metadata.xml 
b/dev-python/requests-mock/metadata.xml
index 3123916606e..8041b506dd0 100644
--- a/dev-python/requests-mock/metadata.xml
+++ b/dev-python/requests-mock/metadata.xml
@@ -8,5 +8,6 @@

requests-mock
jamielennox/requests-mock
+   
https://github.com/jamielennox/requests-mock/issues

 



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

2018-07-24 Thread Louis Sautier
commit: 3e20ec1bc5c95d51337e11c0021a8313e5dc08a7
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Jul 24 22:45:16 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Jul 24 22:59:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e20ec1b

dev-python/requests-mock: bump to 1.5.2, add Python 3.7

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.5.2.ebuild   | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index df3985d31b8..8822b19bf45 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-1.2.0.tar.gz 40219 BLAKE2B 
b5ded6c97d920bab0c610c1be1c80f299e56cccd393c824b5c9ab3e0c298491b8be0b285c440bc8ba32eb1eec2eca14ec363d0f188c5b095192a56d01383c322
 SHA512 
ed24d1809aef597219ae2b0b376156a0760040795ccd660ee38f84cd1ceed58cbc5009764d7a365d31f941ee16e2b537b92ddcff92bcd8d47b7e95c67dc8d82c
 DIST requests-mock-1.5.0.tar.gz 47824 BLAKE2B 
90d540e2372430c70b0ada0bc48a3a8085452e062e9ab57a232d080df8312c2a722c01d61fb399fe2a6bc31a2d6d61914d8d0e2c912a2e439062b27bb31914cf
 SHA512 
21838017ac4d3066e2240b40b27bbe16f3bd989f37eba90f0a0d0cdb997e7e65c6d9dc63b31f64daaa6146cc3c6bccbba86382eda3f2ca72eb7cc8381969af36
+DIST requests-mock-1.5.2.tar.gz 47581 BLAKE2B 
46beefc45e01355939a76b85e43a5b57cb1a870666eab7f610cad3e8a04a17da6a0864f9776a0f09028c847e8a4f7d0d2389a36f9a0431ed733a364d0f712c0b
 SHA512 
206c91e892df84e38dcdf1264559128cfece76be2ce43b9c98238dfd438795d8c4ce3fcd43feb30246fbfca2d78832a23430ce1c9d3a7dc6e4417df5d65a8d3c

diff --git a/dev-python/requests-mock/requests-mock-1.5.2.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
new file mode 100644
index 000..5c4420858b1
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.5.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/subunit[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+   # Disable reno which only works inside a git repository
+   # Disable intersphinx
+   sed -i -e "s/'reno.sphinxext',//" \
+   -e "s/'sphinx.ext.intersphinx'//" \
+   doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   sphinx-build doc/source docs/source/build/_html || die
+   HTML_DOCS=( docs/source/build/_html/. )
+   fi
+}
+
+python_test() {
+   rm -rf .testrepository \
+   || die "couldn't remove '.testrepository' under ${EPYTHON}"
+
+   testr init || die "testr init failed under ${EPYTHON}"
+   testr run || die "testr run failed under ${EPYTHON}"
+}



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

2018-06-27 Thread Louis Sautier
commit: b254d42a6642aa99d8b779470501d61922dd12b1
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Jun 27 13:11:41 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Jun 27 13:15:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b254d42a

dev-python/requests-mock: bump to 1.5.0, add docs, pypy{,3}

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/requests-mock/Manifest  |  1 +
 .../requests-mock/requests-mock-1.5.0.ebuild   | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 58ffd6c1b0c..df3985d31b8 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1 +1,2 @@
 DIST requests-mock-1.2.0.tar.gz 40219 BLAKE2B 
b5ded6c97d920bab0c610c1be1c80f299e56cccd393c824b5c9ab3e0c298491b8be0b285c440bc8ba32eb1eec2eca14ec363d0f188c5b095192a56d01383c322
 SHA512 
ed24d1809aef597219ae2b0b376156a0760040795ccd660ee38f84cd1ceed58cbc5009764d7a365d31f941ee16e2b537b92ddcff92bcd8d47b7e95c67dc8d82c
+DIST requests-mock-1.5.0.tar.gz 47824 BLAKE2B 
90d540e2372430c70b0ada0bc48a3a8085452e062e9ab57a232d080df8312c2a722c01d61fb399fe2a6bc31a2d6d61914d8d0e2c912a2e439062b27bb31914cf
 SHA512 
21838017ac4d3066e2240b40b27bbe16f3bd989f37eba90f0a0d0cdb997e7e65c6d9dc63b31f64daaa6146cc3c6bccbba86382eda3f2ca72eb7cc8381969af36

diff --git a/dev-python/requests-mock/requests-mock-1.5.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
new file mode 100644
index 000..bcc74016ab7
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.5.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/subunit[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+   # Disable intersphinx
+   # Disable reno which only works inside a git repository
+   sed -i -e "s/'reno.sphinxext',//" \
+   -e "s/'sphinx.ext.intersphinx'//" \
+   doc/source/conf.py || die
+   # Remove the release notes section which requires reno
+   rm doc/source/release-notes.rst || die
+   sed -i '/^=$/,/release-notes/d' doc/source/index.rst || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   if use doc; then
+   sphinx-build doc/source docs/source/build/_html || die
+   HTML_DOCS=( docs/source/build/_html/. )
+   fi
+}
+
+python_test() {
+   rm -rf .testrepository \
+   || die "couldn't remove '.testrepository' under ${EPYTHON}"
+
+   testr init || die "testr init failed under ${EPYTHON}"
+   testr run || die "testr run failed under ${EPYTHON}"
+}



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

2018-03-10 Thread Pacho Ramos
commit: bd5747c9d5781913fd08293b2a8e8001468ee0c5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 10 14:43:53 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 10 14:53:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5747c9

dev-python/requests-mock: Update maintainer due to bug #502560

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/dev-python/requests-mock/metadata.xml 
b/dev-python/requests-mock/metadata.xml
index 3290df5c116..3123916606e 100644
--- a/dev-python/requests-mock/metadata.xml
+++ b/dev-python/requests-mock/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   alund...@gentoo.org
-   Alex Brandt
-   

pyt...@gentoo.org
Python



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

2017-10-04 Thread Michał Górny
commit: 6632b8318179c3d7dd2b24880041a961d043e544
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 07:24:08 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 08:56:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6632b831

dev-python/requests-mock: Strip empty metadata.xml elements

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

diff --git a/dev-python/requests-mock/metadata.xml 
b/dev-python/requests-mock/metadata.xml
index 020a6f5666b..3290df5c116 100644
--- a/dev-python/requests-mock/metadata.xml
+++ b/dev-python/requests-mock/metadata.xml
@@ -9,8 +9,6 @@
pyt...@gentoo.org
Python

-   
-   

requests-mock
jamielennox/requests-mock



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

2017-03-25 Thread Matt Thode
commit: d4720fb64e57b8af4c510c2e0f1b30dc29a6a7e5
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Mar 26 03:24:35 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Mar 26 03:24:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4720fb6

stablize openstack ocata requests-mock-1.2.0 x86 and amd64

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --force

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

diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
index 78f9d3b56aa..f1334e75794 100644
--- a/dev-python/requests-mock/requests-mock-1.2.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="test"
 
 DEPEND="



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

2017-02-26 Thread Zac Medico
commit: 2c35a3c2f6a9464a9566a6bc92c299662ecd91f8
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Feb 27 05:24:35 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Feb 27 05:24:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c35a3c2

dev-python/requests-mock: PYTHON_COMPAT: add python3_6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/requests-mock/requests-mock-1.0.0.ebuild | 4 ++--
 dev-python/requests-mock/requests-mock-1.2.0.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-1.0.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
index 0db6fc279d..966f50485e 100644
--- a/dev-python/requests-mock/requests-mock-1.0.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 

diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
index b2a20c177f..78f9d3b56a 100644
--- a/dev-python/requests-mock/requests-mock-1.2.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 



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

2017-02-26 Thread Matt Thode
commit: 668a6d93fcd19e760ff8dbafe4c2188c66d5fc9d
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Feb 27 03:59:04 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Feb 27 04:26:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=668a6d93

dev-python/requests-mock: bup

Package-Manager: Portage-2.3.3, Repoman-2.3.1

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

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 66cf4c2c70..a3ab6d5be7 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -2,3 +2,4 @@ DIST requests-mock-0.5.1.tar.gz 29729 SHA256 
b1b1b864e633418c77f33d333b0fd88cb61
 DIST requests-mock-0.6.0.tar.gz 31645 SHA256 
a1f10ee53fef6aac6ca54cfb8fdb1b7ca6da59d68ea1a8c21ac513211842ad3e SHA512 
5c23c1fdd3746f2b3b49508b7f05abb365e0608a32b6ead5d0ef18203bf75ab642626229e96b2e8826216d0f090f1bbd41bdfa78dd56f305a996a57f1e16179e
 WHIRLPOOL 
65af690e429a09bc4358f1b0c387e3fff3faaf962cacd247c11c01ba84f79b3fe06b0dd801e9dab829550a5a340e562aa3ceb6a61e4307c14b5a16fdba8a1a7a
 DIST requests-mock-0.7.0.tar.gz 34722 SHA256 
ee2816992d4505596ec3c98c7b4ab57475539ac037d08dd3a81370b1e3cdd568 SHA512 
c2046d9291b3c852b986423dd3407c2486476417934aa2c21365fa94d821ebef7e01e90c61c6ab35d186654d3468e4a72505bb157cfb01f287b6d5c0041dc7f8
 WHIRLPOOL 
ff4494eb30d5028aeaf7db1811130ddd3f89c5a0a57c55836fb35aa1ba598c5cb44f95879daa8be3b0aac8f57eb2649349243d5532cbd0ef31adb24c88321f27
 DIST requests-mock-1.0.0.tar.gz 34715 SHA256 
c6c659e50a312eb5cf0191ae33d6b232909e4a248551e79cef11c3c93497923d SHA512 
cfa4c208b1a23b7d86d761dabed564d085591c281cae2981dca5103d6e84c11a7a78a80f278e6ec868f087dcb8eda145cbd93efd2a5c7afdff8d00990b66af39
 WHIRLPOOL 
a2829e0867529f975f4c2e3567daa397b598235b5478725443c43b266147e3ef26b0188beb5b801f2ba95037fd930ce843a3493c8bf76ad00c591a0d4b8e487c
+DIST requests-mock-1.2.0.tar.gz 40219 SHA256 
8c89d8db3a5ddbce6121bdeb665891ca27bb37d18bbadd96c6c11fb472f07df1 SHA512 
ed24d1809aef597219ae2b0b376156a0760040795ccd660ee38f84cd1ceed58cbc5009764d7a365d31f941ee16e2b537b92ddcff92bcd8d47b7e95c67dc8d82c
 WHIRLPOOL 
1cc27f31611dba6c9d825882c33610ebfa75e87b776680c0da468352883ec1cd615fdf8068d8b9c1e54d35872409620f82f809c53bea154aa83bafd1e53138f0

diff --git a/dev-python/requests-mock/requests-mock-1.2.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
new file mode 100644
index 00..b2a20c177f
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_test() {
+   rm -rf .testrepository || die "couldn't remove '.testrepository' under 
${EPYTHON}"
+
+   testr init || die "testr init failed under ${EPYTHON}"
+   testr run || die "testr run failed under ${EPYTHON}"
+}



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

2016-11-06 Thread Matt Thode
commit: bb26d385a374404102a1182f1b2e71ad698166e0
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Nov  6 19:48:37 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Nov  6 21:33:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb26d385

dev-python/requests-mock: 1.0.0 stable amd64 and x86

Package-Manager: portage-2.3.0

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

diff --git a/dev-python/requests-mock/requests-mock-1.0.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
index 18c910b..0db6fc2 100644
--- a/dev-python/requests-mock/requests-mock-1.0.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 DEPEND="



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

2016-06-29 Thread Patrick Lauer
commit: 36303497dafe59fc6c2939790c364105e93bfc4a
Author: Patrick Lauer  gentoo  org>
AuthorDate: Wed Jun 29 18:18:13 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Wed Jun 29 18:18:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36303497

dev-python/requests-mock: Bump

Package-Manager: portage-2.3.0

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

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 518ed05..66cf4c2 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,3 +1,4 @@
 DIST requests-mock-0.5.1.tar.gz 29729 SHA256 
b1b1b864e633418c77f33d333b0fd88cb6123bfb816706b236f7b1db99795056 SHA512 
79a270501cfee425af81b5d0ab7fcbebe08eca0ff8f9f57dab769bec7918f44ab7ca4a4b683ae195a5c8c6020d4730cf0c1482f6ff21cbbbea700491cc455903
 WHIRLPOOL 
87d2591e70dedd8a5bfae485dc0df411e5ed9ad1442f7e5f2d62d134c8e536e09b30f3b8c0f92def4b5c5f5df56fdd21eef9d4fde659ca5605bd17181f593021
 DIST requests-mock-0.6.0.tar.gz 31645 SHA256 
a1f10ee53fef6aac6ca54cfb8fdb1b7ca6da59d68ea1a8c21ac513211842ad3e SHA512 
5c23c1fdd3746f2b3b49508b7f05abb365e0608a32b6ead5d0ef18203bf75ab642626229e96b2e8826216d0f090f1bbd41bdfa78dd56f305a996a57f1e16179e
 WHIRLPOOL 
65af690e429a09bc4358f1b0c387e3fff3faaf962cacd247c11c01ba84f79b3fe06b0dd801e9dab829550a5a340e562aa3ceb6a61e4307c14b5a16fdba8a1a7a
 DIST requests-mock-0.7.0.tar.gz 34722 SHA256 
ee2816992d4505596ec3c98c7b4ab57475539ac037d08dd3a81370b1e3cdd568 SHA512 
c2046d9291b3c852b986423dd3407c2486476417934aa2c21365fa94d821ebef7e01e90c61c6ab35d186654d3468e4a72505bb157cfb01f287b6d5c0041dc7f8
 WHIRLPOOL 
ff4494eb30d5028aeaf7db1811130ddd3f89c5a0a57c55836fb35aa1ba598c5cb44f95879daa8be3b0aac8f57eb2649349243d5532cbd0ef31adb24c88321f27
+DIST requests-mock-1.0.0.tar.gz 34715 SHA256 
c6c659e50a312eb5cf0191ae33d6b232909e4a248551e79cef11c3c93497923d SHA512 
cfa4c208b1a23b7d86d761dabed564d085591c281cae2981dca5103d6e84c11a7a78a80f278e6ec868f087dcb8eda145cbd93efd2a5c7afdff8d00990b66af39
 WHIRLPOOL 
a2829e0867529f975f4c2e3567daa397b598235b5478725443c43b266147e3ef26b0188beb5b801f2ba95037fd930ce843a3493c8bf76ad00c591a0d4b8e487c

diff --git a/dev-python/requests-mock/requests-mock-1.0.0.ebuild 
b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
new file mode 100644
index 000..7c3512b
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-1.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_test() {
+   rm -rf .testrepository || die "couldn't remove '.testrepository' under 
${EPYTHON}"
+
+   testr init || die "testr init failed under ${EPYTHON}"
+   testr run || die "testr run failed under ${EPYTHON}"
+}



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

2016-02-17 Thread Justin Lecher
commit: 92dbfa55746fc69b6b1be2c990a1ec316027996e
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Feb 17 08:48:36 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Feb 17 08:57:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92dbfa55

dev-python/requests-mock: Version Bump

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

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

diff --git a/dev-python/requests-mock/Manifest 
b/dev-python/requests-mock/Manifest
index 38adcd5..518ed05 100644
--- a/dev-python/requests-mock/Manifest
+++ b/dev-python/requests-mock/Manifest
@@ -1,2 +1,3 @@
 DIST requests-mock-0.5.1.tar.gz 29729 SHA256 
b1b1b864e633418c77f33d333b0fd88cb6123bfb816706b236f7b1db99795056 SHA512 
79a270501cfee425af81b5d0ab7fcbebe08eca0ff8f9f57dab769bec7918f44ab7ca4a4b683ae195a5c8c6020d4730cf0c1482f6ff21cbbbea700491cc455903
 WHIRLPOOL 
87d2591e70dedd8a5bfae485dc0df411e5ed9ad1442f7e5f2d62d134c8e536e09b30f3b8c0f92def4b5c5f5df56fdd21eef9d4fde659ca5605bd17181f593021
 DIST requests-mock-0.6.0.tar.gz 31645 SHA256 
a1f10ee53fef6aac6ca54cfb8fdb1b7ca6da59d68ea1a8c21ac513211842ad3e SHA512 
5c23c1fdd3746f2b3b49508b7f05abb365e0608a32b6ead5d0ef18203bf75ab642626229e96b2e8826216d0f090f1bbd41bdfa78dd56f305a996a57f1e16179e
 WHIRLPOOL 
65af690e429a09bc4358f1b0c387e3fff3faaf962cacd247c11c01ba84f79b3fe06b0dd801e9dab829550a5a340e562aa3ceb6a61e4307c14b5a16fdba8a1a7a
+DIST requests-mock-0.7.0.tar.gz 34722 SHA256 
ee2816992d4505596ec3c98c7b4ab57475539ac037d08dd3a81370b1e3cdd568 SHA512 
c2046d9291b3c852b986423dd3407c2486476417934aa2c21365fa94d821ebef7e01e90c61c6ab35d186654d3468e4a72505bb157cfb01f287b6d5c0041dc7f8
 WHIRLPOOL 
ff4494eb30d5028aeaf7db1811130ddd3f89c5a0a57c55836fb35aa1ba598c5cb44f95879daa8be3b0aac8f57eb2649349243d5532cbd0ef31adb24c88321f27

diff --git a/dev-python/requests-mock/requests-mock-0.7.0.ebuild 
b/dev-python/requests-mock/requests-mock-0.7.0.ebuild
new file mode 100644
index 000..7c3512b
--- /dev/null
+++ b/dev-python/requests-mock/requests-mock-0.7.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Mock out responses from the requests package"
+HOMEPAGE="https://github.com/jamielennox/requests-mock";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/pbr-0.8[${PYTHON_USEDEP}]
+   test? (
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/mock[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   dev-python/testtools[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="
+   >=dev-python/requests-1.1[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_test() {
+   rm -rf .testrepository || die "couldn't remove '.testrepository' under 
${EPYTHON}"
+
+   testr init || die "testr init failed under ${EPYTHON}"
+   testr run || die "testr run failed under ${EPYTHON}"
+}



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

2016-02-09 Thread Justin Lecher
commit: b8d00e33812c8e4f98eb596f73c4e5f3b3657241
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Feb  9 08:44:33 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Feb  9 09:33:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d00e33

dev-python/requests-mock: Add python3.5 support

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/requests-mock/requests-mock-0.6.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/requests-mock/requests-mock-0.6.0.ebuild 
b/dev-python/requests-mock/requests-mock-0.6.0.ebuild
index 1cdcca9..0d5213c 100644
--- a/dev-python/requests-mock/requests-mock-0.6.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-0.6.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
 
 inherit distutils-r1
 



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

2015-11-03 Thread Matt Thode
commit: 3659a0bdca5144a1edd1c65dea9184bab8ba6bbe
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Nov  3 19:30:23 2015 +
Commit: Matt Thode  gentoo  org>
CommitDate: Tue Nov  3 19:31:46 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3659a0bd

dev-python/requests-mock: doesn't actually have/need a pbr cap

Package-Manager: portage-2.2.20.1

 dev-python/requests-mock/requests-mock-0.6.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/requests-mock/requests-mock-0.6.0.ebuild 
b/dev-python/requests-mock/requests-mock-0.6.0.ebuild
index b00b333..1cdcca9 100644
--- a/dev-python/requests-mock/requests-mock-0.6.0.ebuild
+++ b/dev-python/requests-mock/requests-mock-0.6.0.ebuild
@@ -19,7 +19,6 @@ IUSE="test"
 DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
-