31f0992fea
Fix README rendering. 2.1.1 Restored use of ``portend.client_host`` during ``assert_free`` check on Windows, fixing check when the bind address is *ADDR_ANY. 2.1 Use tempora.timing.Timer from tempora 1.8, replacing boilerplate code in occupied and free functions. 2.0 Removed ``portend._getaddrinfo`` and its usage in ``Checker.assert_free``. Dropped support for Python 2.6.
23 lines
690 B
Makefile
23 lines
690 B
Makefile
# $NetBSD: Makefile,v 1.3 2017/07/19 17:23:09 adam Exp $
|
|
|
|
DISTNAME= portend-2.1.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/portend/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/jaraco/portend
|
|
COMMENT= TCP port monitoring utilities
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-tempora>=1.8:../../time/py-tempora
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|