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