blob: b10c2eee5edfbc25967b5a05f4d966284970b722 (
plain) (
blame)
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
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= mypy-protobuf
PORTVERSION= 3.2.0
PORTREVISION= 1
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= protobuf>=3.17.3,1:devel/protobuf \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.3,1:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}types-protobuf>=3.19.5:devel/py-types-protobuf@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
.include <bsd.port.mk>
|