Date: Wed, 17 Jul 2019 23:47:11 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506835 - in head/devel/py-nose2: . files Message-ID: <201907172347.x6HNlBiQ050528@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Jul 17 23:47:11 2019 New Revision: 506835 URL: https://svnweb.freebsd.org/changeset/ports/506835 Log: Update to 0.9.1 Changes: https://github.com/nose-devs/nose2/blob/master/docs/changelog.rst PR: 239262 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer) Modified: head/devel/py-nose2/Makefile head/devel/py-nose2/distinfo head/devel/py-nose2/files/patch-setup.py Modified: head/devel/py-nose2/Makefile ============================================================================== --- head/devel/py-nose2/Makefile Wed Jul 17 23:46:54 2019 (r506834) +++ head/devel/py-nose2/Makefile Wed Jul 17 23:47:11 2019 (r506835) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= nose2 -PORTVERSION= 0.8.0 -PORTREVISION= 1 +PORTVERSION= 0.9.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,11 +15,15 @@ LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.7:devel/py-six@${PY_FLAVOR} -py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} - USES= python +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -USE_PYTHON= autoplist concurrent distutils -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> Modified: head/devel/py-nose2/distinfo ============================================================================== --- head/devel/py-nose2/distinfo Wed Jul 17 23:46:54 2019 (r506834) +++ head/devel/py-nose2/distinfo Wed Jul 17 23:47:11 2019 (r506835) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539275660 -SHA256 (nose2-0.8.0.tar.gz) = 9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3 -SIZE (nose2-0.8.0.tar.gz) = 142142 +TIMESTAMP = 1563383261 +SHA256 (nose2-0.9.1.tar.gz) = 0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999 +SIZE (nose2-0.9.1.tar.gz) = 153897 Modified: head/devel/py-nose2/files/patch-setup.py ============================================================================== --- head/devel/py-nose2/files/patch-setup.py Wed Jul 17 23:46:54 2019 (r506834) +++ head/devel/py-nose2/files/patch-setup.py Wed Jul 17 23:47:11 2019 (r506835) @@ -1,13 +1,13 @@ Allow USE_PYTHON=concurrent to handle script renaming/linking for multiple Python versions. ---- setup.py.orig 2018-01-29 12:01:44 UTC +--- setup.py.orig 2019-04-02 15:52:32 UTC +++ setup.py -@@ -89,7 +89,6 @@ else: - params['entry_points'] = { - 'console_scripts': [ - '%s = nose2:discover' % SCRIPT1, -- '%s = nose2:discover' % SCRIPT2, - ], - } - params['install_requires'] = parse_requirements('requirements.txt') +@@ -41,7 +41,6 @@ setup( + entry_points={ + "console_scripts": [ + "nose2 = nose2:discover", +- "nose2-%s.%s = nose2:discover" % (py_version.major, py_version.minor), + ] + }, + test_suite="unittest.collector",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907172347.x6HNlBiQ050528>