From owner-svn-ports-head@freebsd.org Tue Jul 26 19:39:44 2016 Return-Path: Delivered-To: svn-ports-head@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 F0E8BBA5B12; Tue, 26 Jul 2016 19:39:44 +0000 (UTC) (envelope-from olivierd@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 C393518CE; Tue, 26 Jul 2016 19:39:44 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6QJdivo029723; Tue, 26 Jul 2016 19:39:44 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6QJdiKE029722; Tue, 26 Jul 2016 19:39:44 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201607261939.u6QJdiKE029722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Tue, 26 Jul 2016 19:39:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419149 - head/net/py-urllib3 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 26 Jul 2016 19:39:45 -0000 Author: olivierd Date: Tue Jul 26 19:39:43 2016 New Revision: 419149 URL: https://svnweb.freebsd.org/changeset/ports/419149 Log: Make security/py-certifi conditional, because this module is already included in Python >= 3.4 Reported by: demon@ (private email) Modified: head/net/py-urllib3/Makefile Modified: head/net/py-urllib3/Makefile ============================================================================== --- head/net/py-urllib3/Makefile Tue Jul 26 19:35:03 2016 (r419148) +++ head/net/py-urllib3/Makefile Tue Jul 26 19:39:43 2016 (r419149) @@ -13,8 +13,7 @@ COMMENT= Enhance HTTP Python's standard LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi \ - ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks \ ${PYTHON_PKGNAMEPREFIX}ndg_httpsclient>=0.4.1:net/py-ndg_httpsclient USES= python @@ -23,6 +22,10 @@ NO_ARCH= yes .include +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi +.endif + post-extract: .if ${PYTHON_REL} >= 3000 @${RM} ${WRKSRC}/urllib3/contrib/pyopenssl.py