svn commit: r563634 - head/devel/py-black

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Feb 1 19:26:08 UTC 2021


Author: sunpoet
Date: Mon Feb  1 19:26:05 2021
New Revision: 563634
URL: https://svnweb.freebsd.org/changeset/ports/563634

Log:
  Add COLORAMA option
  
  - Bump PORTREVISION for dependency change

Modified:
  head/devel/py-black/Makefile

Modified: head/devel/py-black/Makefile
==============================================================================
--- head/devel/py-black/Makefile	Mon Feb  1 19:25:59 2021	(r563633)
+++ head/devel/py-black/Makefile	Mon Feb  1 19:26:05 2021	(r563634)
@@ -2,6 +2,7 @@
 
 PORTNAME=	black
 PORTVERSION=	20.8b1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,11 +28,14 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	D
+OPTIONS_DEFINE=	COLORAMA D
+OPTIONS_DEFAULT=COLORAMA
+COLORAMA_DESC=	Color support
 D_DESC=		Blackd HTTP server
 
-D_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.3.2:www/py-aiohttp@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}aiohttp_cors>=0:www/py-aiohttp_cors@${PY_FLAVOR}
+COLORAMA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3:devel/py-colorama@${PY_FLAVOR}
+D_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.3.2:www/py-aiohttp@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}aiohttp_cors>=0:www/py-aiohttp_cors@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 


More information about the svn-ports-all mailing list