Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 05:03:09 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499936 - in head/net/py-port-for: . files
Message-ID:  <201904250503.x3P539xm048412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Apr 25 05:03:09 2019
New Revision: 499936
URL: https://svnweb.freebsd.org/changeset/ports/499936

Log:
  net/py-port-for: Update to 0.4
  
    - Remove setup.py patch, no longer required.

Deleted:
  head/net/py-port-for/files/
Modified:
  head/net/py-port-for/Makefile
  head/net/py-port-for/distinfo

Modified: head/net/py-port-for/Makefile
==============================================================================
--- head/net/py-port-for/Makefile	Thu Apr 25 04:56:30 2019	(r499935)
+++ head/net/py-port-for/Makefile	Thu Apr 25 05:03:09 2019	(r499936)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	port-for
-PORTVERSION=	0.3.1
-PORTREVISION=	1
+PORTVERSION=	0.4
 CATEGORIES=	net devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +13,7 @@ COMMENT=	Utility that helps with local TCP ports manag
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=0.8:devel/py-mock@${PY_FLAVOR}
 
 USES=		python
@@ -26,6 +25,8 @@ post-patch:
 	@${REINPLACE_CMD} '/DEFAULT_CONFIG_PATH/ s|/etc|${PREFIX}&|' ${WRKSRC}/port_for/store.py
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest \
+		--ignore port_for/_download_ranges.py \
+		--doctest-modules port_for port_for/tests.py
 
 .include <bsd.port.mk>

Modified: head/net/py-port-for/distinfo
==============================================================================
--- head/net/py-port-for/distinfo	Thu Apr 25 04:56:30 2019	(r499935)
+++ head/net/py-port-for/distinfo	Thu Apr 25 05:03:09 2019	(r499936)
@@ -1,2 +1,3 @@
-SHA256 (port-for-0.3.1.tar.gz) = b16a84bb29c2954db44c29be38b17c659c9c27e33918dec16b90d375cc596f1c
-SIZE (port-for-0.3.1.tar.gz) = 18652
+TIMESTAMP = 1533611371
+SHA256 (port-for-0.4.tar.gz) = 47b5cb48f8e036497cd73b96de305cecb4070e9ecbc908724afcbd2224edccde
+SIZE (port-for-0.4.tar.gz) = 19450



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904250503.x3P539xm048412>