Date: Thu, 3 Mar 2016 09:13:33 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410017 - head/devel/py-futures Message-ID: <201603030913.u239DXAD072848@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Thu Mar 3 09:13:32 2016 New Revision: 410017 URL: https://svnweb.freebsd.org/changeset/ports/410017 Log: devel/py-futures: Update to 3.0.5 - Update PORTVERSION and distinfo checksum (3.0.5) - Correctly limit to Python versions < 3. :2 means depend on lang/python2 (for the python2 symlink), which is an incorrect specification. - Enable NO_ARCH (architecture independent) - Add a comment above the test target to inform our future selves to increase the number of POSIX semaphores using sysctl. FreeBSD currently defaults to 30, and I don't believe there's a "blessed" way to have tests run as root to do this programatically. Without increasing the value, many tests are skipped: skipped 'system provides too few semaphores (30 available, 256 necessary)' Changes: https://github.com/agronholm/pythonfutures/blob/3.0.5/CHANGES Modified: head/devel/py-futures/Makefile head/devel/py-futures/distinfo Modified: head/devel/py-futures/Makefile ============================================================================== --- head/devel/py-futures/Makefile Thu Mar 3 08:58:13 2016 (r410016) +++ head/devel/py-futures/Makefile Thu Mar 3 09:13:32 2016 (r410017) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= futures -PORTVERSION= 3.0.3 +PORTVERSION= 3.0.5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +13,15 @@ COMMENT= Backport of the concurrent.futu LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:2 +USES= python:-2.7 USE_PYTHON= autoplist distutils -regression-test: build +NO_ARCH= yes + +# Some tests require 256 semaphores. Set the following sysctl(8) +# before running tests: sysctl p1003_1b.sem_nsems_max=512 + +do-test: @cd ${WRKSRC} && ${PYTHON_CMD} test_futures.py .include <bsd.port.mk> Modified: head/devel/py-futures/distinfo ============================================================================== --- head/devel/py-futures/distinfo Thu Mar 3 08:58:13 2016 (r410016) +++ head/devel/py-futures/distinfo Thu Mar 3 09:13:32 2016 (r410017) @@ -1,2 +1,2 @@ -SHA256 (futures-3.0.3.tar.gz) = 2fe2342bb4fe8b8e217f0d21b5921cbe5408bf966d9f92025e707e881b198bed -SIZE (futures-3.0.3.tar.gz) = 24959 +SHA256 (futures-3.0.5.tar.gz) = 0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df +SIZE (futures-3.0.5.tar.gz) = 25153
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603030913.u239DXAD072848>