pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-logilab-common py-logilab-common: updated to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a332337c83d
branches:  trunk
changeset: 452499:1a332337c83d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 12 06:55:06 2021 +0000

description:
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'

diffstat:

 devel/py-logilab-common/Makefile |  15 ++++++++-------
 devel/py-logilab-common/PLIST    |  20 ++++++++++++--------
 devel/py-logilab-common/distinfo |  10 +++++-----
 3 files changed, 25 insertions(+), 20 deletions(-)

diffs (103 lines):

diff -r 99ff7895309b -r 1a332337c83d devel/py-logilab-common/Makefile
--- a/devel/py-logilab-common/Makefile  Wed May 12 06:31:06 2021 +0000
+++ b/devel/py-logilab-common/Makefile  Wed May 12 06:55:06 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2020/08/31 23:07:01 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2021/05/12 06:55:06 adam Exp $
 
-DISTNAME=      logilab-common-1.4.2
+DISTNAME=      logilab-common-1.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/logilab-common/}
@@ -10,9 +10,9 @@
 COMMENT=       Useful miscellaneous modules used by Logilab projects
 LICENSE=       gnu-lgpl-v2.1
 
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
-
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools
+DEPENDS+=      ${PYPKGPREFIX}-mypy_extensions-[0-9]*:../../lang/py-mypy_extensions
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -24,12 +24,13 @@
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} logilab-pytest logilab-pytest-${PYVERSSUFFIX} || ${TRUE}
-       ${INSTALL_MAN} ${WRKSRC}/doc/logilab-pytest.1 \
+       ${INSTALL_MAN} ${WRKSRC}/docs/logilab-pytest.1 \
        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/logilab-pytest-${PYVERSSUFFIX}.1
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 99ff7895309b -r 1a332337c83d devel/py-logilab-common/PLIST
--- a/devel/py-logilab-common/PLIST     Wed May 12 06:31:06 2021 +0000
+++ b/devel/py-logilab-common/PLIST     Wed May 12 06:55:06 2021 +0000
@@ -1,5 +1,12 @@
-@comment $NetBSD: PLIST,v 1.5 2019/07/06 22:56:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/05/12 06:55:06 adam Exp $
 bin/logilab-pytest-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
 ${PYSITELIB}/logilab/common/__init__.py
 ${PYSITELIB}/logilab/common/__init__.pyc
 ${PYSITELIB}/logilab/common/__init__.pyo
@@ -57,6 +64,7 @@
 ${PYSITELIB}/logilab/common/proc.py
 ${PYSITELIB}/logilab/common/proc.pyc
 ${PYSITELIB}/logilab/common/proc.pyo
+${PYSITELIB}/logilab/common/py.typed
 ${PYSITELIB}/logilab/common/pytest.py
 ${PYSITELIB}/logilab/common/pytest.pyc
 ${PYSITELIB}/logilab/common/pytest.pyo
@@ -87,6 +95,9 @@
 ${PYSITELIB}/logilab/common/tree.py
 ${PYSITELIB}/logilab/common/tree.pyc
 ${PYSITELIB}/logilab/common/tree.pyo
+${PYSITELIB}/logilab/common/types.py
+${PYSITELIB}/logilab/common/types.pyc
+${PYSITELIB}/logilab/common/types.pyo
 ${PYSITELIB}/logilab/common/umessage.py
 ${PYSITELIB}/logilab/common/umessage.pyc
 ${PYSITELIB}/logilab/common/umessage.pyo
@@ -117,11 +128,4 @@
 ${PYSITELIB}/logilab/common/xmlutils.py
 ${PYSITELIB}/logilab/common/xmlutils.pyc
 ${PYSITELIB}/logilab/common/xmlutils.pyo
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 man/man1/logilab-pytest-${PYVERSSUFFIX}.1
diff -r 99ff7895309b -r 1a332337c83d devel/py-logilab-common/distinfo
--- a/devel/py-logilab-common/distinfo  Wed May 12 06:31:06 2021 +0000
+++ b/devel/py-logilab-common/distinfo  Wed May 12 06:55:06 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/07/06 22:56:03 adam Exp $
+$NetBSD: distinfo,v 1.8 2021/05/12 06:55:06 adam Exp $
 
-SHA1 (logilab-common-1.4.2.tar.gz) = b2e663f070d44bbfab14961f8cc2fb7884c67f5b
-RMD160 (logilab-common-1.4.2.tar.gz) = 22202df3ea15bef7eb355a31d8563d8089377cde
-SHA512 (logilab-common-1.4.2.tar.gz) = 729635383a4dc2f941806f573baae3c2e1045c01f0bd3bfc8d588a4461ced1841b9e750031bc3b3b50e38724ec4eb8a2a26312835cdc06e7432243dd90c3c691
-Size (logilab-common-1.4.2.tar.gz) = 178825 bytes
+SHA1 (logilab-common-1.8.1.tar.gz) = 05e5344de957da2a6f70be40513d3d65baf1fb74
+RMD160 (logilab-common-1.8.1.tar.gz) = 513edb7be1975c2536e07c3e73ff0dbdc1a521ed
+SHA512 (logilab-common-1.8.1.tar.gz) = 417bf503a3baf34753e78a0d69eb0fd59eaa04e4c7237e54b856da6bb4f46efc3bb0e241789b3d4bfb41cda2b1dc94d6cabf1bd2a4cbb66b98eb66f9a9a3322a
+Size (logilab-common-1.8.1.tar.gz) = 199196 bytes



Home | Main Index | Thread Index | Old Index