Date: Sat, 18 Jan 2020 18:22:42 +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: r523433 - in head/devel: . py-monkeytype Message-ID: <202001181822.00IIMgdL081021@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Jan 18 18:22:42 2020 New Revision: 523433 URL: https://svnweb.freebsd.org/changeset/ports/523433 Log: Add py-monkeytype 19.11.2 MonkeyType collects runtime types of function arguments and return values, and can automatically generate stub files or even add draft type annotations directly to your Python code based on the types collected at runtime. WWW: https://github.com/Instagram/MonkeyType Added: head/devel/py-monkeytype/ head/devel/py-monkeytype/Makefile (contents, props changed) head/devel/py-monkeytype/distinfo (contents, props changed) head/devel/py-monkeytype/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jan 18 18:22:35 2020 (r523432) +++ head/devel/Makefile Sat Jan 18 18:22:42 2020 (r523433) @@ -4654,6 +4654,7 @@ SUBDIR += py-molecule SUBDIR += py-mondrian SUBDIR += py-mongokit + SUBDIR += py-monkeytype SUBDIR += py-monotonic SUBDIR += py-monty SUBDIR += py-more-itertools Added: head/devel/py-monkeytype/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monkeytype/Makefile Sat Jan 18 18:22:42 2020 (r523433) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= monkeytype +PORTVERSION= 19.11.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= MonkeyType-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Generate type annotations from sampled production types + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0:devel/py-mypy_extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}retype>=0:devel/py-retype@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}stringcase>=0:devel/py-stringcase@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-monkeytype/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monkeytype/distinfo Sat Jan 18 18:22:42 2020 (r523433) @@ -0,0 +1,3 @@ +TIMESTAMP = 1579339393 +SHA256 (MonkeyType-19.11.2.tar.gz) = 9f052b42851bc24603836ce3105166c8cc5edabeb25e8fcf256fa25777122618 +SIZE (MonkeyType-19.11.2.tar.gz) = 31099 Added: head/devel/py-monkeytype/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-monkeytype/pkg-descr Sat Jan 18 18:22:42 2020 (r523433) @@ -0,0 +1,5 @@ +MonkeyType collects runtime types of function arguments and return values, and +can automatically generate stub files or even add draft type annotations +directly to your Python code based on the types collected at runtime. + +WWW: https://github.com/Instagram/MonkeyType
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001181822.00IIMgdL081021>