# Created by: William Grzybowski # $FreeBSD: head/devel/py-jaraco.util13/Makefile 561252 2021-01-11 19:36:17Z rene $ PORTNAME= jaraco.util PORTVERSION= 13.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 13 MAINTAINER= sunpoet@FreeBSD.org COMMENT= General utility modules that supply commonly-used functionality LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}contextlib2>=0:devel/py-contextlib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jaraco.context>=0:devel/py-jaraco.context@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes # jaraco.util 14.0.0+ requires Python 3.6+ PORTSCOUT= limit:^13\. POST_PLIST= trim-jaraco-namespace post-install: @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__init__.py* -@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__/__init__.* -@${RMDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__ trim-jaraco-namespace: @${REINPLACE_CMD} '/jaraco\/__init__\./d; /jaraco\/__pycache__\/__init__\./d' ${TMPPLIST} .include