mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
484f021be9
PR: 259819 Reported by: Andrej Ebert <andrej@ebert.su> (maintainer)
33 lines
707 B
Makefile
33 lines
707 B
Makefile
# Created by: Andrej Ebert <andrej@ebert.su>
|
|
|
|
PORTNAME= rebulk
|
|
PORTVERSION= 3.1.0
|
|
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 <bsd.port.mk>
|