From d34dcba6204a8007b137387463eaf2a752e3fef1 Mon Sep 17 00:00:00 2001 From: Kamel Ibn Aziz Derouiche Date: Sat, 1 Aug 2015 22:31:16 +0000 Subject: [PATCH] Import py27-rebound-2.3.0 as wip/py-rebound. REBOUND is an N-body integrator, i.e. a software package that can integrate the motion of particles under the influence of gravity. The particles can represent stars, planets, moons, ring or dust particlesCVS: ---------------------------------------------------------------------- --- py-rebound/DESCR | 3 +++ py-rebound/Makefile | 14 ++++++++++++++ py-rebound/PLIST | 31 +++++++++++++++++++++++++++++++ py-rebound/distinfo | 6 ++++++ py-rebound/patches/patch-setup.py | 13 +++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 py-rebound/DESCR create mode 100644 py-rebound/Makefile create mode 100644 py-rebound/PLIST create mode 100644 py-rebound/distinfo create mode 100644 py-rebound/patches/patch-setup.py diff --git a/py-rebound/DESCR b/py-rebound/DESCR new file mode 100644 index 0000000000..212ff46ac1 --- /dev/null +++ b/py-rebound/DESCR @@ -0,0 +1,3 @@ +REBOUND is an N-body integrator, i.e. a software package that can integrate +the motion of particles under the influence of gravity. The particles can +represent stars, planets, moons, ring or dust particles \ No newline at end of file diff --git a/py-rebound/Makefile b/py-rebound/Makefile new file mode 100644 index 0000000000..e750343b9f --- /dev/null +++ b/py-rebound/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1 2015/08/01 22:31:16 jihbed Exp $ + +DISTNAME= rebound-2.3.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= math +MASTER_SITES= https://pypi.python.org/packages/source/r/rebound/ + +MAINTAINER= jihbed.research@gmail.com +HOMEPAGE= http://github.com/hannorein/rebound +COMMENT= Open-source multi-purpose N-body code +LICENSE= gnu-gpl-v3 + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/py-rebound/PLIST b/py-rebound/PLIST new file mode 100644 index 0000000000..dab8a67729 --- /dev/null +++ b/py-rebound/PLIST @@ -0,0 +1,31 @@ +@comment $NetBSD: PLIST,v 1.1 2015/08/01 22:31:16 jihbed Exp $ +${PYSITELIB}/librebound.so +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/rebound/__init__.py +${PYSITELIB}/rebound/__init__.pyc +${PYSITELIB}/rebound/__init__.pyo +${PYSITELIB}/rebound/data.py +${PYSITELIB}/rebound/data.pyc +${PYSITELIB}/rebound/data.pyo +${PYSITELIB}/rebound/debug.py +${PYSITELIB}/rebound/debug.pyc +${PYSITELIB}/rebound/debug.pyo +${PYSITELIB}/rebound/horizons.py +${PYSITELIB}/rebound/horizons.pyc +${PYSITELIB}/rebound/horizons.pyo +${PYSITELIB}/rebound/interruptible_pool.py +${PYSITELIB}/rebound/interruptible_pool.pyc +${PYSITELIB}/rebound/interruptible_pool.pyo +${PYSITELIB}/rebound/particle.py +${PYSITELIB}/rebound/particle.pyc +${PYSITELIB}/rebound/particle.pyo +${PYSITELIB}/rebound/simulation.py +${PYSITELIB}/rebound/simulation.pyc +${PYSITELIB}/rebound/simulation.pyo +${PYSITELIB}/rebound/units.py +${PYSITELIB}/rebound/units.pyc +${PYSITELIB}/rebound/units.pyo diff --git a/py-rebound/distinfo b/py-rebound/distinfo new file mode 100644 index 0000000000..bb07c39fc1 --- /dev/null +++ b/py-rebound/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/08/01 22:31:16 jihbed Exp $ + +SHA1 (rebound-2.3.0.tar.gz) = baf58214e15f4766faf6dc51a38bde5071652034 +RMD160 (rebound-2.3.0.tar.gz) = 6df07a2d0a64a6238f0cca4b67388a0d19d81456 +Size (rebound-2.3.0.tar.gz) = 89705 bytes +SHA1 (patch-setup.py) = d7192cda8e8264a9b063c28c3d663371ea7ba33a diff --git a/py-rebound/patches/patch-setup.py b/py-rebound/patches/patch-setup.py new file mode 100644 index 0000000000..c2623cd4be --- /dev/null +++ b/py-rebound/patches/patch-setup.py @@ -0,0 +1,13 @@ +$NetBSD: patch-setup.py,v 1.1 2015/08/01 22:31:16 jihbed Exp $ + +--- setup.py.orig 2015-07-30 16:44:56.000000000 +0000 ++++ setup.py +@@ -25,7 +25,7 @@ libreboundmodule = Extension('librebound + ], + include_dirs = ['src'], + define_macros=[ ('LIBREBOUND', None) ], +- extra_compile_args=['-fstrict-aliasing', '-O3','-std=c99','-march=native','-Wno-unknown-pragmas', '-DLIBREBOUND', '-D_GNU_SOURCE', '-fPIC'], ++ extra_compile_args=['-fstrict-aliasing', '-O3','-std=c99','-Wno-unknown-pragmas', '-DLIBREBOUND', '-D_GNU_SOURCE', '-fPIC'], + ) + + here = os.path.abspath(os.path.dirname(__file__))