pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/mitmproxy mitmproxy: Add a patch to fix with newer...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4af4e166aa3
branches:  trunk
changeset: 394533:b4af4e166aa3
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Apr 15 10:19:04 2019 +0000

description:
mitmproxy: Add a patch to fix with newer py-wsproto API changes in >=0.13.0

Unfortunately the .orig file is also installed, add a post-install:
target to clean `*.orig' left.

Bump PKGREVISION

diffstat:

 net/mitmproxy/Makefile |  8 ++++++--
 net/mitmproxy/distinfo |  3 ++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 23776ceb02c8 -r b4af4e166aa3 net/mitmproxy/Makefile
--- a/net/mitmproxy/Makefile    Mon Apr 15 08:31:10 2019 +0000
+++ b/net/mitmproxy/Makefile    Mon Apr 15 10:19:04 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2018/08/09 11:51:41 leot Exp $
+# $NetBSD: Makefile,v 1.23 2019/04/15 10:19:04 leot Exp $
 
 DISTNAME=      mitmproxy-4.0.4
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mitmproxy/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -28,7 +29,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=1.5.4:../../devel/py-sortedcontainers
 DEPENDS+=      ${PYPKGPREFIX}-tornado>=4.3.0:../../www/py-tornado
 DEPENDS+=      ${PYPKGPREFIX}-urwid>=2.0.1:../../devel/py-urwid
-DEPENDS+=      ${PYPKGPREFIX}-wsproto>=0.11.0:../../www/py-wsproto
+DEPENDS+=      ${PYPKGPREFIX}-wsproto>=0.13.0:../../www/py-wsproto
 
 SUBST_CLASSES+=                        setuppyversions
 SUBST_STAGE.setuppyversions=   pre-configure
@@ -41,6 +42,9 @@
 USE_LANGUAGES=                 # none
 PYTHON_VERSIONS_INCOMPATIBLE=  27 34 35
 
+post-install:
+       ${FIND} ${DESTDIR} -name "*.orig" -type f -exec ${RM} {} \;
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 23776ceb02c8 -r b4af4e166aa3 net/mitmproxy/distinfo
--- a/net/mitmproxy/distinfo    Mon Apr 15 08:31:10 2019 +0000
+++ b/net/mitmproxy/distinfo    Mon Apr 15 10:19:04 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2018/08/09 11:51:41 leot Exp $
+$NetBSD: distinfo,v 1.16 2019/04/15 10:19:04 leot Exp $
 
 SHA1 (mitmproxy-4.0.4.tar.gz) = 67871cbf7751d34d254ccc733f5e2cd23fbe8faf
 RMD160 (mitmproxy-4.0.4.tar.gz) = d4935a325081544ef0cc9b5551d5eb976ce21777
 SHA512 (mitmproxy-4.0.4.tar.gz) = e08ea8b1c75a95b822c463625509037bbc8a979161cacaa1f0185f98df8d6d7e5400925365dbbe70d18751251b1005824f739a8cd035c0389f7b4aea562adfb3
 Size (mitmproxy-4.0.4.tar.gz) = 27131713 bytes
+SHA1 (patch-mitmproxy_proxy_protocol_websocket.py) = 83337b732b156707308506fe9378571e0d2711bc



Home | Main Index | Thread Index | Old Index