devel/py-nose2: Update to 0.9.2 [1]

- Add TEST_DEPENDS / test target to improve QA
  - Add comment for setup.py patch to describe why its there

Changelog:

  https://github.com/nose-devs/nose2/blob/0.9.2/docs/changelog.rst

PR:		245030 [1]
Submitted by:	Daniel Ylitalo <daniel blodan se> [1]
This commit is contained in:
Kubilay Kocak 2020-03-25 04:16:25 +00:00
parent f29fe00fc3
commit 590c7d1869
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529075
3 changed files with 12 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nose2
PORTVERSION= 0.9.1
PORTVERSION= 0.9.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -26,4 +26,9 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR}
.endif
TEST_ENV= PYTHONPATH=${WRKSRC}
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose2.__main__ -v --pretty-assert
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1563383261
SHA256 (nose2-0.9.1.tar.gz) = 0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999
SIZE (nose2-0.9.1.tar.gz) = 153897
TIMESTAMP = 1585107798
SHA256 (nose2-0.9.2.tar.gz) = 8762f77925bbafcdf38331e0e2ee718756fb75ff74b1f9097cd08731ad59ab5e
SIZE (nose2-0.9.2.tar.gz) = 154695

View file

@ -1,5 +1,6 @@
Allow USE_PYTHON=concurrent to handle script renaming/linking for multiple
Python versions.
# Upstream creates a nose2-X.Y script name already
# Port uses concurrent, which creates nose2-X.Y-X.Y
# duplicate suffix
--- setup.py.orig 2019-04-02 15:52:32 UTC
+++ setup.py