diff --git a/graphics/py-webcolors/Makefile b/graphics/py-webcolors/Makefile index 396e41af197c..05068487bc7d 100644 --- a/graphics/py-webcolors/Makefile +++ b/graphics/py-webcolors/Makefile @@ -1,27 +1,30 @@ PORTNAME= webcolors -PORTVERSION= 1.8.1 +PORTVERSION= 1.13 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Library working with the sRGB color space as used in the HTML and CSS WWW= https://github.com/ubernostrum/webcolors LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.6+ -USE_PYTHON= distutils autoplist +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist pep517 NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= README.rst OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/py-webcolors/distinfo b/graphics/py-webcolors/distinfo index 4bb35a5c4668..bc9573fbe3a1 100644 --- a/graphics/py-webcolors/distinfo +++ b/graphics/py-webcolors/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1523862026 -SHA256 (webcolors-1.8.1.tar.gz) = 030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59 -SIZE (webcolors-1.8.1.tar.gz) = 33118 +TIMESTAMP = 1681779281 +SHA256 (webcolors-1.13.tar.gz) = c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a +SIZE (webcolors-1.13.tar.gz) = 41152 diff --git a/graphics/py-webcolors/pkg-descr b/graphics/py-webcolors/pkg-descr index 402ef2579a39..6da47282f038 100644 --- a/graphics/py-webcolors/pkg-descr +++ b/graphics/py-webcolors/pkg-descr @@ -1,12 +1,11 @@ -webcolors is a Python (2.7, 3.4+) module for working with HTML/CSS -color definitions. +webcolors is a module for working with HTML/CSS color definitions. Support is included for normalizing and converting between the following formats (RGB colorspace only; conversion to/from HSL can be handled by the colorsys module in the Python standard library): * Specification-defined color names * Six-digit hexadecimal * Three-digit hexadecimal * Integer rgb() triplet * Percentage rgb() triplet