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-httpbin/
Date: Tue, 28 Dec 2021 11:11:00
Message-Id: 1640689653.94f8b7f6c0b07277f0052e80f73ce801a8e613a8.mgorny@gentoo
1 commit: 94f8b7f6c0b07277f0052e80f73ce801a8e613a8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 28 11:07:33 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 11:07:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f8b7f6
7
8 dev-python/pytest-httpbin: Bump to 1.0.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-httpbin/Manifest | 1 +
13 .../pytest-httpbin/pytest-httpbin-1.0.1.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest
17 index 43084e956131..7e7f2a27648f 100644
18 --- a/dev-python/pytest-httpbin/Manifest
19 +++ b/dev-python/pytest-httpbin/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-httpbin-1.0.0.gh.tar.gz 17813 BLAKE2B b7e0ad9f131e4d236161b66b1d6d8e6087285a6d52df1accb044b30bcdac6c5f3350e9dbfe1cf33ab64b6d6aac6b463de81c31fd12dd950426b6ed8ef4eaf289 SHA512 2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661
22 +DIST pytest-httpbin-1.0.1.gh.tar.gz 18036 BLAKE2B 1277118a83d059f23c06758d6a5e83b78f09ba3bd44458f18aebdad06b7266a3deb9ee00f10732c552fddb42673dfe3f5862195f44ce48a224961b5df81dcae7 SHA512 3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d
23
24 diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild
25 new file mode 100644
26 index 000000000000..1413b57ca6d2
27 --- /dev/null
28 +++ b/dev-python/pytest-httpbin/pytest-httpbin-1.0.1.ebuild
29 @@ -0,0 +1,30 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Easily test your HTTP library against a local copy of httpbin"
39 +HOMEPAGE="https://github.com/kevin1024/pytest-httpbin
40 + https://pypi.org/project/pytest-httpbin/"
41 +SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
46 +
47 +RDEPEND="
48 + dev-python/httpbin[${PYTHON_USEDEP}]
49 + dev-python/six[${PYTHON_USEDEP}]
50 +"
51 +BDEPEND="
52 + test? ( dev-python/requests[${PYTHON_USEDEP}] )
53 +"
54 +
55 +PATCHES=(
56 + "${FILESDIR}"/pytest-httpbin-1.0.0-pypy3-hang.patch
57 +)
58 +
59 +distutils_enable_tests pytest