[arch-commits] Commit in httpbin/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 23 22:05:04 UTC 2018


    Date: Wednesday, May 23, 2018 @ 22:05:03
  Author: felixonmars
Revision: 328487

upgpkg: httpbin 0.7.0-1

Modified:
  httpbin/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-23 22:03:49 UTC (rev 328486)
+++ PKGBUILD	2018-05-23 22:05:03 UTC (rev 328487)
@@ -3,42 +3,47 @@
 
 pkgbase=httpbin
 pkgname=(httpbin python2-httpbin)
-pkgver=0.5.0
-pkgrel=2
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="HTTP Request and Response Service"
 arch=('any')
-url="https://github.com/Runscope/httpbin"
+url="https://github.com/requests/httpbin"
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask'
              'python-markupsafe' 'python2-markupsafe' 'python-itsdangerous' 'python2-itsdangerous'
-             'python-six' 'python2-six' 'python-decorator' 'python2-decorator' 'git')
-source=("git+https://github.com/Runscope/httpbin.git#tag=v$pkgver")
-sha256sums=('SKIP')
+             'python-six' 'python2-six' 'python-decorator' 'python2-decorator' 'python-brotlipy'
+             'python2-brotlipy' 'python-raven' 'python2-raven' 'python-werkzeug'
+             'python2-werkzeug' 'python-gevent' 'python2-gevent' 'python-flasgger'
+             'python2-flasgger' 'python-blinker' 'python2-blinker')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/httpbin/archive/v$pkgver.tar.gz")
+sha512sums=('faec48a0a2ac8800293b10281966a28195884ad2f69f0f28f1b8c8e1a7bfd8933ebbc9b541c80cdc19e1031a8ba9383afe8e372b9044436cb307dd1e8eddaae7')
 
 prepare() {
-  cp -a httpbin{,-py2}
+  cp -a httpbin-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/httpbin
+  cd "$srcdir"/httpbin-$pkgver
   LC_CTYPE=en_US.UTF-8 python setup.py build
 
-  cd "$srcdir"/httpbin-py2
+  cd "$srcdir"/httpbin-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/httpbin
+  cd "$srcdir"/httpbin-$pkgver
   python test_httpbin.py
 
-  cd "$srcdir"/httpbin-py2
+  cd "$srcdir"/httpbin-$pkgver-py2
   python2 test_httpbin.py
 }
 
 package_httpbin() {
-  depends=('python-flask' 'python-markupsafe' 'python-itsdangerous' 'python-six' 'python-decorator')
+  depends=('python-flask' 'python-markupsafe' 'python-itsdangerous' 'python-six' 'python-decorator'
+           'python-brotlipy' 'python-raven' 'python-werkzeug' 'python-gevent' 'python-flasgger'
+           'python-blinker')
 
-  cd httpbin
+  cd httpbin-$pkgver
   LC_CTYPE=en_US.UTF-8 python setup.py install -O1 --root="$pkgdir"
 
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
@@ -45,9 +50,11 @@
 }
 
 package_python2-httpbin() {
-  depends=('python2-flask' 'python2-markupsafe' 'python2-itsdangerous' 'python2-six' 'python2-decorator')
+  depends=('python2-flask' 'python2-markupsafe' 'python2-itsdangerous' 'python2-six'
+           'python2-decorator' 'python2-brotlipy' 'python2-raven' 'python2-werkzeug'
+           'python2-gevent' 'python2-flasgger' 'python2-blinker')
 
-  cd httpbin-py2
+  cd httpbin-$pkgver-py2
   python2 setup.py install -O1 --root="$pkgdir"
 
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE



More information about the arch-commits mailing list