v0.3.0 Breaking: Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string) Features: Adds random function to get a random color (thanks @azillion) Adds replace_color function to allow setting replacement for a given color (e.g. replace blue with magneta) (thanks @frostming) Adds reset_replace_color to reset any replacement colors set
18 lines
498 B
Makefile
18 lines
498 B
Makefile
# $NetBSD: Makefile,v 1.3 2019/11/06 17:31:40 adam Exp $
|
|
|
|
DISTNAME= crayons-0.3.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=c/crayons/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/kennethreitz/crayons
|
|
COMMENT= Colored string formatting for the terminal
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|