Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 468B47A275 for ; Sat, 28 Jan 2017 15:34:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id EAE02855B6; Sat, 28 Jan 2017 15:34:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7A79085598 for ; Sat, 28 Jan 2017 15:34:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id HFVOmiCGuJEw for ; Sat, 28 Jan 2017 15:34:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DBDC885585 for ; Sat, 28 Jan 2017 15:34:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id DA218FBA6; Sat, 28 Jan 2017 15:34:19 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1485617659450" MIME-Version: 1.0 Date: Sat, 28 Jan 2017 15:34:19 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-cffi To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170128153419.DA218FBA6@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1485617659450 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sat Jan 28 15:34:19 UTC 2017 Modified Files: pkgsrc/devel/py-cffi: Makefile Log Message: Run self-tests using py.test, better readable output. Remove mprotect comment; even with it turned off, a segfault happens. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-cffi/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1485617659450 Content-Disposition: inline Content-Length: 986 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-cffi/Makefile diff -u pkgsrc/devel/py-cffi/Makefile:1.23 pkgsrc/devel/py-cffi/Makefile:1.24 --- pkgsrc/devel/py-cffi/Makefile:1.23 Mon Nov 14 14:31:18 2016 +++ pkgsrc/devel/py-cffi/Makefile Sat Jan 28 15:34:19 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2016/11/14 14:31:18 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2017/01/28 15:34:19 wiz Exp $ DISTNAME= cffi-1.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -13,12 +13,10 @@ LICENSE= mit USE_TOOLS+= pkg-config DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test -NOT_PAX_MPROTECT_SAFE= ${PYSITELIB}/_cffi_backend.so - -# tests don't run on MPROTECT enabled systems, and I haven't found -# the magic to fix that, so workaround: -# sysctl -w security.pax.mprotect.global=0 +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} -v .include "../../devel/libffi/buildlink3.mk" .include "../../lang/python/egg.mk" --_----------=_1485617659450--