summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-11-06 18:19:52 +0000
committeradam <adam@pkgsrc.org>2022-11-06 18:19:52 +0000
commit833a9deb584c2719eccf86861a573f7888e8218d (patch)
tree8cdb97d28a2d48ae5f25b2cec89277f7b5bde051 /net
parent3c9ef9431129f5d451cf27170069887538bf4880 (diff)
downloadpkgsrc-833a9deb584c2719eccf86861a573f7888e8218d.tar.gz
py-portend: updated to 3.1.0
v3.1.0 ====== Require Python 3.7 or later. v3.0.0 ====== Removed legacy aliases ``wait_for_occupied_port`` and ``wait_for_free_port``. v2.7.2 ====== Packaging refresh. v2.7.1 ====== Fix host/port order. v2.7.0 ====== Refresh package. Require Python 3.6 or later.
Diffstat (limited to 'net')
-rw-r--r--net/py-portend/Makefile18
-rw-r--r--net/py-portend/distinfo8
2 files changed, 13 insertions, 13 deletions
diff --git a/net/py-portend/Makefile b/net/py-portend/Makefile
index af66ed81de4..197f99b7438 100644
--- a/net/py-portend/Makefile
+++ b/net/py-portend/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2022/01/13 19:31:21 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/11/06 18:19:52 adam Exp $
-DISTNAME= portend-2.6
+DISTNAME= portend-3.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/portend/}
@@ -11,17 +10,18 @@ HOMEPAGE= https://github.com/jaraco/portend
COMMENT= TCP port monitoring utilities
LICENSE= mit
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-tempora>=1.8:../../time/py-tempora
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
-# missing: pytest-black-multipy
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test setuptools_scm:build
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
do-test:
- cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test_portend.py
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test_portend.py
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-portend/distinfo b/net/py-portend/distinfo
index 803d0109ee0..1b92e4fae92 100644
--- a/net/py-portend/distinfo
+++ b/net/py-portend/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:06:41 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/11/06 18:19:52 adam Exp $
-BLAKE2s (portend-2.6.tar.gz) = acf4d13b77547c76123a7b43ec3d618eeb946cd736d63c4acbcaefd0ef2bda7b
-SHA512 (portend-2.6.tar.gz) = 9e53c668ba9d0ddb2e92d9b4c97d2b8a4d858a6fc44123414ee3c8ac433f51f50a4773ee08f85bb134e49aeace2a17baffd32962d36df0b19b505a2c6634bf7e
-Size (portend-2.6.tar.gz) = 12295 bytes
+BLAKE2s (portend-3.1.0.tar.gz) = 7debc9b88212e72740c0841d523c4a31b6857766275fae2804be09966bf3de74
+SHA512 (portend-3.1.0.tar.gz) = 017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf
+Size (portend-3.1.0.tar.gz) = 9448 bytes