Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2018 06:25:15 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472955 - head/devel/py-bullet3
Message-ID:  <201806210625.w5L6PFS6095650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jun 21 06:25:15 2018
New Revision: 472955
URL: https://svnweb.freebsd.org/changeset/ports/472955

Log:
  devel/py-bullet3: Prevent build failures on 12 by removing examples from the build
  
  Failures were only in examples, which aren't even needed.
  
  Reported by:	fallout

Modified:
  head/devel/py-bullet3/Makefile
  head/devel/py-bullet3/distinfo

Modified: head/devel/py-bullet3/Makefile
==============================================================================
--- head/devel/py-bullet3/Makefile	Thu Jun 21 05:57:43 2018	(r472954)
+++ head/devel/py-bullet3/Makefile	Thu Jun 21 06:25:15 2018	(r472955)
@@ -2,6 +2,7 @@
 
 PORTNAME=	bullet3
 DISTVERSION=	2.87
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -18,6 +19,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	bulletphysics
 USE_PYTHON=	autoplist distutils
 USE_GL=		gl glew
+
+post-patch: # remove examples because they fail: https://github.com/bulletphysics/bullet3/issues/1510, and they shouldn't be built anyway
+	@${REINPLACE_CMD} -E 's,"examples/.*\.(cpp|c|m)",,' ${WRKSRC}/setup.py
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet.so

Modified: head/devel/py-bullet3/distinfo
==============================================================================
--- head/devel/py-bullet3/distinfo	Thu Jun 21 05:57:43 2018	(r472954)
+++ head/devel/py-bullet3/distinfo	Thu Jun 21 06:25:15 2018	(r472955)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1513061059
+TIMESTAMP = 1529561825
 SHA256 (bulletphysics-bullet3-2.87_GH0.tar.gz) = 438c151c48840fe3f902ec260d9496f8beb26dba4b17769a4a53212903935f95
 SIZE (bulletphysics-bullet3-2.87_GH0.tar.gz) = 56691047



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806210625.w5L6PFS6095650>