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

Felix Yan felixonmars at archlinux.org
Thu Jan 12 03:50:57 UTC 2017


    Date: Thursday, January 12, 2017 @ 03:50:56
  Author: felixonmars
Revision: 206892

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-12 03:50:30 UTC (rev 206891)
+++ PKGBUILD	2017-01-12 03:50:56 UTC (rev 206892)
@@ -1,48 +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=1.0.1
-pkgrel=1
-pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
-arch=('any')
-url="http://mitmproxy.org/"
-license=('GPL')
-depends=('python-blinker' 'python-brotlipy' 'python-click' 'python-construct' 'python-cryptography'
-         'python-cssutils' 'python-flask' 'python-h2' 'python-html2text' 'python-hyperframe'
-         'python-jsbeautifier' 'python-pillow' 'python-passlib' 'python-pyasn1' 'python-pyopenssl'
-         'python-pyparsing' 'python-pyperclip' 'python-ruamel-yaml' 'python-sortedcontainers'
-         'python-requests' 'python-tornado' 'python-urwid' 'python-watchdog')
-optdepends=('python-protobuf: Contentviews - Extended content decoding')
-makedepends=('git')
-checkdepends=('python-beautifulsoup4' 'python-mock' 'python-pytest-runner' 'python-pytest-timeout'
-              'python-pytz')
-provides=('pathod')
-conflicts=('pathod')
-replaces=('pathod')
-source=("git+https://github.com/mitmproxy/mitmproxy.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
-  cd mitmproxy
-
-  # Let's remove all the upper bounds, use system certificate store and ssl.match_hostname
-  sed -e '/certifi/d' \
-      -e 's/, *<[0-9=.]*//' \
-      -i setup.py
-  sed -e '/import certifi/d' \
-      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
-      -i mitmproxy/net/tcp.py
-}
-
-check() {
-  cd mitmproxy
-  LC_CTYPE=en_US.UTF-8 python setup.py ptr
-}
- 
-package() {
-  cd mitmproxy
-  python setup.py install --root="$pkgdir" -O1
-}

Copied: mitmproxy/repos/community-any/PKGBUILD (from rev 206891, mitmproxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-12 03:50:56 UTC (rev 206892)
@@ -0,0 +1,48 @@
+# $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=1.0.2
+pkgrel=1
+pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
+arch=('any')
+url="http://mitmproxy.org/"
+license=('GPL')
+depends=('python-blinker' 'python-brotlipy' 'python-click' 'python-construct' 'python-cryptography'
+         'python-cssutils' 'python-flask' 'python-h2' 'python-html2text' 'python-hyperframe'
+         'python-jsbeautifier' 'python-pillow' 'python-passlib' 'python-pyasn1' 'python-pyopenssl'
+         'python-pyparsing' 'python-pyperclip' 'python-ruamel-yaml' 'python-sortedcontainers'
+         'python-requests' 'python-tornado' 'python-urwid' 'python-watchdog')
+optdepends=('python-protobuf: Contentviews - Extended content decoding')
+makedepends=('git')
+checkdepends=('python-beautifulsoup4' 'python-mock' 'python-pytest-runner' 'python-pytest-timeout'
+              'python-pytz')
+provides=('pathod')
+conflicts=('pathod')
+replaces=('pathod')
+source=("git+https://github.com/mitmproxy/mitmproxy.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd mitmproxy
+
+  # Let's remove all the upper bounds, use system certificate store and ssl.match_hostname
+  sed -e '/certifi/d' \
+      -e 's/, *<[0-9=.]*//' \
+      -i setup.py
+  sed -e '/import certifi/d' \
+      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
+      -i mitmproxy/net/tcp.py
+}
+
+check() {
+  cd mitmproxy
+  LC_CTYPE=en_US.UTF-8 python setup.py ptr
+}
+ 
+package() {
+  cd mitmproxy
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list