summaryrefslogtreecommitdiff
path: root/httpbin/Pkgfile
blob: 2177861e4162e294e71fd74f4e02836e9fe68f02 (plain)
    1 # Description: HTTP Request and Response Service
    2 # URL: https://github.com/requests/httpbin
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: brotli python3-blinker python3-decorator python3-flasgger python3-gevent python3-raven
    5 
    6 name=httpbin
    7 version=0.7.0
    8 release=1
    9 source=(https://github.com/requests/httpbin/archive/v$version/$name-$version.tar.gz
   10   httpbin-werkzeug-0.15.1.patch)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   patch -Np1 -i $SRC/httpbin-werkzeug-0.15.1.patch
   16   sed -i 's/brotlipy/Brotli/g' setup.py
   17   LC_CTYPE=en_US.UTF-8 /usr/bin/python3 setup.py build
   18   LC_CTYPE=en_US.UTF-8 /usr/bin/python3 setup.py install --prefix=/usr \
   19     --root=$PKG \
   20     -O1 \
   21     --skip-build
   22 }

Generated by cgit