Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpx/
Date: Wed, 26 Jan 2022 18:21:02
Message-Id: 1643221227.d6d247e8e3a54d5fdc8b92ec89c6291caeb4b539.arthurzam@gentoo
1 commit: d6d247e8e3a54d5fdc8b92ec89c6291caeb4b539
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 26 17:47:42 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 26 18:20:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d247e8
7
8 dev-python/pytest-httpx: add 0.19.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pytest-httpx/Manifest | 1 +
13 dev-python/pytest-httpx/pytest-httpx-0.19.0.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest
17 index 7e0bc5b8f108..b8d5b4b1826f 100644
18 --- a/dev-python/pytest-httpx/Manifest
19 +++ b/dev-python/pytest-httpx/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pytest-httpx-0.17.3.tar.gz 23737 BLAKE2B 1f335542c1d6940d68b023682df6a1fabe93e8e21b70e113830bc4895481fe1cbf074490b176ecd91f595df960790f7e305c3809af3ba5039b96c8748b40ee40 SHA512 b3c2dc8c5015f44a511659b51843cb9cf8ada163ebd7fe4ccb50438d6e191fdc84bb84f38fcd0c27dbfe0592314da0df8d319caecad32f37e3a30de40b496299
22 DIST pytest-httpx-0.18.0.gh.tar.gz 22939 BLAKE2B a55923e63ad47ebd6ef05eafdadcec4caabab1341ab5f70e68357bc44cab53006a38b0d07f9540007ac46686499fd7355610a22a82b075a1e674d1fa3250efe9 SHA512 a7f24eefb8ba371e8c86526dd63e5ec7a6fa2e7a122643c8907a3da3b9a17a06e99416c5dc927f42320aa88fc213d5a327f53ec92e345853d5350902801fa1bc
23 +DIST pytest-httpx-0.19.0.gh.tar.gz 22971 BLAKE2B e62dbd043ff727d6b91d82963514d62f23766ad69380675334b6a429c11f00e2062cd0cc9dedce662c5ec13ff42f3eb9bb2620d0f021bfe9b5f4ad7ae7694d28 SHA512 a3a296445894cb8f68a8ce367b5e3e399471be45c6fa1d5fa4957910b45af244393957f49b5fb0ec2c0a0e8c507e63d572a0fa672430fe030b2529c2fefa6911
24
25 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.19.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.19.0.ebuild
26 new file mode 100644
27 index 000000000000..f33c4f734d50
28 --- /dev/null
29 +++ b/dev-python/pytest-httpx/pytest-httpx-0.19.0.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +MY_PN="${PN/-/_}"
41 +DESCRIPTION="Send responses to HTTPX using pytest"
42 +HOMEPAGE="https://colin-b.github.io/pytest_httpx/"
43 +SRC_URI="
44 + https://github.com/Colin-b/${MY_PN}/archive/v${PV}.tar.gz
45 + -> ${P}.gh.tar.gz
46 +"
47 +S="${WORKDIR}/${MY_PN}-${PV}"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND="
54 + =dev-python/httpx-0.22*[${PYTHON_USEDEP}]
55 + =dev-python/pytest-6*[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + test? (
59 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +distutils_enable_tests pytest