From owner-svn-ports-all@freebsd.org Thu Mar 3 09:13:34 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91453A93837; Thu, 3 Mar 2016 09:13:34 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48500213; Thu, 3 Mar 2016 09:13:34 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u239DXu4072850; Thu, 3 Mar 2016 09:13:33 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u239DXAD072848; Thu, 3 Mar 2016 09:13:33 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201603030913.u239DXAD072848@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Thu, 3 Mar 2016 09:13:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410017 - head/devel/py-futures X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 09:13:34 -0000 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 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