Import py27-pyflation-0.2.2 as wip/py-pyflation.

Pyflation is a Python package for calculating cosmological perturbations
during an inflationary expansion of the universe
This commit is contained in:
Kamel Ibn Aziz Derouiche 2012-07-02 10:37:53 +00:00 committed by Thomas Klausner
parent 4c0f3f7288
commit 87a338e70c
5 changed files with 133 additions and 0 deletions

2
py-pyflation/DESCR Normal file
View file

@ -0,0 +1,2 @@
Pyflation is a Python package for calculating cosmological perturbations
during an inflationary expansion of the universe

35
py-pyflation/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2012/07/02 10:37:53 jihbed Exp $
#
DISTNAME= pyflation-0.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= science python
MASTER_SITES= http://pyflation.ianhuston.net/files/pyflation/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://pyflation.ianhuston.net/
COMMENT= Calculating cosmological perturbations during an inflationary
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-pytables>=2.2.1:../../math/py-pytables
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.7.2:../../math/py-scipy
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
USE_LANGUAGES= c
post-extract:
${MV} ${WRKSRC}/bin/pyflation_combine.py ${WRKSRC}/bin/pyflation_combine.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_firstorder.py ${WRKSRC}/bin/pyflation_firstorder.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_newrun.py ${WRKSRC}/bin/pyflation_newrun.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_qsubstart.py ${WRKSRC}/bin/pyflation_qsubstart.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_secondorder.py ${WRKSRC}/bin/pyflation_secondorder.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_source.py ${WRKSRC}/bin/pyflation_source.py${PYVERSSUFFIX}
${MV} ${WRKSRC}/bin/pyflation_srcmerge.py ${WRKSRC}/bin/pyflation_srcmerge.py${PYVERSSUFFIX}
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

57
py-pyflation/PLIST Normal file
View file

@ -0,0 +1,57 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/07/02 10:37:53 jihbed Exp $
bin/pyflation_combine.py2.7
bin/pyflation_firstorder.py2.7
bin/pyflation_newrun.py2.7
bin/pyflation_qsubstart.py2.7
bin/pyflation_secondorder.py2.7
bin/pyflation_source.py2.7
bin/pyflation_srcmerge.py2.7
${PYSITELIB}/pyflation/__init__.py
${PYSITELIB}/pyflation/__init__.pyc
${PYSITELIB}/pyflation/__init__.pyo
${PYSITELIB}/pyflation/analysis/__init__.py
${PYSITELIB}/pyflation/analysis/__init__.pyc
${PYSITELIB}/pyflation/analysis/__init__.pyo
${PYSITELIB}/pyflation/analysis/adiabatic.py
${PYSITELIB}/pyflation/analysis/adiabatic.pyc
${PYSITELIB}/pyflation/analysis/adiabatic.pyo
${PYSITELIB}/pyflation/analysis/nonadiabatic.py
${PYSITELIB}/pyflation/analysis/nonadiabatic.pyc
${PYSITELIB}/pyflation/analysis/nonadiabatic.pyo
${PYSITELIB}/pyflation/analysis/utilities.py
${PYSITELIB}/pyflation/analysis/utilities.pyc
${PYSITELIB}/pyflation/analysis/utilities.pyo
${PYSITELIB}/pyflation/cmpotentials.py
${PYSITELIB}/pyflation/cmpotentials.pyc
${PYSITELIB}/pyflation/cmpotentials.pyo
${PYSITELIB}/pyflation/configuration.py
${PYSITELIB}/pyflation/configuration.pyc
${PYSITELIB}/pyflation/configuration.pyo
${PYSITELIB}/pyflation/cosmographs.py
${PYSITELIB}/pyflation/cosmographs.pyc
${PYSITELIB}/pyflation/cosmographs.pyo
${PYSITELIB}/pyflation/cosmomodels.py
${PYSITELIB}/pyflation/cosmomodels.pyc
${PYSITELIB}/pyflation/cosmomodels.pyo
${PYSITELIB}/pyflation/helpers.py
${PYSITELIB}/pyflation/helpers.pyc
${PYSITELIB}/pyflation/helpers.pyo
${PYSITELIB}/pyflation/qsub-sh.template
${PYSITELIB}/pyflation/rk4.py
${PYSITELIB}/pyflation/rk4.pyc
${PYSITELIB}/pyflation/rk4.pyo
${PYSITELIB}/pyflation/romberg.so
${PYSITELIB}/pyflation/run_config.template
${PYSITELIB}/pyflation/sohelpers.py
${PYSITELIB}/pyflation/sohelpers.pyc
${PYSITELIB}/pyflation/sohelpers.pyo
${PYSITELIB}/pyflation/sourceterm/__init__.py
${PYSITELIB}/pyflation/sourceterm/__init__.pyc
${PYSITELIB}/pyflation/sourceterm/__init__.pyo
${PYSITELIB}/pyflation/sourceterm/sosource.py
${PYSITELIB}/pyflation/sourceterm/sosource.pyc
${PYSITELIB}/pyflation/sourceterm/sosource.pyo
${PYSITELIB}/pyflation/sourceterm/srccython.so
${PYSITELIB}/pyflation/sourceterm/srcequations.py
${PYSITELIB}/pyflation/sourceterm/srcequations.pyc
${PYSITELIB}/pyflation/sourceterm/srcequations.pyo

6
py-pyflation/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2012/07/02 10:37:53 jihbed Exp $
SHA1 (pyflation-0.2.2.tar.gz) = 2b2ec982c867a41e09a05a72e30acbe51a780d1d
RMD160 (pyflation-0.2.2.tar.gz) = e792a65a6f09a44415ac7bff609e60c8692dab4c
Size (pyflation-0.2.2.tar.gz) = 152874 bytes
SHA1 (patch-setup.py) = c8e89dd6959da75f587cf612b88d13f9800a445a

View file

@ -0,0 +1,33 @@
$NetBSD: patch-setup.py,v 1.1.1.1 2012/07/02 10:37:53 jihbed Exp $
--- setup.py.orig 2012-05-03 11:33:55.000000000 +0100
+++ setup.py 2012-05-15 14:49:13.000000000 +0100
@@ -8,6 +8,7 @@
#For license and copyright information see LICENSE.txt which was distributed with this file.
+import sys
from distutils.core import setup
from distutils.extension import Extension
@@ -52,13 +53,13 @@
url='http://pyflation.ianhuston.net',
packages=['pyflation', 'pyflation.sourceterm',
'pyflation.analysis'],
- scripts=['bin/pyflation_firstorder.py',
- 'bin/pyflation_source.py',
- 'bin/pyflation_secondorder.py',
- 'bin/pyflation_combine.py',
- 'bin/pyflation_srcmerge.py',
- 'bin/pyflation_qsubstart.py',
- 'bin/pyflation_newrun.py'],
+ scripts=['bin/pyflation_firstorder.py'+sys.version[0:3],
+ 'bin/pyflation_source.py'+sys.version[0:3],
+ 'bin/pyflation_secondorder.py'+sys.version[0:3],
+ 'bin/pyflation_combine.py'+sys.version[0:3],
+ 'bin/pyflation_srcmerge.py'+sys.version[0:3],
+ 'bin/pyflation_qsubstart.py'+sys.version[0:3],
+ 'bin/pyflation_newrun.py'+sys.version[0:3]],
package_data={'pyflation': ['qsub-sh.template',
'run_config.template']},
cmdclass = cmdclass,