svn commit: r559819 - in head/graphics: . py-box2d-py py-box2d-py/files

Kurt Jaeger pi at FreeBSD.org
Fri Jan 1 10:00:14 UTC 2021


Author: pi
Date: Fri Jan  1 10:00:12 2021
New Revision: 559819
URL: https://svnweb.freebsd.org/changeset/ports/559819

Log:
  New port: graphics/py-box2d-py: 2D physics library Box2D 2.3 for usage in Python
  
  2D physics library Box2D 2.3 for usage in Python.
  
  WWW: https://pypi.org/project/box2d-py/
  
  PR:		252152
  Submitted by:	Neel Chauhan <neel at neelc.org>

Added:
  head/graphics/py-box2d-py/
  head/graphics/py-box2d-py/Makefile   (contents, props changed)
  head/graphics/py-box2d-py/distinfo   (contents, props changed)
  head/graphics/py-box2d-py/files/
  head/graphics/py-box2d-py/files/pkg-message.in   (contents, props changed)
  head/graphics/py-box2d-py/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Jan  1 09:56:21 2021	(r559818)
+++ head/graphics/Makefile	Fri Jan  1 10:00:12 2021	(r559819)
@@ -808,6 +808,7 @@
     SUBDIR += py-beziers
     SUBDIR += py-blockdiag
     SUBDIR += py-blockdiagcontrib-cisco
+    SUBDIR += py-box2d-py
     SUBDIR += py-cairo
     SUBDIR += py-cairocffi
     SUBDIR += py-cairosvg

Added: head/graphics/py-box2d-py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-box2d-py/Makefile	Fri Jan  1 10:00:12 2021	(r559819)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	box2d-py
+DISTVERSION=	2.3.8
+CATEGORIES=	graphics
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	neel at neelc.org
+COMMENT=	2D physics library Box2D 2.3 for usage in Python
+
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	swig:devel/swig
+LIB_DEPENDS=	libBox2D.so:misc/box2d
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+SUB_FILES=	pkg-message
+
+.include <bsd.port.mk>

Added: head/graphics/py-box2d-py/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-box2d-py/distinfo	Fri Jan  1 10:00:12 2021	(r559819)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1608953978
+SHA256 (box2d-py-2.3.8.tar.gz) = bdacfbbc56079bb317548efe49d3d5a86646885cc27f4a2ee97e4b2960921ab7
+SIZE (box2d-py-2.3.8.tar.gz) = 374458

Added: head/graphics/py-box2d-py/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-box2d-py/files/pkg-message.in	Fri Jan  1 10:00:12 2021	(r559819)
@@ -0,0 +1,9 @@
+[
+{ type: install
+  message: <<EOM
+There is no Tensorflow port currently in FreeBSD ports tree that is required
+by Keras by default. To make Keras work with Theano backend, one needs to modify
+theirs $HOME/.keras/keras.json file and set "backend" option to "theano".
+EOM
+}
+]

Added: head/graphics/py-box2d-py/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-box2d-py/pkg-descr	Fri Jan  1 10:00:12 2021	(r559819)
@@ -0,0 +1,3 @@
+2D physics library Box2D 2.3 for usage in Python.
+
+WWW: https://pypi.org/project/box2d-py/


More information about the svn-ports-head mailing list