# Created by: Andrej Ebert # $FreeBSD: head/devel/py-rebulk/Makefile 559461 2020-12-28 11:18:12Z rhurlin $ PORTNAME= rebulk PORTVERSION= 3.0.1 DISTVERSIONPREFIX= v CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= andrej@ebert.su COMMENT= Python library that performs advanced searches in strings LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= Toilal NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e '/setup_requires/d' ${WRKSRC}/${PYSETUP} do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include