Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 18:49:45 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542778 - in head/ftp/py-aioftp: . files
Message-ID:  <202007211849.06LInjkh078765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jul 21 18:49:44 2020
New Revision: 542778
URL: https://svnweb.freebsd.org/changeset/ports/542778

Log:
  - Update to 0.16.1

Added:
  head/ftp/py-aioftp/files/
  head/ftp/py-aioftp/files/patch-tests_test__pathio.py   (contents, props changed)
Modified:
  head/ftp/py-aioftp/Makefile
  head/ftp/py-aioftp/distinfo

Modified: head/ftp/py-aioftp/Makefile
==============================================================================
--- head/ftp/py-aioftp/Makefile	Tue Jul 21 18:45:57 2020	(r542777)
+++ head/ftp/py-aioftp/Makefile	Tue Jul 21 18:49:44 2020	(r542778)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	aioftp
-PORTVERSION=	0.15.0
+PORTVERSION=	0.16.1
 CATEGORIES=	ftp python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,13 +17,14 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py
 		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}trustme>=0:security/py-trustme@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}async_timeout>0:devel/py-async_timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}siosocks>0:net/py-siosocks@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>

Modified: head/ftp/py-aioftp/distinfo
==============================================================================
--- head/ftp/py-aioftp/distinfo	Tue Jul 21 18:45:57 2020	(r542777)
+++ head/ftp/py-aioftp/distinfo	Tue Jul 21 18:49:44 2020	(r542778)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578494689
-SHA256 (aioftp-0.15.0.tar.gz) = dd59b80d2406a99af56229ec743d53ce23c0445dc1f30c267ca3f054178a87a0
-SIZE (aioftp-0.15.0.tar.gz) = 48036
+TIMESTAMP = 1594816546
+SHA256 (aioftp-0.16.1.tar.gz) = 4a0e01a1c310a99b638838784d8fc820defa04d8cd4eaa2503907d8338791f67
+SIZE (aioftp-0.16.1.tar.gz) = 49074

Added: head/ftp/py-aioftp/files/patch-tests_test__pathio.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/py-aioftp/files/patch-tests_test__pathio.py	Tue Jul 21 18:49:44 2020	(r542778)
@@ -0,0 +1,11 @@
+--- tests/test_pathio.py.orig	2020-07-09 13:12:10 UTC
++++ tests/test_pathio.py
+@@ -252,7 +252,7 @@ async def test_unlink_not_exist(path_io, temp_dir):
+ 
+ @pytest.mark.asyncio
+ async def test_unlink_on_dir(path_io, temp_dir):
+-    with universal_exception_reason(IsADirectoryError):
++    with universal_exception_reason(IsADirectoryError, PermissionError):
+         await path_io.unlink(temp_dir)
+ 
+ 



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