1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

devel/py-testtools: Update to 2.5.0

- Convert REINPLACE_CMD to patch file

Changes:	https://github.com/testing-cabal/testtools/releases
This commit is contained in:
Po-Chuan Hsieh 2021-07-16 07:52:37 +08:00
parent df161c189e
commit 3dca150232
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 13 additions and 14 deletions

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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