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: Thu, 23 Dec 2021 18:04:07
Message-Id: 1640282634.1a82f271f4a5f1920546dd61b99b73b7296a1e11.arthurzam@gentoo
1 commit: 1a82f271f4a5f1920546dd61b99b73b7296a1e11
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 23 17:55:13 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 23 18:03:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a82f271
7
8 dev-python/pytest-httpx: add 0.17.2
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.17.2.ebuild | 29 ++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest
17 index 398a8f1e759e..c2365991ac3d 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.13.0.tar.gz 21515 BLAKE2B 691ce45dd2b27c8f47724e3356ba96e62a0d6a7ce7d3feea68295a873c12f9a3df00d5b25aad7ef8a1154e887077ae6f6c1b12f3685a0669534a0d0ee8aae68c SHA512 514d9acacdfd60d13b5ce2c5ebe46d0e4d16c1b06fd359b0b9515ae2fa9091296537f369882a78bdfad48e9a0aad0b2f8c172c2e54f4ae9e23ba03220c7c17fb
22 DIST pytest-httpx-0.17.1.tar.gz 23310 BLAKE2B 3b26a50380916a556657a02bc4d44ceb523261f14404eaf3461dae8adb99e913e820c55942bc200b6d23f85447bf74e37c8cbfea2c934489e5d91a56f47b186a SHA512 8fa9447bf50f9bf46ad781abbf9e5d46609e2796a6ec26d39b15c1cda99fc936af6b540c27f9cbe4f40948f041ceedd074c312815fe5ea6b023da20112c83f69
23 +DIST pytest-httpx-0.17.2.tar.gz 23385 BLAKE2B 17a00a7c733bca7faf8e05914c0744288fe8555bc9d8f94d45ce0162b86417fcf608d339d9d4a24514e2897db879a6d13c41f665a8cf5d3c1ac1769c246a582e SHA512 aaeded94d204d53bf96f802668449361c291d4b0accbe614d8c80d609482f6b10945afb255b81d4199187f3c50cb98d35d5acfd75423283907223ca924b85444
24
25 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.17.2.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.17.2.ebuild
26 new file mode 100644
27 index 000000000000..d3b09a2a7442
28 --- /dev/null
29 +++ b/dev-python/pytest-httpx/pytest-httpx-0.17.2.ebuild
30 @@ -0,0 +1,29 @@
31 +# Copyright 2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +MY_PN="${PN/-/_}"
40 +DESCRIPTION="Send responses to HTTPX using pytest"
41 +HOMEPAGE="https://colin-b.github.io/pytest_httpx/"
42 +SRC_URI="https://github.com/Colin-b/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}/${MY_PN}-${PV}"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +RDEPEND="
50 + =dev-python/httpx-0.21*[${PYTHON_USEDEP}]
51 + =dev-python/pytest-6*[${PYTHON_USEDEP}]
52 +"
53 +BDEPEND="
54 + test? (
55 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +distutils_enable_tests --install pytest