blob: 6775c2aa0fe23cbf6ea0d906d6ef11796ced99eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $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}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://mitmproxy.org/
COMMENT= Interactive console program for inspecting and editing traffic flows
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=17.5:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.3.1:../../security/py-asn1
DEPENDS+= ${PYPKGPREFIX}-blinker>=1.4:../../devel/py-blinker
DEPENDS+= ${PYPKGPREFIX}-brotlipy>=0.7.0:../../archivers/py-brotlipy
DEPENDS+= ${PYPKGPREFIX}-certifi>=2015.11.20.1:../../security/py-certifi
DEPENDS+= ${PYPKGPREFIX}-click>=6.2:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.1.4:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-h2>=3.0.1:../../www/py-h2
DEPENDS+= ${PYPKGPREFIX}-hyperframe>=5.1.0:../../www/py-hyperframe
DEPENDS+= ${PYPKGPREFIX}-kaitaistruct>=0.7:../../devel/py-kaitaistruct
DEPENDS+= ${PYPKGPREFIX}-ldap3>=2.5:../../databases/py-ldap3
DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6.5:../../security/py-passlib
DEPENDS+= ${PYPKGPREFIX}-pyparsing>=2.1.3:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.6.0:../../x11/py-pyperclip
DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.13.2:../../devel/py-ruamel-yaml
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.13.0:../../www/py-wsproto
SUBST_CLASSES+= setuppyversions
SUBST_STAGE.setuppyversions= pre-configure
SUBST_MESSAGE.setuppyversions= Avoid too strict version requirements
SUBST_FILES.setuppyversions= setup.py
SUBST_SED.setuppyversions= -E -e '/>=/ s/, *<[^"]+//g'
REPLACE_SH+= mitmproxy/contrib/kaitaistruct/make.sh
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"
|