[arch-commits] Commit in mitmproxy/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Mar 18 04:21:57 UTC 2016


    Date: Friday, March 18, 2016 @ 05:21:57
  Author: fyan
Revision: 167111

archrelease: copy trunk to community-any

Added:
  mitmproxy/repos/community-any/PKGBUILD
    (from rev 167110, mitmproxy/trunk/PKGBUILD)
Deleted:
  mitmproxy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-18 04:21:39 UTC (rev 167110)
+++ PKGBUILD	2016-03-18 04:21:57 UTC (rev 167111)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon 'ALSimon' Gilliot <simon at gilliot.fr>
-# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
-
-pkgname=mitmproxy
-pkgver=0.16
-pkgrel=1
-pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
-arch=('any')
-url="http://mitmproxy.org/"
-license=('GPL')
-depends=('python2-netlib' 'python2-h2' 'python2-tornado' 'python2-configargparse'
-         'python2-pyperclip' 'python2-blinker' 'python2-pyparsing' 'python2-html2text'
-         'python2-construct' 'python2-six' 'python2-pillow' 'python2-watchdog'
-         'python2-click' 'python2-urwid' 'python2-lxml' 'python2-setuptools')
-optdepends=('python2-pyamf: Contentviews - Decodes AMF files'
-            'python2-protobuf: Contentviews - Extended content decoding'
-            'python2-cssutils: Contentviews - Beautifies CSS files')
-makedepends=('git')
-checkdepends=('python2-pytest-runner' 'pathod' 'python2-mock')
-provides=('python2-libmproxy')
-source=("git+https://github.com/mitmproxy/mitmproxy.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-check() {
-  cd "$srcdir/$pkgname"
-  # http2 tests currently fail
-  # https://github.com/mitmproxy/mitmproxy/issues/936
-  python2 setup.py ptr || warning "Tests failed"
-}
- 
-package() {
-  cd "$srcdir/$pkgname"
-  python2 setup.py install --root="$pkgdir" -O1
-}

Copied: mitmproxy/repos/community-any/PKGBUILD (from rev 167110, mitmproxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-03-18 04:21:57 UTC (rev 167111)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon 'ALSimon' Gilliot <simon at gilliot.fr>
+# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
+
+pkgname=mitmproxy
+pkgver=0.16
+pkgrel=2
+pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
+arch=('any')
+url="http://mitmproxy.org/"
+license=('GPL')
+depends=('python2-netlib' 'python2-h2' 'python2-tornado' 'python2-configargparse'
+         'python2-pyperclip' 'python2-blinker' 'python2-pyparsing' 'python2-html2text'
+         'python2-construct' 'python2-six' 'python2-pillow' 'python2-watchdog'
+         'python2-click' 'python2-urwid' 'python2-lxml' 'python2-setuptools')
+optdepends=('python2-pyamf: Contentviews - Decodes AMF files'
+            'python2-protobuf: Contentviews - Extended content decoding'
+            'python2-cssutils: Contentviews - Beautifies CSS files')
+makedepends=('git')
+checkdepends=('python2-pytest-runner' 'pathod' 'python2-mock')
+provides=('python2-libmproxy')
+source=("git+https://github.com/mitmproxy/mitmproxy.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  sed -i 's/lxml>=3.5.0, <3.6/lxml>=3.5.0, <3.7/' mitmproxy/setup.py
+}
+
+check() {
+  cd "$srcdir/$pkgname"
+  # http2 tests currently fail
+  # https://github.com/mitmproxy/mitmproxy/issues/936
+  python2 setup.py ptr || warning "Tests failed"
+}
+ 
+package() {
+  cd "$srcdir/$pkgname"
+  python2 setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list