Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit ad5fd00

Browse files
felixonmarssvntogit
authored andcommitted
archrelease: copy trunk to community-any
git-svn-id: file:///srv/repos/svn-community/svn@1309109 9fca08f4-af9d-4005-b8df-a31f2cc04f65
1 parent 469eff1 commit ad5fd00

File tree

2 files changed

+56
-6
lines changed

2 files changed

+56
-6
lines changed

repos/community-any/PKGBUILD

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,31 @@
22

33
pkgname=httpbin
44
pkgver=0.7.0
5-
pkgrel=9
5+
pkgrel=10
66
pkgdesc="HTTP Request and Response Service"
77
arch=('any')
88
url="https://github.com/requests/httpbin"
99
license=('MIT')
10-
depends=('python-flask' 'python-markupsafe' 'python-itsdangerous' 'python-six' 'python-decorator'
11-
'python-brotli' 'python-raven' 'python-werkzeug' 'python-gevent' 'python-flasgger'
12-
'python-blinker')
10+
depends=('python-flask' 'python-markupsafe' 'python-decorator' 'python-itsdangerous' 'python-six'
11+
'python-brotli' 'python-werkzeug')
1312
makedepends=('python-setuptools')
1413
source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/httpbin/archive/v$pkgver.tar.gz"
1514
httpbin-werkzeug-0.15.1.patch
16-
httpbin-werkzeug-2.1.0.patch)
15+
httpbin-werkzeug-2.1.0.patch
16+
remove-raven.patch)
1717
sha512sums=('faec48a0a2ac8800293b10281966a28195884ad2f69f0f28f1b8c8e1a7bfd8933ebbc9b541c80cdc19e1031a8ba9383afe8e372b9044436cb307dd1e8eddaae7'
1818
'3c058ca5f685e281f7d60216de844e58727e7677766660df410ec57d8c985485cf611ec64eb71a234bdd49b4fdf66be6138d4bb7258d9e6d0346d6c6ee9f3cdf'
19-
'3d9ed7ab76dc0a33d69cf973e16be7358daa0af0a48d5ac24e0ad6ea8d73a68a796b4c8526ad764c0ed09997448f744f205b909261c32405ff166b359be1fb8b')
19+
'3d9ed7ab76dc0a33d69cf973e16be7358daa0af0a48d5ac24e0ad6ea8d73a68a796b4c8526ad764c0ed09997448f744f205b909261c32405ff166b359be1fb8b'
20+
'757db19d3ded4806423f3361b5d30c962d8a72a9b3bf6afb26770f3fc56c14554c8fc6aa1a6ce72328fd8c77c330c5d0d05478d345c287f07e22302ccf1ec8d3')
2021

2122
prepare() {
2223
cd httpbin-$pkgver
2324
patch -p1 -i ../httpbin-werkzeug-0.15.1.patch
2425
# patch taken from https://github.com/maximino-dev/httpbin/commit/5cc81ce87a3c447a127e4a1a707faf9f3b1c9b6b,
2526
# which is the first version of https://github.com/postmanlabs/httpbin/pull/674
2627
patch -p1 -i ../httpbin-werkzeug-2.1.0.patch
28+
# raven is unmaintained and httpbin removed it already, but no release was made
29+
patch -p1 -i ../remove-raven.patch
2730
sed -i 's/brotlipy/Brotli/g' setup.py
2831
}
2932

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
From e5433806757a09d58e48935c081db80170296ab5 Mon Sep 17 00:00:00 2001
2+
From: Kenneth Reitz <me@kennethreitz.org>
3+
Date: Wed, 9 May 2018 06:30:24 -0400
4+
Subject: [PATCH] remove raven
5+
6+
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
7+
---
8+
Pipfile | 1 -
9+
Pipfile.lock | 15 +--------------
10+
httpbin/core.py | 1 -
11+
3 files changed, 1 insertion(+), 16 deletions(-)
12+
13+
diff --git a/httpbin/core.py b/httpbin/core.py
14+
index e22fea50..14f2d06e 100644
15+
--- a/httpbin/core.py
16+
+++ b/httpbin/core.py
17+
@@ -21,7 +21,6 @@
18+
from werkzeug.http import http_date
19+
from werkzeug.wrappers import BaseResponse
20+
from werkzeug.http import parse_authorization_header
21+
-from raven.contrib.flask import Sentry
22+
23+
from . import filters
24+
from .helpers import get_headers, status_code, get_dict, get_request_range, check_basic_auth, check_digest_auth, \
25+
26+
From 3ed599e50915577e1fecb988a7dedb092e98c7c8 Mon Sep 17 00:00:00 2001
27+
From: Chih-Hsuan Yen <yan12125@gmail.com>
28+
Date: Mon, 13 May 2019 22:18:14 +0800
29+
Subject: [PATCH] Remove raven from setup.py
30+
31+
Usage of raven is removed in https://github.com/postmanlabs/httpbin/commit/e5433806757a09d58e48935c081db80170296ab5
32+
---
33+
setup.py | 2 +-
34+
1 file changed, 1 insertion(+), 1 deletion(-)
35+
36+
diff --git a/setup.py b/setup.py
37+
index afbef584..de46fc2a 100644
38+
--- a/setup.py
39+
+++ b/setup.py
40+
@@ -36,6 +36,6 @@
41+
include_package_data = True, # include files listed in MANIFEST.in
42+
install_requires=[
43+
'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy',
44+
- 'raven[flask]', 'werkzeug>=0.14.1'
45+
+ 'werkzeug>=0.14.1'
46+
],
47+
)

0 commit comments

Comments
 (0)