git: a8b2b1161db1 - main - devel/py-mock: Update version 3.0.5=>4.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Mar 2022 10:40:29 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a8b2b1161db11f731563cbbbcd6558662b83b581
commit a8b2b1161db11f731563cbbbcd6558662b83b581
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-12 08:06:38 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:40:25 +0000
devel/py-mock: Update version 3.0.5=>4.0.3
Relnotes: https://github.com/testing-cabal/mock/releases/tag/4.0.3
---
devel/py-mock/Makefile | 6 ++----
devel/py-mock/distinfo | 6 +++---
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/devel/py-mock/Makefile b/devel/py-mock/Makefile
index b2670cfe0e9f..a139ecf4f7b9 100644
--- a/devel/py-mock/Makefile
+++ b/devel/py-mock/Makefile
@@ -1,7 +1,7 @@
# Created by: jessekempf@gmail.com
PORTNAME= mock
-PORTVERSION= 3.0.5
+PORTVERSION= 4.0.3
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,17 +11,15 @@ COMMENT= Rolling backport of unittest.mock for all Pythons
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes # tests not packages in PyPI sdist
+GH_ACCOUNT= testing-cabal
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-GH_ACCOUNT= testing-cabal
-
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
diff --git a/devel/py-mock/distinfo b/devel/py-mock/distinfo
index d75f9a0d7857..ff1440e643b5 100644
--- a/devel/py-mock/distinfo
+++ b/devel/py-mock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572976175
-SHA256 (testing-cabal-mock-3.0.5_GH0.tar.gz) = ff286cec703de8770f735269575ecb7d1c937b8851eba8de94d800df084e627c
-SIZE (testing-cabal-mock-3.0.5_GH0.tar.gz) = 67887
+TIMESTAMP = 1647072100
+SHA256 (testing-cabal-mock-4.0.3_GH0.tar.gz) = a6b89933b91a7cce566a999f29914e97e7e6d0002dff7fe2636d9b0028fcfa6d
+SIZE (testing-cabal-mock-4.0.3_GH0.tar.gz) = 80318