Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-httpx/
Date: Mon, 01 Mar 2021 08:25:07
Message-Id: 1614584728.f339ebf215e5a2a72931063ea0507f5697e39e0d.mgorny@gentoo
1 commit: f339ebf215e5a2a72931063ea0507f5697e39e0d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 1 07:45:28 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 07:45:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f339ebf2
7
8 dev-python/pytest-httpx: Bump to 0.11.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-httpx/Manifest | 1 +
13 dev-python/pytest-httpx/pytest-httpx-0.11.0.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest
17 index 9a409c04b65..7c03bb20d13 100644
18 --- a/dev-python/pytest-httpx/Manifest
19 +++ b/dev-python/pytest-httpx/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-httpx-0.10.1.tar.gz 21117 BLAKE2B 372ecc8a132f28bf7016ed466c4f6974f51c3c2ab9decd68fd8e3c7a810030db9f169f5ab28662cfed006297ea200d3a157ba220f2156b44be03fbf49edc5415 SHA512 f306e57408924b653d3ab4dd28f266b066f202b98440b31769940bdab0be98d5c48817e22d68e2dcdf82426e26334242591d0ae630aa71812f81dd7866b81e0f
22 +DIST pytest-httpx-0.11.0.tar.gz 21178 BLAKE2B c58c303868fd1b1926a58db28eeda3c5d74cd38f68aad3543cb0296f4dcac59d9fb983287b432219f70bd2003c2a0e32d85ed343b1c279d576ef100b129c7f25 SHA512 eb798d31c710ab50d3176c569aba8ae2131a17f415fe87830fc71aa941d638bdbda4296032a07fce98d9a43a57f250cea380f8c409660eb1f13862094b6fcbb6
23
24 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.11.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.11.0.ebuild
25 new file mode 100644
26 index 00000000000..6b38ce96726
27 --- /dev/null
28 +++ b/dev-python/pytest-httpx/pytest-httpx-0.11.0.ebuild
29 @@ -0,0 +1,30 @@
30 +# Copyright 2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
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.17*[${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