1 |
commit: cde6996b2a49ab208fc7e498be1710bf8626cfd1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 09:33:37 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 09:38:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde6996b |
7 |
|
8 |
dev-python/httpbin: Strip raven from requirements too |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch | 2 +- |
13 |
dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch | 12 ++++++++++++ |
14 |
.../{httpbin-0.7.0-r2.ebuild => httpbin-0.7.0-r3.ebuild} | 2 +- |
15 |
3 files changed, 14 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch b/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch |
18 |
index f74474a70aa1..8031ad72de5b 100644 |
19 |
--- a/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch |
20 |
+++ b/dev-python/httpbin/files/httpbin-0.7.0-brotlicffi.patch |
21 |
@@ -35,7 +35,7 @@ index 7f9956b..8e17ef3 100644 |
22 |
install_requires=[ |
23 |
- 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', |
24 |
+ 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlicffi', |
25 |
- 'raven[flask]', 'werkzeug>=0.14.1' |
26 |
+ 'werkzeug>=0.14.1' |
27 |
], |
28 |
) |
29 |
-- |
30 |
|
31 |
diff --git a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch b/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch |
32 |
index 8602ed7641be..5d626768bd27 100644 |
33 |
--- a/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch |
34 |
+++ b/dev-python/httpbin/files/httpbin-0.7.0-optional-raven.patch |
35 |
@@ -17,3 +17,15 @@ diff -dupr a/httpbin/core.py b/httpbin/core.py |
36 |
sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) |
37 |
|
38 |
# Set up Bugsnag exception tracking, if desired. To use Bugsnag, install the |
39 |
+diff --git a/setup.py b/setup.py |
40 |
+index 7f9956b..3cab2ae 100644 |
41 |
+--- a/setup.py |
42 |
++++ b/setup.py |
43 |
+@@ -35,6 +35,6 @@ setup( |
44 |
+ include_package_data = True, # include files listed in MANIFEST.in |
45 |
+ install_requires=[ |
46 |
+ 'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy', |
47 |
+- 'raven[flask]', 'werkzeug>=0.14.1' |
48 |
++ 'werkzeug>=0.14.1' |
49 |
+ ], |
50 |
+ ) |
51 |
|
52 |
diff --git a/dev-python/httpbin/httpbin-0.7.0-r2.ebuild b/dev-python/httpbin/httpbin-0.7.0-r3.ebuild |
53 |
similarity index 97% |
54 |
rename from dev-python/httpbin/httpbin-0.7.0-r2.ebuild |
55 |
rename to dev-python/httpbin/httpbin-0.7.0-r3.ebuild |
56 |
index 8c04217f15d8..99f8b0295ddd 100644 |
57 |
--- a/dev-python/httpbin/httpbin-0.7.0-r2.ebuild |
58 |
+++ b/dev-python/httpbin/httpbin-0.7.0-r3.ebuild |
59 |
@@ -1,4 +1,4 @@ |
60 |
-# Copyright 1999-2021 Gentoo Authors |
61 |
+# Copyright 1999-2022 Gentoo Authors |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
|
64 |
EAPI=7 |