pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/py-ansi py-ansi: updated to 0.3.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f11ebbaef79e
branches:  trunk
changeset: 373277:f11ebbaef79e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 10 14:30:24 2022 +0000

description:
py-ansi: updated to 0.3.6

0.3.6
Include py.typed marker to enable type checking of the installed package.

0.3.5
use 3rd party typing_extensions module for better version compatibility

0.3.4
Three minor versions were briefly released to resolve packaging/README issues with 0.3.1.

0.3.1
Deprecate Python 2 and versions earlier than 3.7 by adding type information. rgb() function no longer accepts strings of integers, only integers.
Add support for 8 and 24-bit True Color.

0.3.0

Broken, due to a configuration error this package is not installable

diffstat:

 misc/py-ansi/Makefile |  14 ++++++++++----
 misc/py-ansi/PLIST    |  31 ++++++++++---------------------
 misc/py-ansi/distinfo |   8 ++++----
 3 files changed, 24 insertions(+), 29 deletions(-)

diffs (100 lines):

diff -r 2051e267c1b2 -r f11ebbaef79e misc/py-ansi/Makefile
--- a/misc/py-ansi/Makefile     Thu Feb 10 14:25:07 2022 +0000
+++ b/misc/py-ansi/Makefile     Thu Feb 10 14:30:24 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/01/10 20:26:31 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/10 14:30:24 adam Exp $
 
-DISTNAME=      ansi-0.2.0
+DISTNAME=      ansi-0.3.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/ansi/}
 
@@ -13,5 +12,12 @@
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6.4:../../devel/py-typing-extensions
+.endif
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2051e267c1b2 -r f11ebbaef79e misc/py-ansi/PLIST
--- a/misc/py-ansi/PLIST        Thu Feb 10 14:25:07 2022 +0000
+++ b/misc/py-ansi/PLIST        Thu Feb 10 14:30:24 2022 +0000
@@ -1,45 +1,34 @@
-@comment $NetBSD: PLIST,v 1.5 2022/01/19 17:50:46 wiz Exp $
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.6 2022/02/10 14:30:24 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/ansi/__init__.py
 ${PYSITELIB}/ansi/__init__.pyc
-${PYSITELIB}/ansi/__init__.pyo
-${PYSITELIB}/ansi/_compat.py
-${PYSITELIB}/ansi/_compat.pyc
-${PYSITELIB}/ansi/_compat.pyo
 ${PYSITELIB}/ansi/color.py
 ${PYSITELIB}/ansi/color.pyc
-${PYSITELIB}/ansi/color.pyo
 ${PYSITELIB}/ansi/colour/__init__.py
 ${PYSITELIB}/ansi/colour/__init__.pyc
-${PYSITELIB}/ansi/colour/__init__.pyo
 ${PYSITELIB}/ansi/colour/base.py
 ${PYSITELIB}/ansi/colour/base.pyc
-${PYSITELIB}/ansi/colour/base.pyo
 ${PYSITELIB}/ansi/colour/bg.py
 ${PYSITELIB}/ansi/colour/bg.pyc
-${PYSITELIB}/ansi/colour/bg.pyo
 ${PYSITELIB}/ansi/colour/fg.py
 ${PYSITELIB}/ansi/colour/fg.pyc
-${PYSITELIB}/ansi/colour/fg.pyo
 ${PYSITELIB}/ansi/colour/fx.py
 ${PYSITELIB}/ansi/colour/fx.pyc
-${PYSITELIB}/ansi/colour/fx.pyo
 ${PYSITELIB}/ansi/colour/rgb.py
 ${PYSITELIB}/ansi/colour/rgb.pyc
-${PYSITELIB}/ansi/colour/rgb.pyo
 ${PYSITELIB}/ansi/cursor.py
 ${PYSITELIB}/ansi/cursor.pyc
-${PYSITELIB}/ansi/cursor.pyo
 ${PYSITELIB}/ansi/iterm.py
 ${PYSITELIB}/ansi/iterm.pyc
-${PYSITELIB}/ansi/iterm.pyo
 ${PYSITELIB}/ansi/osc.py
 ${PYSITELIB}/ansi/osc.pyc
-${PYSITELIB}/ansi/osc.pyo
+${PYSITELIB}/ansi/py.typed
 ${PYSITELIB}/ansi/sequence.py
 ${PYSITELIB}/ansi/sequence.pyc
-${PYSITELIB}/ansi/sequence.pyo
diff -r 2051e267c1b2 -r f11ebbaef79e misc/py-ansi/distinfo
--- a/misc/py-ansi/distinfo     Thu Feb 10 14:25:07 2022 +0000
+++ b/misc/py-ansi/distinfo     Thu Feb 10 14:30:24 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:59:22 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/02/10 14:30:24 adam Exp $
 
-BLAKE2s (ansi-0.2.0.tar.gz) = 16efa7105cc2c095a567e1f316c89714b65e275720e70c5020d5f62d51c4f70a
-SHA512 (ansi-0.2.0.tar.gz) = e86877083b3c8ef6d807a0ebc8164c7dcaf36c70f655b359dfb8d8f94a46698625a49256e966808e04c645b2e34bc0c8374a27c21d9ee5db918bea0bd0b2a0e5
-Size (ansi-0.2.0.tar.gz) = 4780 bytes
+BLAKE2s (ansi-0.3.6.tar.gz) = 2b78d98a549ec7202ce34b7789d60399c13cc4220d3c5309e81645c61601380f
+SHA512 (ansi-0.3.6.tar.gz) = 79d40a3865b67446950d8839c051bb1b48ea62dc564a355224eb98b231e26d2a732043b7e409ef863921f54f7ddda51e49fb6d8c59541b32a670b8131d209a60
+Size (ansi-0.3.6.tar.gz) = 7252 bytes



Home | Main Index | Thread Index | Old Index