pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-colored
Module Name: pkgsrc
Committed By: adam
Date: Sun Aug 6 07:30:24 UTC 2023
Modified Files:
pkgsrc/textproc/py-colored: Makefile PLIST distinfo
Log Message:
py-colored: updated to 2.2.3
Version 2.2.3 - (07-07-2023)
Fixed
Typing error
Version 2.2.2 - (26-06-2023)
Added
Set for environment variable $COLORTERM
Updated
Maximum number range for RGB colors
Version 2.2.1 - (25-06-2023)
Updated
Exception InvalidNavigation -> InvalidControl
Version 2.2.0 - (24-06-2023)
Added
CSI (Control Sequence Introducer) sequences
SGR (Select Graphic Rendition) parameter style underline color
Support RGB color schema
Updated
cprint() to support RGB colors
Fixed
Typo for style 'underlined', changed to 'underline'
Version 2.1.1 - (20-06-2023)
Updated
Legacy support versions 1.x.x:
Functions fg(), bg(), attr() are back until deprecated to the future.
Class attributes fore, back and style will be available also but instead imported them directly, you can use like the examples below:
from colored.foreground import fore
from colored.background import back
from colored.attributes import style
Version 2.1.0 - (20-06-2023)
Updated
Updated library for default values
Replace function show_colour() with cprint()
Added
cprint(text, foreground='', background='', formatting='', reset=True, **kwargs) function
Version 2.0.0 - (19-06-2023)
Updated
Coding style
For typing hints
Class names:
fore -> Fore
back -> Back
style -> Style
Function names:
fg() -> fore()
bg() -> back()
attr() -> style()
Class attributes styles and colors in lower case, example:
Fore.red is the same Fore.RED
Style.bold is the same Style.BOLD
Added
Documentation site: https://dslackw.gitlab.io/colored
Styles italic and strikeout
Function show_colour()
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-colored/Makefile \
pkgsrc/textproc/py-colored/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-colored/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-colored/Makefile
diff -u pkgsrc/textproc/py-colored/Makefile:1.8 pkgsrc/textproc/py-colored/Makefile:1.9
--- pkgsrc/textproc/py-colored/Makefile:1.8 Thu Nov 17 17:32:56 2022
+++ pkgsrc/textproc/py-colored/Makefile Sun Aug 6 07:30:24 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/11/17 17:32:56 adam Exp $
+# $NetBSD: Makefile,v 1.9 2023/08/06 07:30:24 adam Exp $
-DISTNAME= colored-1.4.4
+DISTNAME= colored-2.2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/colored/}
@@ -10,9 +10,11 @@ HOMEPAGE= https://gitlab.com/dslackw/col
COMMENT= Python library for coloring terminal text
LICENSE= mit
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2.0:../../devel/py-flit_core
+
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+PYTHON_VERSIONS_INCOMPATIBLE= 27 38
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-colored/distinfo
diff -u pkgsrc/textproc/py-colored/distinfo:1.8 pkgsrc/textproc/py-colored/distinfo:1.9
--- pkgsrc/textproc/py-colored/distinfo:1.8 Thu Nov 17 17:32:56 2022
+++ pkgsrc/textproc/py-colored/distinfo Sun Aug 6 07:30:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2022/11/17 17:32:56 adam Exp $
+$NetBSD: distinfo,v 1.9 2023/08/06 07:30:24 adam Exp $
-BLAKE2s (colored-1.4.4.tar.gz) = 9ed07ede34c1a12310264aa112523fc615d643191ef374242993fdf82815b267
-SHA512 (colored-1.4.4.tar.gz) = 80139bae82499dc83cf1f4751703dcb6d18a10f90046c1e794705aa0e5da4cebb3f8493bf654e4074074631a6068e181a84353b330c04c772646abdab3994c5f
-Size (colored-1.4.4.tar.gz) = 36786 bytes
+BLAKE2s (colored-2.2.3.tar.gz) = f10feb1a91bb1156ddc86b9ce99afcaff5b7f73554893435271052b33c5e6bb6
+SHA512 (colored-2.2.3.tar.gz) = 710bf7383621be9901cee4655af1068fb666329cbd94ca800a9db32d50ae4163b40eecfd81419cfed478d17217b15bfe93b2899e48bdb4dc0b59bb976c4eda77
+Size (colored-2.2.3.tar.gz) = 13209 bytes
Index: pkgsrc/textproc/py-colored/PLIST
diff -u pkgsrc/textproc/py-colored/PLIST:1.3 pkgsrc/textproc/py-colored/PLIST:1.4
--- pkgsrc/textproc/py-colored/PLIST:1.3 Sun Jul 29 13:45:22 2018
+++ pkgsrc/textproc/py-colored/PLIST Sun Aug 6 07:30:24 2023
@@ -1,26 +1,29 @@
-@comment $NetBSD: PLIST,v 1.3 2018/07/29 13:45:22 nia Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2023/08/06 07:30:24 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
${PYSITELIB}/colored/__init__.py
-${PYSITELIB}/colored/__init__.pyo
${PYSITELIB}/colored/__init__.pyc
-${PYSITELIB}/colored/back.pyo
-${PYSITELIB}/colored/back.pyc
-${PYSITELIB}/colored/colored.pyo
-${PYSITELIB}/colored/colored.pyc
-${PYSITELIB}/colored/colors.pyo
-${PYSITELIB}/colored/colors.pyc
-${PYSITELIB}/colored/fore.pyo
-${PYSITELIB}/colored/fore.pyc
-${PYSITELIB}/colored/hex.pyo
-${PYSITELIB}/colored/hex.pyc
-${PYSITELIB}/colored/style.pyo
-${PYSITELIB}/colored/style.pyc
-${PYSITELIB}/colored/back.py
+${PYSITELIB}/colored/attributes.py
+${PYSITELIB}/colored/attributes.pyc
+${PYSITELIB}/colored/background.py
+${PYSITELIB}/colored/background.pyc
${PYSITELIB}/colored/colored.py
-${PYSITELIB}/colored/colors.py
-${PYSITELIB}/colored/fore.py
-${PYSITELIB}/colored/hex.py
-${PYSITELIB}/colored/style.py
+${PYSITELIB}/colored/colored.pyc
+${PYSITELIB}/colored/controls.py
+${PYSITELIB}/colored/controls.pyc
+${PYSITELIB}/colored/cprint.py
+${PYSITELIB}/colored/cprint.pyc
+${PYSITELIB}/colored/exceptions.py
+${PYSITELIB}/colored/exceptions.pyc
+${PYSITELIB}/colored/foreground.py
+${PYSITELIB}/colored/foreground.pyc
+${PYSITELIB}/colored/hexadecimal.py
+${PYSITELIB}/colored/hexadecimal.pyc
+${PYSITELIB}/colored/library.py
+${PYSITELIB}/colored/library.pyc
+${PYSITELIB}/colored/utilities.py
+${PYSITELIB}/colored/utilities.pyc
Home |
Main Index |
Thread Index |
Old Index