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

Commit

Permalink
db-move: moved httpbin from [community-testing] to [community] (any)
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-community/svn@1069444 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
foutrelis authored and svntogit committed Dec 12, 2021
1 parent f59ab99 commit 674df0c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 84 deletions.
14 changes: 9 additions & 5 deletions repos/community-any/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=httpbin
pkgver=0.7.0
pkgrel=6
pkgrel=8
pkgdesc="HTTP Request and Response Service"
arch=('any')
url="https://github.com/requests/httpbin"
Expand All @@ -12,13 +12,17 @@ depends=('python-flask' 'python-markupsafe' 'python-itsdangerous' 'python-six' '
'python-blinker')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/httpbin/archive/v$pkgver.tar.gz"
httpbin-werkzeug-0.15.1.patch)
httpbin-werkzeug-0.15.1.patch
httpbin-werkzeug-2.0.0.patch)
sha512sums=('faec48a0a2ac8800293b10281966a28195884ad2f69f0f28f1b8c8e1a7bfd8933ebbc9b541c80cdc19e1031a8ba9383afe8e372b9044436cb307dd1e8eddaae7'
'3c058ca5f685e281f7d60216de844e58727e7677766660df410ec57d8c985485cf611ec64eb71a234bdd49b4fdf66be6138d4bb7258d9e6d0346d6c6ee9f3cdf')
'3c058ca5f685e281f7d60216de844e58727e7677766660df410ec57d8c985485cf611ec64eb71a234bdd49b4fdf66be6138d4bb7258d9e6d0346d6c6ee9f3cdf'
'25aced8dc34ed517ba7304d86d7e32fc49282262512962edf743265c78f3c5a2e3324902ec76ea121c11a9af0219d8c4e506ce301ad625d9e72f07491b8cbe49')

prepare() {
patch -d httpbin-$pkgver -p1 -i ../httpbin-werkzeug-0.15.1.patch
sed -i 's/brotlipy/Brotli/g' httpbin-$pkgver/setup.py
cd httpbin-$pkgver
patch -p1 -i ../httpbin-werkzeug-0.15.1.patch
patch -p1 -i ../httpbin-werkzeug-2.0.0.patch
sed -i 's/brotlipy/Brotli/g' setup.py
}

build() {
Expand Down
45 changes: 0 additions & 45 deletions repos/community-testing-any/PKGBUILD

This file was deleted.

34 changes: 0 additions & 34 deletions repos/community-testing-any/httpbin-werkzeug-0.15.1.patch

This file was deleted.

0 comments on commit 674df0c

Please sign in to comment.