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/httpbin/
Date: Sat, 26 Mar 2022 18:14:58
Message-Id: 1648318427.4b8984cbbf7832d41a0ec78981aacf7424c34f03.arthurzam@gentoo
1 commit: 4b8984cbbf7832d41a0ec78981aacf7424c34f03
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 18:13:47 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 18:13:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8984cb
7
8 dev-python/httpbin: drop 0.7.0-r3
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/httpbin/httpbin-0.7.0-r3.ebuild | 49 ------------------------------
13 1 file changed, 49 deletions(-)
14
15 diff --git a/dev-python/httpbin/httpbin-0.7.0-r3.ebuild b/dev-python/httpbin/httpbin-0.7.0-r3.ebuild
16 deleted file mode 100644
17 index 99f8b0295ddd..000000000000
18 --- a/dev-python/httpbin/httpbin-0.7.0-r3.ebuild
19 +++ /dev/null
20 @@ -1,49 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
27 -
28 -inherit distutils-r1
29 -
30 -DESCRIPTION="HTTP Request and Response Service"
31 -HOMEPAGE="https://github.com/postmanlabs/httpbin
32 - https://pypi.org/project/httpbin/"
33 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
34 -
35 -LICENSE="MIT"
36 -SLOT="0"
37 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
38 -
39 -RDEPEND="
40 - dev-python/brotlicffi[${PYTHON_USEDEP}]
41 - dev-python/decorator[${PYTHON_USEDEP}]
42 - dev-python/flask[${PYTHON_USEDEP}]
43 - dev-python/itsdangerous[${PYTHON_USEDEP}]
44 - dev-python/markupsafe[${PYTHON_USEDEP}]
45 - dev-python/six[${PYTHON_USEDEP}]
46 - >=dev-python/werkzeug-0.14.1[${PYTHON_USEDEP}]"
47 -
48 -PATCHES=(
49 - # do not import raven if it's not going to be used
50 - # (upstream removed it completely in git anyway)
51 - "${FILESDIR}"/httpbin-0.7.0-optional-raven.patch
52 - # fix tests with new versions of werkzeug
53 - "${FILESDIR}"/httpbin-0.7.0-test-werkzeug.patch
54 - # use brotlicffi instead of brotlipy
55 - "${FILESDIR}"/httpbin-0.7.0-brotlicffi.patch
56 -)
57 -
58 -distutils_enable_tests unittest
59 -
60 -src_prepare() {
61 - # a new version of flask or whatever converts relative redirects
62 - # to absolute; this package is dead anyway, so just skip
63 - # the relevant tests
64 - sed -e 's:test_redirect:_&:' \
65 - -e 's:test_relative:_&:' \
66 - -i test_httpbin.py || die
67 -
68 - distutils-r1_src_prepare
69 -}