Date: Mon, 19 Aug 2019 20:45:05 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509317 - in head/devel: . py-mypy-protobuf Message-ID: <201908192045.x7JKj5qu003657@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Aug 19 20:45:05 2019 New Revision: 509317 URL: https://svnweb.freebsd.org/changeset/ports/509317 Log: Add py-mypy-protobuf 1.15 mypy-protobuf generates mypy stub files from protobuf specs. protoc-gen-mypy is a python implementation of the plugin. WWW: https://github.com/dropbox/mypy-protobuf Added: head/devel/py-mypy-protobuf/ head/devel/py-mypy-protobuf/Makefile (contents, props changed) head/devel/py-mypy-protobuf/distinfo (contents, props changed) head/devel/py-mypy-protobuf/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Aug 19 20:44:33 2019 (r509316) +++ head/devel/Makefile Mon Aug 19 20:45:05 2019 (r509317) @@ -4655,6 +4655,7 @@ SUBDIR += py-mx-experimental SUBDIR += py-mygpoclient SUBDIR += py-mypy + SUBDIR += py-mypy-protobuf SUBDIR += py-mypy_extensions SUBDIR += py-nagioscheck SUBDIR += py-naiveBayesClassifier Added: head/devel/py-mypy-protobuf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mypy-protobuf/Makefile Mon Aug 19 20:45:05 2019 (r509317) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= mypy-protobuf +PORTVERSION= 1.15 +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:devel/py-protobuf@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e "s|, 'protoc_gen_mypy.bat'||" ${WRKSRC}/setup.py + +.include <bsd.port.mk> Added: head/devel/py-mypy-protobuf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mypy-protobuf/distinfo Mon Aug 19 20:45:05 2019 (r509317) @@ -0,0 +1,3 @@ +TIMESTAMP = 1566229320 +SHA256 (mypy-protobuf-1.15.tar.gz) = a10bb9f24cc2c1f5077a5e64fc5e22b7f7e230a1a399a34cebc57c80a8a532e6 +SIZE (mypy-protobuf-1.15.tar.gz) = 5910 Added: head/devel/py-mypy-protobuf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-mypy-protobuf/pkg-descr Mon Aug 19 20:45:05 2019 (r509317) @@ -0,0 +1,4 @@ +mypy-protobuf generates mypy stub files from protobuf specs. protoc-gen-mypy is +a python implementation of the plugin. + +WWW: https://github.com/dropbox/mypy-protobuf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908192045.x7JKj5qu003657>