pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new package



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jul 13 02:32:38 2016 +0100
Changeset:	a86cf9489f6fd5b88639922f3aa83bb9d1633cfe

Added Files:
	py-hmf/DESCR
	py-hmf/Makefile
	py-hmf/PLIST
	py-hmf/distinfo
	py-hmf/patches/patch-setup.py

Log Message:
new package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a86cf9489f6fd5b88639922f3aa83bb9d1633cfe

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-hmf/DESCR                  |  3 ++
 py-hmf/Makefile               | 25 +++++++++++++++++
 py-hmf/PLIST                  | 65 +++++++++++++++++++++++++++++++++++++++++++
 py-hmf/distinfo               |  7 +++++
 py-hmf/patches/patch-setup.py | 13 +++++++++
 5 files changed, 113 insertions(+)

diffs:
diff --git a/py-hmf/DESCR b/py-hmf/DESCR
new file mode 100644
index 0000000..df63562
--- /dev/null
+++ b/py-hmf/DESCR
@@ -0,0 +1,3 @@
+hmf is a python application that provides a flexible and simple way to calculate
+the Halo Mass Function for a range of varying parameters. It is also the backend
+to HMFcalc, the online HMF calculator.
diff --git a/py-hmf/Makefile b/py-hmf/Makefile
new file mode 100644
index 0000000..098c1af
--- /dev/null
+++ b/py-hmf/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	hmf-2.0.1
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	math python
+MASTER_SITES=	https://pypi.python.org/packages/68/8b/8c566eb5fcfed49470862cbab4b173cb3d93db34494b3a915dd2dbfaa45a/
+
+MAINTAINER=	jihbed.research%gmail.com@localhost
+HOMEPAGE=	https://github.com/steven-murray/hmf
+COMMENT=	Halo mass function calculator
+LICENSE=	mit
+
+DEPENDS+=     ${PYPKGPREFIX}-scipy>=0.17.0:../../math/py-scipy
+
+WRKSRC=		${WRKDIR}/hmf-2.0.1
+
+USE_LANGUAGES=	# none
+
+post-extract:
+	${MV} ${WRKSRC}/scripts/hmf  ${WRKSRC}/scripts/hmf${PYVERSSUFFIX}
+	${MV} ${WRKSRC}/scripts/hmf-fit  ${WRKSRC}/scripts/hmf-fit${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hmf/PLIST b/py-hmf/PLIST
new file mode 100644
index 0000000..3e42df9
--- /dev/null
+++ b/py-hmf/PLIST
@@ -0,0 +1,65 @@
+@comment $NetBSD$
+bin/hmf
+bin/hmf-fit
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hmf/__init__.py
+${PYSITELIB}/hmf/__init__.pyc
+${PYSITELIB}/hmf/__init__.pyo
+${PYSITELIB}/hmf/_cache.py
+${PYSITELIB}/hmf/_cache.pyc
+${PYSITELIB}/hmf/_cache.pyo
+${PYSITELIB}/hmf/_framework.py
+${PYSITELIB}/hmf/_framework.pyc
+${PYSITELIB}/hmf/_framework.pyo
+${PYSITELIB}/hmf/_utils.py
+${PYSITELIB}/hmf/_utils.pyc
+${PYSITELIB}/hmf/_utils.pyo
+${PYSITELIB}/hmf/cosmo.py
+${PYSITELIB}/hmf/cosmo.pyc
+${PYSITELIB}/hmf/cosmo.pyo
+${PYSITELIB}/hmf/filters.py
+${PYSITELIB}/hmf/filters.pyc
+${PYSITELIB}/hmf/filters.pyo
+${PYSITELIB}/hmf/fitting/__init__.py
+${PYSITELIB}/hmf/fitting/__init__.pyc
+${PYSITELIB}/hmf/fitting/__init__.pyo
+${PYSITELIB}/hmf/fitting/cli_tools.py
+${PYSITELIB}/hmf/fitting/cli_tools.pyc
+${PYSITELIB}/hmf/fitting/cli_tools.pyo
+${PYSITELIB}/hmf/fitting/fit.py
+${PYSITELIB}/hmf/fitting/fit.pyc
+${PYSITELIB}/hmf/fitting/fit.pyo
+${PYSITELIB}/hmf/fitting_functions.py
+${PYSITELIB}/hmf/fitting_functions.pyc
+${PYSITELIB}/hmf/fitting_functions.pyo
+${PYSITELIB}/hmf/functional.py
+${PYSITELIB}/hmf/functional.pyc
+${PYSITELIB}/hmf/functional.pyo
+${PYSITELIB}/hmf/growth_factor.py
+${PYSITELIB}/hmf/growth_factor.pyc
+${PYSITELIB}/hmf/growth_factor.pyo
+${PYSITELIB}/hmf/halofit.py
+${PYSITELIB}/hmf/halofit.pyc
+${PYSITELIB}/hmf/halofit.pyo
+${PYSITELIB}/hmf/hmf.py
+${PYSITELIB}/hmf/hmf.pyc
+${PYSITELIB}/hmf/hmf.pyo
+${PYSITELIB}/hmf/integrate_hmf.py
+${PYSITELIB}/hmf/integrate_hmf.pyc
+${PYSITELIB}/hmf/integrate_hmf.pyo
+${PYSITELIB}/hmf/sample.py
+${PYSITELIB}/hmf/sample.pyc
+${PYSITELIB}/hmf/sample.pyo
+${PYSITELIB}/hmf/transfer.py
+${PYSITELIB}/hmf/transfer.pyc
+${PYSITELIB}/hmf/transfer.pyo
+${PYSITELIB}/hmf/transfer_models.py
+${PYSITELIB}/hmf/transfer_models.pyc
+${PYSITELIB}/hmf/transfer_models.pyo
+${PYSITELIB}/hmf/wdm.py
+${PYSITELIB}/hmf/wdm.pyc
+${PYSITELIB}/hmf/wdm.pyo
diff --git a/py-hmf/distinfo b/py-hmf/distinfo
new file mode 100644
index 0000000..2c5adda
--- /dev/null
+++ b/py-hmf/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (hmf-2.0.1.tar.gz) = e4c6b8d6898942e6546079e0a95cbb4b1412f072
+RMD160 (hmf-2.0.1.tar.gz) = 99c6adceff0148a3b5af1224dcc0e450bccc3a4c
+SHA512 (hmf-2.0.1.tar.gz) = 85c4a69988cc41d3fcee718f82644dfed018326786574819b5c6acee984e2b4fb85dcb0998b01f79f3eddc8add6be6029ec7a3893e6b941c266dc0c9680166ae
+Size (hmf-2.0.1.tar.gz) = 56615 bytes
+SHA1 (patch-setup.py) = c59bf4626cc5846ea92ad4476a75fe8a98f3c95c
diff --git a/py-hmf/patches/patch-setup.py b/py-hmf/patches/patch-setup.py
new file mode 100644
index 0000000..862a5af
--- /dev/null
+++ b/py-hmf/patches/patch-setup.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- setup.py.orig	2016-05-02 02:31:15.000000000 +0000
++++ setup.py
+@@ -34,7 +34,7 @@ setup(
+     install_requires=["numpy>=1.6.2",
+                       "scipy>=0.12.0",
+                       "astropy>=1.0"],
+-    scripts=["scripts/hmf", "scripts/hmf-fit"],
++    scripts=["scripts/hmf"+sys.version[0:3], "scripts/hmf-fit"+sys.version[0:3],
+     author="Steven Murray",
+     author_email="steven.murray%uwa.edu.au@localhost",
+     description="A halo mass function calculator",


Home | Main Index | Thread Index | Old Index