summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-02-10 14:30:24 +0000
committeradam <adam@pkgsrc.org>2022-02-10 14:30:24 +0000
commitd5cf4c36ddd302469915c2ee177bc3b25abc436e (patch)
tree4ceae971e57e8ec8ab8cd135ec4d28652cc418ef /misc
parent0629cf6b8fb3aa7efa9155f88236ab5161ef2504 (diff)
downloadpkgsrc-d5cf4c36ddd302469915c2ee177bc3b25abc436e.tar.gz
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 (limited to 'misc')
-rw-r--r--misc/py-ansi/Makefile14
-rw-r--r--misc/py-ansi/PLIST31
-rw-r--r--misc/py-ansi/distinfo8
3 files changed, 24 insertions, 29 deletions
diff --git a/misc/py-ansi/Makefile b/misc/py-ansi/Makefile
index 54e5a0163f8..8dca707b3e4 100644
--- a/misc/py-ansi/Makefile
+++ b/misc/py-ansi/Makefile
@@ -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 @@ LICENSE= mit
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 --git a/misc/py-ansi/PLIST b/misc/py-ansi/PLIST
index 68e06622c91..79523633cee 100644
--- a/misc/py-ansi/PLIST
+++ b/misc/py-ansi/PLIST
@@ -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 --git a/misc/py-ansi/distinfo b/misc/py-ansi/distinfo
index d115e6726f0..392105cf467 100644
--- a/misc/py-ansi/distinfo
+++ b/misc/py-ansi/distinfo
@@ -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