svn commit: r566265 - in head/devel/py-bullet3: . files

Yuri Victorovich yuri at FreeBSD.org
Mon Feb 22 05:15:23 UTC 2021


Author: yuri
Date: Mon Feb 22 05:15:22 2021
New Revision: 566265
URL: https://svnweb.freebsd.org/changeset/ports/566265

Log:
  devel/py-bullet3: Fix examples from the manual by not removing the examples/ directory.
  
  Reported by:	Henrik Gulbrandsen <henrik at gulbra.net> (via e-mail)

Deleted:
  head/devel/py-bullet3/files/
Modified:
  head/devel/py-bullet3/Makefile

Modified: head/devel/py-bullet3/Makefile
==============================================================================
--- head/devel/py-bullet3/Makefile	Mon Feb 22 04:37:35 2021	(r566264)
+++ head/devel/py-bullet3/Makefile	Mon Feb 22 05:15:22 2021	(r566265)
@@ -2,6 +2,7 @@
 
 PORTNAME=	bullet3
 DISTVERSION=	3.08
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,13 +13,11 @@ LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		compiler:c++11-lang gl localbase python:3.6+
-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
+USE_GITHUB=	yes
+GH_ACCOUNT=	bulletphysics
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet*.so


More information about the svn-ports-all mailing list