pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx-autodoc-typehints textproc/py-sphin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11f2c953378b
branches:  trunk
changeset: 380991:11f2c953378b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 27 01:59:35 2018 +0000

description:
textproc/py-sphinx-autodoc-typehints: Import version 1.3.0

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.

diffstat:

 textproc/py-sphinx-autodoc-typehints/DESCR                   |   3 +
 textproc/py-sphinx-autodoc-typehints/Makefile                |  26 ++++++++++++
 textproc/py-sphinx-autodoc-typehints/PLIST                   |   9 ++++
 textproc/py-sphinx-autodoc-typehints/distinfo                |   7 +++
 textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg |  15 ++++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 2af864451945 -r 11f2c953378b textproc/py-sphinx-autodoc-typehints/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/DESCR        Sun May 27 01:59:35 2018 +0000
@@ -0,0 +1,3 @@
+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.
diff -r 2af864451945 -r 11f2c953378b textproc/py-sphinx-autodoc-typehints/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/Makefile     Sun May 27 01:59:35 2018 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2018/05/27 01:59:35 minskim Exp $
+
+DISTNAME=      sphinx-autodoc-typehints-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sphinx-autodoc-typehints/}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/agronholm/sphinx-autodoc-typehints
+COMMENT=       Type hints support for the Sphinx autodoc extension
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-sphinx>=1.4:../../textproc/py-sphinx
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py34"
+DEPENDS+=      ${PYPKGPREFIX}-typing>=3.5:../../devel/py-typing
+.endif
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2af864451945 -r 11f2c953378b textproc/py-sphinx-autodoc-typehints/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/PLIST        Sun May 27 01:59:35 2018 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/27 01:59:35 minskim Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sphinx_autodoc_typehints.py
+${PYSITELIB}/sphinx_autodoc_typehints.pyc
+${PYSITELIB}/sphinx_autodoc_typehints.pyo
diff -r 2af864451945 -r 11f2c953378b textproc/py-sphinx-autodoc-typehints/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/distinfo     Sun May 27 01:59:35 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/05/27 01:59:35 minskim Exp $
+
+SHA1 (sphinx-autodoc-typehints-1.3.0.tar.gz) = f748fe87594438ffd9475ed2ab4c787e66d6c955
+RMD160 (sphinx-autodoc-typehints-1.3.0.tar.gz) = 099eb1d9801982b3c297383f4a9c68a1b26b8c60
+SHA512 (sphinx-autodoc-typehints-1.3.0.tar.gz) = 04b7398f5b969c2802022799609c55cfd3201e4cd60f85fa5ef5670e67fc6154904872410776b37258f58517a629885d15f08aa1ba5281dad2ad2480cd89cc5b
+Size (sphinx-autodoc-typehints-1.3.0.tar.gz) = 10043 bytes
+SHA1 (patch-setup.cfg) = 1ccc450914d50544268b87b485df63a54feebbfb
diff -r 2af864451945 -r 11f2c953378b textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg      Sun May 27 01:59:35 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.cfg,v 1.1 2018/05/27 01:59:35 minskim Exp $
+
+Remove a non-ascii character.
+
+--- setup.cfg.orig     2018-03-18 16:36:50.000000000 +0000
++++ setup.cfg
+@@ -2,7 +2,7 @@
+ name = sphinx-autodoc-typehints
+ description = Type hints (PEP 484) support for the Sphinx autodoc extension
+ long_description = file: README.rst
+-author = Alex Grönholm
++author = Alex Gronholm
+ author_email = alex.gronholm%nextday.fi@localhost
+ url = https://github.com/agronholm/sphinx-autodoc-typehints
+ license = MIT



Home | Main Index | Thread Index | Old Index