# Created by: Po-Chuan Hsieh # $FreeBSD: head/devel/py-mypy-protobuf/Makefile 563646 2021-02-01 19:27:18Z sunpoet $ PORTNAME= mypy-protobuf PORTVERSION= 1.24 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generate mypy stub files from protobuf specs LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.6.0,1:devel/py-protobuf@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e '/protoc_gen_mypy.bat/d' ${WRKSRC}/setup.py .include