From owner-svn-ports-all@freebsd.org Sat May 23 00:50:21 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A14232F2221; Sat, 23 May 2020 00:50:21 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49TPsT3qGYz46gy; Sat, 23 May 2020 00:50:21 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E3F1276C3; Sat, 23 May 2020 00:50:21 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04N0oLm0008579; Sat, 23 May 2020 00:50:21 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04N0oK33008574; Sat, 23 May 2020 00:50:20 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <202005230050.04N0oK33008574@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 23 May 2020 00:50:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536254 - in head/textproc: . py-sphinx-autodoc-typehints X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/textproc: . py-sphinx-autodoc-typehints X-SVN-Commit-Revision: 536254 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 00:50:21 -0000 Author: dbaio Date: Sat May 23 00:50:20 2020 New Revision: 536254 URL: https://svnweb.freebsd.org/changeset/ports/536254 Log: Add textproc/py-sphinx-autodoc-typehints Type hints (PEP 484) support for the Sphinx autodoc extension This extension allows you to use Python 3 annotations for documenting acceptable argument types and return value types of functions. This allows you to use type hints in a very natural fashion. WWW: https://github.com/agronholm/sphinx-autodoc-typehints PR: 246625 Submitted by: Andreas Bilke Added: head/textproc/py-sphinx-autodoc-typehints/ head/textproc/py-sphinx-autodoc-typehints/Makefile (contents, props changed) head/textproc/py-sphinx-autodoc-typehints/distinfo (contents, props changed) head/textproc/py-sphinx-autodoc-typehints/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat May 23 00:48:43 2020 (r536253) +++ head/textproc/Makefile Sat May 23 00:50:20 2020 (r536254) @@ -1356,6 +1356,7 @@ SUBDIR += py-sparqlwrapper SUBDIR += py-sphinx SUBDIR += py-sphinx-autoapi + SUBDIR += py-sphinx-autodoc-typehints SUBDIR += py-sphinx-hieroglyph SUBDIR += py-sphinx-intl SUBDIR += py-sphinx-me Added: head/textproc/py-sphinx-autodoc-typehints/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinx-autodoc-typehints/Makefile Sat May 23 00:50:20 2020 (r536254) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= sphinx-autodoc-typehints +PORTVERSION= 1.10.3 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= andreas@bilke.org +COMMENT= Type hints (PEP 484) support for the Sphinx autodoc extension + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PY_SPHINX} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=2.0.0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=40.0.4:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} \ + ${PY_SPHINX} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include Added: head/textproc/py-sphinx-autodoc-typehints/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinx-autodoc-typehints/distinfo Sat May 23 00:50:20 2020 (r536254) @@ -0,0 +1,3 @@ +TIMESTAMP = 1586633067 +SHA256 (sphinx-autodoc-typehints-1.10.3.tar.gz) = a6b3180167479aca2c4d1ed3b5cb044a70a76cccd6b38662d39288ebd9f0dff0 +SIZE (sphinx-autodoc-typehints-1.10.3.tar.gz) = 16396 Added: head/textproc/py-sphinx-autodoc-typehints/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinx-autodoc-typehints/pkg-descr Sat May 23 00:50:20 2020 (r536254) @@ -0,0 +1,5 @@ +This extension allows you to use Python 3 annotations for documenting +acceptable argument types and return value types of functions. This allows you +to use type hints in a very natural fashion. + +WWW: https://github.com/agronholm/sphinx-autodoc-typehints