Wed May 12 06:55:06 2021 UTC ()
py-logilab-common: updated to 1.8.1

2021-01-05 -- 1.8.1

* feature: add tox helpers to make pipy and debian releases
* fix: use TypedDict if python version > 3.8 only, otherwise use a Dict
       (TypedDict were imported from typing_extension 3.7.4, which is not
       available on debian buster)

2020-11-22 -- 1.8.0

* deprecation: add subclass to DeprecationWarning with structured
  information (TargetRenamedDeprecationWarning,
  TargetDeprecatedDeprecationWarning, TargetRemovedDeprecationWarning,
  TargetMovedDeprecationWarning)
* deprecation: add tests to ensure that DeprecationWarning target the
  correct line and the correct file
* deprecation: add types annotations
* declare that logilab.common ships type annotations (py.typed file)
* various bug fixes

2020-09-03 -- 1.7.3

* type: declare that logilab-common ship type annotations
* make the build reproducible
* fix(deprecation): stacked decorators breaks getting the real callable
  __name__ attribute
* fix: in some situation (using several deprecation functions), renaming
  deprecation utils failed to point to the correct new name and used random
  internal names of the module

2020-06-24 -- 1.7.2

* fix(deprecation): rollback to old class_deprecation being a class behavior

2020-06-11 -- 1.7.1

* fix: import error on re.Pattern with python < 3.7

2020-06-10 -- 1.7.0

* logilab-common requires python 3.6 now
* greatly improve our CI and migrate it to heptapod/gitlab-ci
* black the whole code base
* move test suit to pytest
* use check-manifest and fix related bugs in MANIFEST.in
* integrates flake8 and please the flake8 gods
* various fixes
* class_deprecation is not a class anymore
* pytest 5.4.2 breaks tests, pin to 5.4.1 for now

2020-05-25 -- 1.6.4

* fix: rollback to old class_deprecation being a class behavior
* fix: @functools.wraps broke callable_renamed, write a @lazy_wraps and
  use it everywhere in logilab.common.deprecation
* add docstring to LazyObject

2020-05-11 -- 1.6.3

* fix: metaclass conflict in class_deprecated

2020-05-11 -- 1.6.2

* fix: explicitly requires python 3.6 in setup.py

2020-05-01 -- 1.6.1

* bug fix, bad usage of callable_renamed

2020-04-30 -- 1.6.0

* logilab-common requires python >= 3.6 now
* use pyannotates to introduces types in all the modules
* introduce a list of new functions in logilab.common.deprecation: callable_renamed, attribute_renamed, argument_renamed, argument_remove
* renamed "renamed" to "callable_renamed", "deprecated" to
  "callable_deprecated", "moved" to "callable_moved" for coherence
* refactor the whole logilab.common.deprecation to simplify its code
* automatically detect from which modules a deprecated utils is called
* correctly display the line where a deprecated utils is used
* various small fixes, thx mypy

2019-12-04  -- 1.5.2

* documentation is now available at https://logilab-common.readthedocs.io/
* drop python2 support, python >= 3.3 is the new required version
* therefor, drop dependency on six
* drop rpm packaging
* registry: add a Registry.add_select_best_listener method to subscribe to
  the result of a _select_best of a Registry.
* shellutils: deprecate 'input' as argument of RawInput in favor of
  'input_function'


(adam)
diff -r1.20 -r1.21 pkgsrc/devel/py-logilab-common/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/py-logilab-common/PLIST
diff -r1.7 -r1.8 pkgsrc/devel/py-logilab-common/distinfo

cvs diff -r1.20 -r1.21 pkgsrc/devel/py-logilab-common/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-logilab-common/Makefile 2020/08/31 23:07:01 1.20
+++ pkgsrc/devel/py-logilab-common/Makefile 2021/05/12 06:55:06 1.21
@@ -1,35 +1,36 @@ @@ -1,35 +1,36 @@
1# $NetBSD: Makefile,v 1.20 2020/08/31 23:07:01 wiz Exp $ 1# $NetBSD: Makefile,v 1.21 2021/05/12 06:55:06 adam Exp $
2 2
3DISTNAME= logilab-common-1.4.2 3DISTNAME= logilab-common-1.8.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=l/logilab-common/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=l/logilab-common/}
7 7
8MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
9HOMEPAGE= https://www.logilab.org/project/logilab-common 9HOMEPAGE= https://www.logilab.org/project/logilab-common
10COMMENT= Useful miscellaneous modules used by Logilab projects 10COMMENT= Useful miscellaneous modules used by Logilab projects
11LICENSE= gnu-lgpl-v2.1 11LICENSE= gnu-lgpl-v2.1
12 12
13DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six 13DEPENDS+= ${PYPKGPREFIX}-mypy_extensions-[0-9]*:../../lang/py-mypy_extensions
14 14DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
15PYTHON_VERSIONED_DEPENDENCIES+= setuptools 15DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
16 16
17.include "../../mk/bsd.fast.prefs.mk" 17.include "../../mk/bsd.fast.prefs.mk"
18 18
19.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Interix" 19.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Interix"
20DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama 20DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
21.endif 21.endif
22 22
23USE_LANGUAGES= # none 23USE_LANGUAGES= # none
24 24
25INSTALLATION_DIRS= ${PKGMANDIR}/man1 25INSTALLATION_DIRS= ${PKGMANDIR}/man1
26 26
 27PYTHON_VERSIONS_INCOMPATIBLE= 27
 28
27post-install: 29post-install:
28 cd ${DESTDIR}${PREFIX}/bin && \ 30 cd ${DESTDIR}${PREFIX}/bin && \
29 ${MV} logilab-pytest logilab-pytest-${PYVERSSUFFIX} || ${TRUE} 31 ${MV} logilab-pytest logilab-pytest-${PYVERSSUFFIX} || ${TRUE}
30 ${INSTALL_MAN} ${WRKSRC}/doc/logilab-pytest.1 \ 32 ${INSTALL_MAN} ${WRKSRC}/docs/logilab-pytest.1 \
31 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/logilab-pytest-${PYVERSSUFFIX}.1 33 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/logilab-pytest-${PYVERSSUFFIX}.1
32 34
33.include "../../lang/python/egg.mk" 35.include "../../lang/python/egg.mk"
34.include "../../lang/python/versioned_dependencies.mk" 
35.include "../../mk/bsd.pkg.mk" 36.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-logilab-common/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-logilab-common/PLIST 2019/07/06 22:56:03 1.5
+++ pkgsrc/devel/py-logilab-common/PLIST 2021/05/12 06:55:06 1.6
@@ -1,15 +1,22 @@ @@ -1,15 +1,22 @@
1@comment $NetBSD: PLIST,v 1.5 2019/07/06 22:56:03 adam Exp $ 1@comment $NetBSD: PLIST,v 1.6 2021/05/12 06:55:06 adam Exp $
2bin/logilab-pytest-${PYVERSSUFFIX} 2bin/logilab-pytest-${PYVERSSUFFIX}
 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 6${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 9${PYSITELIB}/${EGG_NAME}-nspkg.pth
3${PYSITELIB}/logilab/common/__init__.py 10${PYSITELIB}/logilab/common/__init__.py
4${PYSITELIB}/logilab/common/__init__.pyc 11${PYSITELIB}/logilab/common/__init__.pyc
5${PYSITELIB}/logilab/common/__init__.pyo 12${PYSITELIB}/logilab/common/__init__.pyo
6${PYSITELIB}/logilab/common/cache.py 13${PYSITELIB}/logilab/common/cache.py
7${PYSITELIB}/logilab/common/cache.pyc 14${PYSITELIB}/logilab/common/cache.pyc
8${PYSITELIB}/logilab/common/cache.pyo 15${PYSITELIB}/logilab/common/cache.pyo
9${PYSITELIB}/logilab/common/changelog.py 16${PYSITELIB}/logilab/common/changelog.py
10${PYSITELIB}/logilab/common/changelog.pyc 17${PYSITELIB}/logilab/common/changelog.pyc
11${PYSITELIB}/logilab/common/changelog.pyo 18${PYSITELIB}/logilab/common/changelog.pyo
12${PYSITELIB}/logilab/common/clcommands.py 19${PYSITELIB}/logilab/common/clcommands.py
13${PYSITELIB}/logilab/common/clcommands.pyc 20${PYSITELIB}/logilab/common/clcommands.pyc
14${PYSITELIB}/logilab/common/clcommands.pyo 21${PYSITELIB}/logilab/common/clcommands.pyo
15${PYSITELIB}/logilab/common/compat.py 22${PYSITELIB}/logilab/common/compat.py
@@ -47,26 +54,27 @@ ${PYSITELIB}/logilab/common/logging_ext. @@ -47,26 +54,27 @@ ${PYSITELIB}/logilab/common/logging_ext.
47${PYSITELIB}/logilab/common/logging_ext.pyo 54${PYSITELIB}/logilab/common/logging_ext.pyo
48${PYSITELIB}/logilab/common/modutils.py 55${PYSITELIB}/logilab/common/modutils.py
49${PYSITELIB}/logilab/common/modutils.pyc 56${PYSITELIB}/logilab/common/modutils.pyc
50${PYSITELIB}/logilab/common/modutils.pyo 57${PYSITELIB}/logilab/common/modutils.pyo
51${PYSITELIB}/logilab/common/optik_ext.py 58${PYSITELIB}/logilab/common/optik_ext.py
52${PYSITELIB}/logilab/common/optik_ext.pyc 59${PYSITELIB}/logilab/common/optik_ext.pyc
53${PYSITELIB}/logilab/common/optik_ext.pyo 60${PYSITELIB}/logilab/common/optik_ext.pyo
54${PYSITELIB}/logilab/common/optparser.py 61${PYSITELIB}/logilab/common/optparser.py
55${PYSITELIB}/logilab/common/optparser.pyc 62${PYSITELIB}/logilab/common/optparser.pyc
56${PYSITELIB}/logilab/common/optparser.pyo 63${PYSITELIB}/logilab/common/optparser.pyo
57${PYSITELIB}/logilab/common/proc.py 64${PYSITELIB}/logilab/common/proc.py
58${PYSITELIB}/logilab/common/proc.pyc 65${PYSITELIB}/logilab/common/proc.pyc
59${PYSITELIB}/logilab/common/proc.pyo 66${PYSITELIB}/logilab/common/proc.pyo
 67${PYSITELIB}/logilab/common/py.typed
60${PYSITELIB}/logilab/common/pytest.py 68${PYSITELIB}/logilab/common/pytest.py
61${PYSITELIB}/logilab/common/pytest.pyc 69${PYSITELIB}/logilab/common/pytest.pyc
62${PYSITELIB}/logilab/common/pytest.pyo 70${PYSITELIB}/logilab/common/pytest.pyo
63${PYSITELIB}/logilab/common/registry.py 71${PYSITELIB}/logilab/common/registry.py
64${PYSITELIB}/logilab/common/registry.pyc 72${PYSITELIB}/logilab/common/registry.pyc
65${PYSITELIB}/logilab/common/registry.pyo 73${PYSITELIB}/logilab/common/registry.pyo
66${PYSITELIB}/logilab/common/shellutils.py 74${PYSITELIB}/logilab/common/shellutils.py
67${PYSITELIB}/logilab/common/shellutils.pyc 75${PYSITELIB}/logilab/common/shellutils.pyc
68${PYSITELIB}/logilab/common/shellutils.pyo 76${PYSITELIB}/logilab/common/shellutils.pyo
69${PYSITELIB}/logilab/common/sphinx_ext.py 77${PYSITELIB}/logilab/common/sphinx_ext.py
70${PYSITELIB}/logilab/common/sphinx_ext.pyc 78${PYSITELIB}/logilab/common/sphinx_ext.pyc
71${PYSITELIB}/logilab/common/sphinx_ext.pyo 79${PYSITELIB}/logilab/common/sphinx_ext.pyo
72${PYSITELIB}/logilab/common/sphinxutils.py 80${PYSITELIB}/logilab/common/sphinxutils.py
@@ -77,26 +85,29 @@ ${PYSITELIB}/logilab/common/table.pyc @@ -77,26 +85,29 @@ ${PYSITELIB}/logilab/common/table.pyc
77${PYSITELIB}/logilab/common/table.pyo 85${PYSITELIB}/logilab/common/table.pyo
78${PYSITELIB}/logilab/common/tasksqueue.py 86${PYSITELIB}/logilab/common/tasksqueue.py
79${PYSITELIB}/logilab/common/tasksqueue.pyc 87${PYSITELIB}/logilab/common/tasksqueue.pyc
80${PYSITELIB}/logilab/common/tasksqueue.pyo 88${PYSITELIB}/logilab/common/tasksqueue.pyo
81${PYSITELIB}/logilab/common/testlib.py 89${PYSITELIB}/logilab/common/testlib.py
82${PYSITELIB}/logilab/common/testlib.pyc 90${PYSITELIB}/logilab/common/testlib.pyc
83${PYSITELIB}/logilab/common/testlib.pyo 91${PYSITELIB}/logilab/common/testlib.pyo
84${PYSITELIB}/logilab/common/textutils.py 92${PYSITELIB}/logilab/common/textutils.py
85${PYSITELIB}/logilab/common/textutils.pyc 93${PYSITELIB}/logilab/common/textutils.pyc
86${PYSITELIB}/logilab/common/textutils.pyo 94${PYSITELIB}/logilab/common/textutils.pyo
87${PYSITELIB}/logilab/common/tree.py 95${PYSITELIB}/logilab/common/tree.py
88${PYSITELIB}/logilab/common/tree.pyc 96${PYSITELIB}/logilab/common/tree.pyc
89${PYSITELIB}/logilab/common/tree.pyo 97${PYSITELIB}/logilab/common/tree.pyo
 98${PYSITELIB}/logilab/common/types.py
 99${PYSITELIB}/logilab/common/types.pyc
 100${PYSITELIB}/logilab/common/types.pyo
90${PYSITELIB}/logilab/common/umessage.py 101${PYSITELIB}/logilab/common/umessage.py
91${PYSITELIB}/logilab/common/umessage.pyc 102${PYSITELIB}/logilab/common/umessage.pyc
92${PYSITELIB}/logilab/common/umessage.pyo 103${PYSITELIB}/logilab/common/umessage.pyo
93${PYSITELIB}/logilab/common/ureports/__init__.py 104${PYSITELIB}/logilab/common/ureports/__init__.py
94${PYSITELIB}/logilab/common/ureports/__init__.pyc 105${PYSITELIB}/logilab/common/ureports/__init__.pyc
95${PYSITELIB}/logilab/common/ureports/__init__.pyo 106${PYSITELIB}/logilab/common/ureports/__init__.pyo
96${PYSITELIB}/logilab/common/ureports/docbook_writer.py 107${PYSITELIB}/logilab/common/ureports/docbook_writer.py
97${PYSITELIB}/logilab/common/ureports/docbook_writer.pyc 108${PYSITELIB}/logilab/common/ureports/docbook_writer.pyc
98${PYSITELIB}/logilab/common/ureports/docbook_writer.pyo 109${PYSITELIB}/logilab/common/ureports/docbook_writer.pyo
99${PYSITELIB}/logilab/common/ureports/html_writer.py 110${PYSITELIB}/logilab/common/ureports/html_writer.py
100${PYSITELIB}/logilab/common/ureports/html_writer.pyc 111${PYSITELIB}/logilab/common/ureports/html_writer.pyc
101${PYSITELIB}/logilab/common/ureports/html_writer.pyo 112${PYSITELIB}/logilab/common/ureports/html_writer.pyo
102${PYSITELIB}/logilab/common/ureports/nodes.py 113${PYSITELIB}/logilab/common/ureports/nodes.py
@@ -107,21 +118,14 @@ ${PYSITELIB}/logilab/common/ureports/tex @@ -107,21 +118,14 @@ ${PYSITELIB}/logilab/common/ureports/tex
107${PYSITELIB}/logilab/common/ureports/text_writer.pyo 118${PYSITELIB}/logilab/common/ureports/text_writer.pyo
108${PYSITELIB}/logilab/common/urllib2ext.py 119${PYSITELIB}/logilab/common/urllib2ext.py
109${PYSITELIB}/logilab/common/urllib2ext.pyc 120${PYSITELIB}/logilab/common/urllib2ext.pyc
110${PYSITELIB}/logilab/common/urllib2ext.pyo 121${PYSITELIB}/logilab/common/urllib2ext.pyo
111${PYSITELIB}/logilab/common/vcgutils.py 122${PYSITELIB}/logilab/common/vcgutils.py
112${PYSITELIB}/logilab/common/vcgutils.pyc 123${PYSITELIB}/logilab/common/vcgutils.pyc
113${PYSITELIB}/logilab/common/vcgutils.pyo 124${PYSITELIB}/logilab/common/vcgutils.pyo
114${PYSITELIB}/logilab/common/visitor.py 125${PYSITELIB}/logilab/common/visitor.py
115${PYSITELIB}/logilab/common/visitor.pyc 126${PYSITELIB}/logilab/common/visitor.pyc
116${PYSITELIB}/logilab/common/visitor.pyo 127${PYSITELIB}/logilab/common/visitor.pyo
117${PYSITELIB}/logilab/common/xmlutils.py 128${PYSITELIB}/logilab/common/xmlutils.py
118${PYSITELIB}/logilab/common/xmlutils.pyc 129${PYSITELIB}/logilab/common/xmlutils.pyc
119${PYSITELIB}/logilab/common/xmlutils.pyo 130${PYSITELIB}/logilab/common/xmlutils.pyo
120${PYSITELIB}/${EGG_NAME}-nspkg.pth 
121${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 
122${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 
123${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 
124${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt 
125${PYSITELIB}/${EGG_INFODIR}/requires.txt 
126${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
127man/man1/logilab-pytest-${PYVERSSUFFIX}.1 131man/man1/logilab-pytest-${PYVERSSUFFIX}.1

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-logilab-common/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-logilab-common/distinfo 2019/07/06 22:56:03 1.7
+++ pkgsrc/devel/py-logilab-common/distinfo 2021/05/12 06:55:06 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2019/07/06 22:56:03 adam Exp $ 1$NetBSD: distinfo,v 1.8 2021/05/12 06:55:06 adam Exp $
2 2
3SHA1 (logilab-common-1.4.2.tar.gz) = b2e663f070d44bbfab14961f8cc2fb7884c67f5b 3SHA1 (logilab-common-1.8.1.tar.gz) = 05e5344de957da2a6f70be40513d3d65baf1fb74
4RMD160 (logilab-common-1.4.2.tar.gz) = 22202df3ea15bef7eb355a31d8563d8089377cde 4RMD160 (logilab-common-1.8.1.tar.gz) = 513edb7be1975c2536e07c3e73ff0dbdc1a521ed
5SHA512 (logilab-common-1.4.2.tar.gz) = 729635383a4dc2f941806f573baae3c2e1045c01f0bd3bfc8d588a4461ced1841b9e750031bc3b3b50e38724ec4eb8a2a26312835cdc06e7432243dd90c3c691 5SHA512 (logilab-common-1.8.1.tar.gz) = 417bf503a3baf34753e78a0d69eb0fd59eaa04e4c7237e54b856da6bb4f46efc3bb0e241789b3d4bfb41cda2b1dc94d6cabf1bd2a4cbb66b98eb66f9a9a3322a
6Size (logilab-common-1.4.2.tar.gz) = 178825 bytes 6Size (logilab-common-1.8.1.tar.gz) = 199196 bytes