From owner-svn-ports-branches@freebsd.org Wed Jan 10 12:41:05 2018 Return-Path: Delivered-To: svn-ports-branches@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 AC8E0E7E14A; Wed, 10 Jan 2018 12:41:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 867C37229B; Wed, 10 Jan 2018 12:41:05 +0000 (UTC) (envelope-from amdmi3@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 C375225A8B; Wed, 10 Jan 2018 12:41:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0ACf4UJ096740; Wed, 10 Jan 2018 12:41:04 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0ACf4Kx096739; Wed, 10 Jan 2018 12:41:04 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201801101241.w0ACf4Kx096739@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 10 Jan 2018 12:41:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r458626 - branches/2018Q1/security/py-cryptography X-SVN-Group: ports-branches X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: branches/2018Q1/security/py-cryptography X-SVN-Commit-Revision: 458626 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 12:41:05 -0000 Author: amdmi3 Date: Wed Jan 10 12:41:04 2018 New Revision: 458626 URL: https://svnweb.freebsd.org/changeset/ports/458626 Log: MFH: r458625 - Fix build on mips by disabling unknown warning flag Approved by: portmgr blanket With hat: ports-secteam Modified: branches/2018Q1/security/py-cryptography/Makefile Directory Properties: branches/2018Q1/ (props changed) Modified: branches/2018Q1/security/py-cryptography/Makefile ============================================================================== --- branches/2018Q1/security/py-cryptography/Makefile Wed Jan 10 12:35:02 2018 (r458625) +++ branches/2018Q1/security/py-cryptography/Makefile Wed Jan 10 12:41:04 2018 (r458626) @@ -25,16 +25,24 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.9.0:dev ${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${FLAVOR} # Python 2.7, 3.4-3.6 -USES= python ssl +USES= compiler:env python ssl USE_PYTHON= autoplist concurrent distutils CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 +post-patch: + @${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' \ + ${WRKSRC}/src/_cffi_src/build_openssl.py +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include