1PORTNAME= gflanguages 2PORTVERSION= 0.7.5 3PORTREVISION= 1 4CATEGORIES= x11-fonts python 5MASTER_SITES= PYPI 6PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 7 8MAINTAINER= ports@MidnightBSD.org 9COMMENT= Python API for evaluating language support in the Google Fonts collection 10WWW= https://github.com/googlefonts/lang 11 12LICENSE= Apache-2.0 13LICENSE_FILE= ${WRKSRC}/LICENSE.txt 14 15BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \ 16 ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ 17 ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} 18RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} 19 20USES= python 21USE_PYTHON= autoplist concurrent pep517 22 23NO_ARCH= yes 24 25.include <bsd.port.pre.mk> 26 27.if ${PYTHON_REL} < 31000 28RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} 29.endif 30 31.include <bsd.port.post.mk> 32