Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 00:50:20 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
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
Message-ID:  <202005230050.04N0oK33008574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <andreas@bilke.org>

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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005230050.04N0oK33008574>