pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-doctor



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Dec  4 06:07:50 UTC 2023

Modified Files:
        pkgsrc/devel/py-doctor: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-doctor: ALTERNATIVES

Log Message:
py-doctor: updated to 23.9.1

pydoctor 23.9.1

Fix regression in link not found warnings' line numbers.

pydoctor 23.9.0

This is the last major release to support Python 3.6.

Do not show **kwargs when keywords are specifically documented with the keyword field and no specific documentation is given for the **kwargs entry.
Fix annotation resolution edge cases: names are resolved in the context of the module scope when possible, when impossible, the theoretical runtime scopes are used. A warning can be reported when an 
annotation name is ambiguous (can be resolved to different names depending on the scope context) with option -v.
Ensure that explicit annotation are honored when there are multiple declarations of the same name.
Use stricter verification before marking an attribute as constant:
instance variables are never marked as constant
a variable that has several definitions will not be marked as constant
a variable declaration under any kind of control flow block will not be marked as constant
Do not trigger warnings when pydoctor cannot make sense of a potential constant attribute (pydoctor is not a static checker).
Fix presentation of type aliases in string form.
Improve the AST colorizer to output less parenthesis when it's not required.
Fix colorization of dictionary unpacking.
Improve the class hierarchy such that it links top level names with intersphinx when possible.
Add highlighting when clicking on "View In Hierarchy" link from class page.
Recognize variadic generics type variables (PEP 646).
Fix support for introspection of cython3 generated modules.
Instance variables are marked as such across subclasses.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-doctor/ALTERNATIVES
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-doctor/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-doctor/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-doctor/distinfo

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

Modified files:

Index: pkgsrc/devel/py-doctor/Makefile
diff -u pkgsrc/devel/py-doctor/Makefile:1.24 pkgsrc/devel/py-doctor/Makefile:1.25
--- pkgsrc/devel/py-doctor/Makefile:1.24        Sat Aug 12 00:31:02 2023
+++ pkgsrc/devel/py-doctor/Makefile     Mon Dec  4 06:07:50 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2023/08/12 00:31:02 gutteridge Exp $
+# $NetBSD: Makefile,v 1.25 2023/12/04 06:07:50 adam Exp $
 
-DISTNAME=      pydoctor-23.4.1
+DISTNAME=      pydoctor-23.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydoctor/}
@@ -24,9 +24,15 @@ DEPENDS+=    ${PYPKGPREFIX}-urllib3-[0-9]*:
 TEST_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-subtests-[0-9]*:../../devel/py-test-subtests
+
+USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-.include "../../lang/python/egg.mk"
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} pydoctor pydoctor-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-doctor/PLIST
diff -u pkgsrc/devel/py-doctor/PLIST:1.5 pkgsrc/devel/py-doctor/PLIST:1.6
--- pkgsrc/devel/py-doctor/PLIST:1.5    Fri Aug 11 13:01:29 2023
+++ pkgsrc/devel/py-doctor/PLIST        Mon Dec  4 06:07:50 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2023/08/11 13:01:29 adam Exp $
-bin/pydoctor
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.6 2023/12/04 06:07:50 adam Exp $
+bin/pydoctor-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pydoctor/__init__.py
 ${PYSITELIB}/pydoctor/__init__.pyc
 ${PYSITELIB}/pydoctor/__init__.pyo

Index: pkgsrc/devel/py-doctor/distinfo
diff -u pkgsrc/devel/py-doctor/distinfo:1.11 pkgsrc/devel/py-doctor/distinfo:1.12
--- pkgsrc/devel/py-doctor/distinfo:1.11        Fri Aug 11 13:01:29 2023
+++ pkgsrc/devel/py-doctor/distinfo     Mon Dec  4 06:07:50 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2023/08/11 13:01:29 adam Exp $
+$NetBSD: distinfo,v 1.12 2023/12/04 06:07:50 adam Exp $
 
-BLAKE2s (pydoctor-23.4.1.tar.gz) = e63f3d8251d0f74688b9e92465e10cd29b42cdf22acadb3c841b76a8ad117308
-SHA512 (pydoctor-23.4.1.tar.gz) = c310cc6267389a1fc13f7e48e42ffd1d4fca8f71d312350fa35edc602869460cbba0e59b138e68bbb179bb2df1f7236e287a965be17466c7512eec6ca4ac0e57
-Size (pydoctor-23.4.1.tar.gz) = 914980 bytes
+BLAKE2s (pydoctor-23.9.1.tar.gz) = 713e53082fc08a320244a9bcb55d2297b5c0900d047a4987e1446c8819896b74
+SHA512 (pydoctor-23.9.1.tar.gz) = f5c396fd22b42b937d9bf703f4eb94fc87941031af1db4bd4ece9a580410b50f88fd2e3553aa1cc02b097198f954ed69ebb690d8fc2ffa7aeee1de627e61418e
+Size (pydoctor-23.9.1.tar.gz) = 926934 bytes

Added files:

Index: pkgsrc/devel/py-doctor/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-doctor/ALTERNATIVES:1.1
--- /dev/null   Mon Dec  4 06:07:50 2023
+++ pkgsrc/devel/py-doctor/ALTERNATIVES Mon Dec  4 06:07:50 2023
@@ -0,0 +1 @@
+bin/pydoctor @PREFIX@/bin/pydoctor-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index