Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2021 00:06:52 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3dca15023259 - main - devel/py-testtools: Update to 2.5.0
Message-ID:  <202107160006.16G06qEW067620@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3dca15023259e6c61af13fcb8d21ca8b905307e2

commit 3dca15023259e6c61af13fcb8d21ca8b905307e2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-15 23:52:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-15 23:52:37 +0000

    devel/py-testtools: Update to 2.5.0
    
    - Convert REINPLACE_CMD to patch file
    
    Changes:        https://github.com/testing-cabal/testtools/releases
---
 devel/py-testtools/Makefile                     | 13 +++----------
 devel/py-testtools/distinfo                     |  6 +++---
 devel/py-testtools/files/patch-requirements.txt |  7 +++++++
 devel/py-testtools/pkg-descr                    |  1 -
 4 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/devel/py-testtools/Makefile b/devel/py-testtools/Makefile
index 12b2329d0c0b..97c9f0c89000 100644
--- a/devel/py-testtools/Makefile
+++ b/devel/py-testtools/Makefile
@@ -1,7 +1,7 @@
 # Created by: Carlo Strub
 
 PORTNAME=	testtools
-PORTVERSION=	2.4.0
+PORTVERSION=	2.5.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,13 +14,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=0.11:devel/py-pbr@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}extras>=1.0.0:devel/py-extras@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pbr>=0.11:devel/py-pbr@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-mimeparse>=0:devel/py-python-mimeparse@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}traceback2>=0:devel/py-traceback2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}unittest2>=1.0.0:devel/py-unittest2@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pbr>=0.11:devel/py-pbr@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.5+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
@@ -30,9 +26,6 @@ PORTDOCS=	api.rst for-framework-folk.rst for-test-authors.rst hacking.rst \
 
 OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^fixtures/d' ${WRKSRC}/requirements.txt
-
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}
diff --git a/devel/py-testtools/distinfo b/devel/py-testtools/distinfo
index 1b20f4e8ec5b..b5343e73748c 100644
--- a/devel/py-testtools/distinfo
+++ b/devel/py-testtools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585064069
-SHA256 (testtools-2.4.0.tar.gz) = 64c974a6cca4385d05f4bbfa2deca1c39ce88ede31c3448bee86a7259a9a61c8
-SIZE (testtools-2.4.0.tar.gz) = 233032
+TIMESTAMP = 1626383176
+SHA256 (testtools-2.5.0.tar.gz) = 57c13433d94f9ffde3be6534177d10fb0c1507cc499319128958ca91a65cb23f
+SIZE (testtools-2.5.0.tar.gz) = 235399
diff --git a/devel/py-testtools/files/patch-requirements.txt b/devel/py-testtools/files/patch-requirements.txt
new file mode 100644
index 000000000000..a6e8eb0038ae
--- /dev/null
+++ b/devel/py-testtools/files/patch-requirements.txt
@@ -0,0 +1,7 @@
+--- requirements.txt.orig	2021-07-14 18:29:13 UTC
++++ requirements.txt
+@@ -2,4 +2,3 @@ pbr>=0.11
+ # TODO(stephenfin): Remove this once fixtures no longer depends on extras
+ # or explicitly specifies the dependency
+ extras>=1.0.0
+-fixtures>=1.3.0
diff --git a/devel/py-testtools/pkg-descr b/devel/py-testtools/pkg-descr
index cea7453309b6..89fc8bcc653d 100644
--- a/devel/py-testtools/pkg-descr
+++ b/devel/py-testtools/pkg-descr
@@ -2,5 +2,4 @@ testtools is a set of extensions to the Python standard library's unit testing
 framework. These extensions have been derived from years of experience with unit
 testing in Python and come from many different sources.
 
-WWW: https://pypi.org/project/testtools/
 WWW: https://github.com/testing-cabal/testtools



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