# Created by: Alexander Nusov # $FreeBSD: head/devel/py-pint/Makefile 555309 2020-11-15 18:02:42Z sunpoet $ PORTNAME= pint PORTVERSION= 0.16.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pint-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Physical quantities module LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} USES= python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes SHEBANG_FILES= pint/pint-convert .include .if ${PYTHON_REL} < 3700 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} .endif .if ${PYTHON_REL} < 3800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif .include