FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
32 lines
693 B
Makefile
32 lines
693 B
Makefile
# Created by: Andrej Ebert <andrej@ebert.su>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rebulk
|
|
PORTVERSION= 0.9.0
|
|
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
|
|
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 <bsd.port.mk>
|