pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-sphinx-autodoc-typehints



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sun May 27 01:59:36 UTC 2018

Added Files:
        pkgsrc/textproc/py-sphinx-autodoc-typehints: DESCR Makefile PLIST
            distinfo
        pkgsrc/textproc/py-sphinx-autodoc-typehints/patches: patch-setup.cfg

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-sphinx-autodoc-typehints/DESCR \
    pkgsrc/textproc/py-sphinx-autodoc-typehints/Makefile \
    pkgsrc/textproc/py-sphinx-autodoc-typehints/PLIST \
    pkgsrc/textproc/py-sphinx-autodoc-typehints/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-sphinx-autodoc-typehints/DESCR
diff -u /dev/null pkgsrc/textproc/py-sphinx-autodoc-typehints/DESCR:1.1
--- /dev/null   Sun May 27 01:59:36 2018
+++ pkgsrc/textproc/py-sphinx-autodoc-typehints/DESCR   Sun May 27 01:59:35 2018
@@ -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.
Index: pkgsrc/textproc/py-sphinx-autodoc-typehints/Makefile
diff -u /dev/null pkgsrc/textproc/py-sphinx-autodoc-typehints/Makefile:1.1
--- /dev/null   Sun May 27 01:59:36 2018
+++ pkgsrc/textproc/py-sphinx-autodoc-typehints/Makefile        Sun May 27 01:59:35 2018
@@ -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"
Index: pkgsrc/textproc/py-sphinx-autodoc-typehints/PLIST
diff -u /dev/null pkgsrc/textproc/py-sphinx-autodoc-typehints/PLIST:1.1
--- /dev/null   Sun May 27 01:59:36 2018
+++ pkgsrc/textproc/py-sphinx-autodoc-typehints/PLIST   Sun May 27 01:59:35 2018
@@ -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
Index: pkgsrc/textproc/py-sphinx-autodoc-typehints/distinfo
diff -u /dev/null pkgsrc/textproc/py-sphinx-autodoc-typehints/distinfo:1.1
--- /dev/null   Sun May 27 01:59:36 2018
+++ pkgsrc/textproc/py-sphinx-autodoc-typehints/distinfo        Sun May 27 01:59:35 2018
@@ -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

Index: pkgsrc/textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg:1.1
--- /dev/null   Sun May 27 01:59:36 2018
+++ pkgsrc/textproc/py-sphinx-autodoc-typehints/patches/patch-setup.cfg Sun May 27 01:59:35 2018
@@ -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