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

Felix Yan fyan at archlinux.org
Thu Apr 7 07:29:41 UTC 2016


    Date: Thursday, April 7, 2016 @ 09:29:41
  Author: fyan
Revision: 169623

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-07 07:29:23 UTC (rev 169622)
+++ PKGBUILD	2016-04-07 07:29:41 UTC (rev 169623)
@@ -1,42 +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=3
-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 -e 's/lxml>=3.5.0, <3.6/lxml>=3.5.0, <3.7/' \
-      -e 's/h2>=2.1.0, <2.2/h2>=2.1.0, <2.3/' \
-      -i 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
-}

Copied: mitmproxy/repos/community-any/PKGBUILD (from rev 169622, mitmproxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-07 07:29:41 UTC (rev 169623)
@@ -0,0 +1,43 @@
+# $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=4
+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() {
+  # Let's remove all the upper bounds
+  sed -e 's/, <[0-9=.]*//' \
+      -e '/netlib/s/.*/"netlib>={}".format(version.MINORVERSION),/' \
+      -i 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