Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 10:00:13 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559819 - in head/graphics: . py-box2d-py py-box2d-py/files
Message-ID:  <202101011000.101A0Dp2088261@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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/



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