From owner-svn-ports-head@freebsd.org Mon Dec 31 15:11:15 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C814714376DD; Mon, 31 Dec 2018 15:11:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 675A76FD97; Mon, 31 Dec 2018 15:11:15 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0932AC54A; Mon, 31 Dec 2018 15:11:15 +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 wBVFBET3098510; Mon, 31 Dec 2018 15:11:14 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBVFBE2r098509; Mon, 31 Dec 2018 15:11:14 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201812311511.wBVFBE2r098509@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 31 Dec 2018 15:11:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488791 - head/devel/py-stevedore X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/devel/py-stevedore X-SVN-Commit-Revision: 488791 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 675A76FD97 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 15:11:16 -0000 Author: koobs Date: Mon Dec 31 15:11:14 2018 New Revision: 488791 URL: https://svnweb.freebsd.org/changeset/ports/488791 Log: devel/py-stevedor: Add missing runtime dependency stevedor uses pbr, which declares its build time (setup_requires) dependency on it in setup.py. This is used to bootstrap pbr, which the package then uses to declare other dependencies in setup.cfg or requirements.txt files. stevedore declares the following in its requirements.txt file: pbr!=2.1.0,>=2.0.0 # Apache-2.0 six>=1.10.0 # MIT These are install_requires (RUN_DEPENDS), normally declared in setup.py files for most python packages, notably except for those that use pbr. ports r465381 inadvertently removed pbr from RUN_DEPENDS because it wasn't listed in setup.py, which causes all consumers of stevedore to fail at runtime, including multimedia/py-subliminal [1], with the following error: pkg_resources.DistributionNotFound: The 'pbr!=2.1.0,>=2.0.0' distribution was not found stevedore This has happened before [2]. Accordingly, this change re-adds pbr as a RUN_DEPENDS, and adds a comment explaining that it's required at runtime, with references to previous regressions to avoid footshooting in the future. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234529 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197373 PR: 234529 Reported by: Luís Carneiro Approved by: portmgr (blanket: run time, dependency fix, jfi) MFH: 2018Q4 Modified: head/devel/py-stevedore/Makefile Modified: head/devel/py-stevedore/Makefile ============================================================================== --- head/devel/py-stevedore/Makefile Mon Dec 31 14:21:42 2018 (r488790) +++ head/devel/py-stevedore/Makefile Mon Dec 31 15:11:14 2018 (r488791) @@ -3,6 +3,7 @@ PORTNAME= stevedore PORTVERSION= 1.29.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +14,16 @@ COMMENT= Manage dynamic plugins for Python application LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +# pbr is a RUN_DEPENDS too, just declared elsewhere (requirements.txt) +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234529 +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197373 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} -NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils + +NO_ARCH= yes .include