2017-12-03 17:38:09 +00:00
|
|
|
PORTNAME= portend
|
2019-10-25 09:55:05 +00:00
|
|
|
PORTVERSION= 2.5
|
2020-04-08 02:24:00 +00:00
|
|
|
PORTREVISION= 1
|
2017-12-03 17:38:09 +00:00
|
|
|
CATEGORIES= net python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= k@stereochro.me
|
|
|
|
COMMENT= Monitors TCP ports for bound or unbound states
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2018-06-20 17:05:41 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
|
2021-01-11 19:36:17 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tempora>=1.8:devel/py-tempora@${PY_FLAVOR}
|
2019-10-25 09:55:05 +00:00
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.5:devel/py-pytest@${PY_FLAVOR}
|
2017-12-03 17:38:09 +00:00
|
|
|
|
2020-12-28 23:02:12 +00:00
|
|
|
USES= python:3.6+
|
2017-12-03 17:38:09 +00:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2019-06-30 19:41:36 +00:00
|
|
|
|
2017-12-03 17:38:09 +00:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
2019-10-25 09:55:05 +00:00
|
|
|
# Ignore non-compulsory dependencies (flake8, etc.) from pytest.ini via "-o"
|
|
|
|
do-test:
|
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -o addopts=''
|
|
|
|
|
2021-01-11 19:36:17 +00:00
|
|
|
.include <bsd.port.mk>
|