[arch-commits] Commit in httpbin/repos (2 files)

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 16:03:43
  Author: felixonmars
Revision: 520422

archrelease: copy trunk to community-staging-any

Added:
  httpbin/repos/community-staging-any/
  httpbin/repos/community-staging-any/PKGBUILD
(from rev 520420, httpbin/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: httpbin/repos/community-staging-any/PKGBUILD (from rev 520420, 
httpbin/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-26 16:03:43 UTC (rev 520422)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+
+pkgbase=httpbin
+pkgname=(httpbin python2-httpbin)
+pkgver=0.7.0
+pkgrel=3
+pkgdesc="HTTP Request and Response Service"
+arch=('any')
+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' 
'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-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/httpbin-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py build
+
+  cd "$srcdir"/httpbin-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/httpbin-$pkgver
+  python test_httpbin.py
+
+  cd "$srcdir"/httpbin-$pkgver-py2
+  python2 test_httpbin.py
+}
+
+package_httpbin() {
+  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-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-httpbin() {
+  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-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in httpbin/repos (2 files)

2018-07-17 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 18, 2018 @ 03:39:29
  Author: foutrelis
Revision: 361607

archrelease: copy trunk to community-staging-any

Added:
  httpbin/repos/community-staging-any/
  httpbin/repos/community-staging-any/PKGBUILD
(from rev 361606, httpbin/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: httpbin/repos/community-staging-any/PKGBUILD (from rev 361606, 
httpbin/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-18 03:39:29 UTC (rev 361607)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=httpbin
+pkgname=(httpbin python2-httpbin)
+pkgver=0.7.0
+pkgrel=2
+pkgdesc="HTTP Request and Response Service"
+arch=('any')
+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' 
'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-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/httpbin-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py build
+
+  cd "$srcdir"/httpbin-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/httpbin-$pkgver
+  python test_httpbin.py
+
+  cd "$srcdir"/httpbin-$pkgver-py2
+  python2 test_httpbin.py
+}
+
+package_httpbin() {
+  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-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-httpbin() {
+  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-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in httpbin/repos (2 files)

2016-12-24 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 02:27:10
  Author: felixonmars
Revision: 201790

archrelease: copy trunk to community-staging-any

Added:
  httpbin/repos/community-staging-any/
  httpbin/repos/community-staging-any/PKGBUILD
(from rev 201789, httpbin/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: httpbin/repos/community-staging-any/PKGBUILD (from rev 201789, 
httpbin/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-25 02:27:10 UTC (rev 201790)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=httpbin
+pkgname=(httpbin python2-httpbin)
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="HTTP Request and Response Service"
+arch=('any')
+url="https://github.com/Runscope/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')
+
+prepare() {
+  cp -a httpbin{,-py2}
+}
+
+build() {
+  cd "$srcdir"/httpbin
+  LC_CTYPE=en_US.UTF-8 python setup.py build
+
+  cd "$srcdir"/httpbin-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/httpbin
+  python test_httpbin.py
+
+  cd "$srcdir"/httpbin-py2
+  python2 test_httpbin.py
+}
+
+package_httpbin() {
+  depends=('python-flask' 'python-markupsafe' 'python-itsdangerous' 
'python-six' 'python-decorator')
+
+  cd httpbin
+  LC_CTYPE=en_US.UTF-8 python setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-httpbin() {
+  depends=('python2-flask' 'python2-markupsafe' 'python2-itsdangerous' 
'python2-six' 'python2-decorator')
+
+  cd httpbin-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: