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

Kpcyrd kpcyrd at gemini.archlinux.org
Wed Aug 4 13:05:51 UTC 2021


    Date: Wednesday, August 4, 2021 @ 13:05:51
  Author: kpcyrd
Revision: 993640

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-04 13:05:34 UTC (rev 993639)
+++ PKGBUILD	2021-08-04 13:05:51 UTC (rev 993640)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Simon 'ALSimon' Gilliot <simon at gilliot.fr>
-# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
-# Contributor: Dobroslaw Kijowski
-
-pkgname=mitmproxy
-pkgver=7.0.1
-pkgrel=1
-pkgdesc='SSL-capable man-in-the-middle HTTP proxy'
-arch=('any')
-url='https://mitmproxy.org'
-license=('MIT')
-depends=('python-asgiref' 'python-blinker' 'python-brotli' 'python-click' 'python-cryptography'
-         'python-flask' 'python-h11' 'python-h2' 'python-hyperframe' 'python-kaitaistruct'
-         'python-ldap3' 'python-msgpack' 'python-passlib' 'python-protobuf' 'python-pyopenssl'
-         'python-pyparsing' 'python-pyperclip' 'python-ruamel-yaml' 'python-setuptools'
-         'python-sortedcontainers' 'python-tornado' 'python-urwid' 'python-wsproto'
-         'python-publicsuffix2' 'python-zstandard')
-checkdepends=('python-asynctest' 'python-parver' 'python-pytest-runner' 'python-pytest-asyncio'
-              'python-requests' 'python-hypothesis')
-provides=('pathod')
-conflicts=('pathod')
-replaces=('pathod')
-source=("https://github.com/mitmproxy/mitmproxy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d5361c64d3f23ea86d10f3e2aea430391ca93bce1d5e13b44f445a50a73aa76d8d7e669ddad4680cc71e432eff63d5cb063c09745973a51ad39a38b885eccacc')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Let's remove all the upper bounds and use system ca-certificatescate store
-  # We have an old protobuf, but this should not be an issue
-  sed -e '/certifi/d' \
-      -e 's/, *<[0-9=.]*//' \
-      -e 's/protobuf>=3.14/protobuf>=3/' \
-      -i setup.py
-  sed -e '/import certifi/d' \
-      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
-      -i mitmproxy/net/tls.py
-}
-
-build() {
-  cd $pkgname-$pkgver
-  export PYTHONHASHSEED=0
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python setup.py pytest --addopts "--deselect test/mitmproxy/test_version.py::test_get_version"
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" -O1
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: mitmproxy/repos/community-any/PKGBUILD (from rev 993639, mitmproxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-04 13:05:51 UTC (rev 993640)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Simon 'ALSimon' Gilliot <simon at gilliot.fr>
+# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
+# Contributor: Dobroslaw Kijowski
+
+pkgname=mitmproxy
+pkgver=7.0.2
+pkgrel=1
+pkgdesc='SSL-capable man-in-the-middle HTTP proxy'
+arch=('any')
+url='https://mitmproxy.org'
+license=('MIT')
+depends=('python-asgiref' 'python-blinker' 'python-brotli' 'python-click' 'python-cryptography'
+         'python-flask' 'python-h11' 'python-h2' 'python-hyperframe' 'python-kaitaistruct'
+         'python-ldap3' 'python-msgpack' 'python-passlib' 'python-protobuf' 'python-pyopenssl'
+         'python-pyparsing' 'python-pyperclip' 'python-ruamel-yaml' 'python-setuptools'
+         'python-sortedcontainers' 'python-tornado' 'python-urwid' 'python-wsproto'
+         'python-publicsuffix2' 'python-zstandard')
+checkdepends=('python-asynctest' 'python-parver' 'python-pytest-runner' 'python-pytest-asyncio'
+              'python-requests' 'python-hypothesis')
+provides=('pathod')
+conflicts=('pathod')
+replaces=('pathod')
+source=("https://github.com/mitmproxy/mitmproxy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1335c868c93adc414fa84678b0ca7989aa7cf33906e220cf62cb5c57d17b57fe0e04143179a8d8033a312521f24654de040732416c5bed77f66591a2fe708c02')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Let's remove all the upper bounds and use system ca-certificatescate store
+  # We have an old protobuf, but this should not be an issue
+  sed -e '/certifi/d' \
+      -e 's/, *<[0-9=.]*//' \
+      -e 's/protobuf>=3.14/protobuf>=3/' \
+      -i setup.py
+  sed -e '/import certifi/d' \
+      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
+      -i mitmproxy/net/tls.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python setup.py pytest --addopts "--deselect test/mitmproxy/test_version.py::test_get_version"
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list