ports/142294: [new port]: haskell port math/hs-statistics

Jacula Modyun jacula at gmail.com
Mon Jan 4 00:00:17 UTC 2010


>Number:         142294
>Category:       ports
>Synopsis:       [new port]: haskell port math/hs-statistics
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 04 00:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

This library provides a number of common functions and types useful in statistics.
Our focus is on high performance, numerical robustness, and use of good algorithms.
Where possible, we provide references to the statistical literature.

The library's facilities can be divided into three broad categories:

Working with widely used discrete and continuous probability distributions.
(There are dozens of exotic distributions in use; we focus on the most common.)

Computing with sample data: quantile estimation, kernel density estimation,
bootstrap methods, and autocorrelation analysis.

Random variate generation under several different distributions. 

http://hackage.haskell.org/package/statistics

>How-To-Repeat:
	
>Fix:

	

--- hs-statistics.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hs-statistics
#	hs-statistics/Makefile
#	hs-statistics/distinfo
#	hs-statistics/pkg-plist
#	hs-statistics/pkg-descr
#
echo c - hs-statistics
mkdir -p hs-statistics > /dev/null 2>&1
echo x - hs-statistics/Makefile
sed 's/^X//' >hs-statistics/Makefile << 'be557dd31334d301f388edc80abe569d'
X# New ports collection makefile for: hs-statistics
X# Date created:        January 03 2010
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X
XPORTNAME=	statistics
XPORTVERSION=	0.4.1
XCATEGORIES=	math haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula at gmail.com
XCOMMENT=	A library of statistical types, data, and functions
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-uvector>=0.1.0.4:${PORTSDIR}/devel/hs-uvector \
X		hs-uvector-algorithms>=0.2:${PORTSDIR}/devel/hs-uvector-algorithms \
X		hs-erf>=1.0.0.0:${PORTSDIR}/math/hs-erf \
X		hs-mwc-random>=0.4.1.1:${PORTSDIR}/math/hs-mwc-random
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-uvector>=0.1.0.4:${PORTSDIR}/devel/hs-uvector \
X		hs-uvector-algorithms>=0.2:${PORTSDIR}/devel/hs-uvector-algorithms \
X		hs-erf>=1.0.0.0:${PORTSDIR}/math/hs-erf \
X		hs-mwc-random>=0.4.1.1:${PORTSDIR}/math/hs-mwc-random
X
XGHC_VERSION=		6.10.4
XSTATISTICS_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDATADIR=		${PREFIX}/share/${DISTNAME}
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XSTATISTICS_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		STATISTICS_VERSION=${STATISTICS_VERSION} \
X		STATISTICS_LIBDIR_REL=${STATISTICS_LIBDIR_REL}
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=	NOPORTDOCS=""
X.else
XPLIST_SUB+=	NOPORTDOCS="@comment "
X.endif
X
X.if !defined(NOPORTDOCS)
X
XPORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
X.if !empty(PORT_HADDOCK:M?0)
XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
X.endif
XBUILD_DEPENDS+=	HsColour:${PORTSDIR}/print/hs-hscolour
X
XHSCOLOUR_VERSION=	1.15
XHSCOLOUR_DATADIR=	${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
X
XPORTDOCS=	*
X.endif
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.lhs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build \
X		     && ${SETUP_CMD} register --gen-script
X
X.if !defined(NOPORTDOCS)
X	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
X					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && ${SETUP_CMD} install \
X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${STATISTICS_LIBDIR_REL}/register.sh
X	${MKDIR} ${DATADIR} && ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
be557dd31334d301f388edc80abe569d
echo x - hs-statistics/distinfo
sed 's/^X//' >hs-statistics/distinfo << '9203c2a57b8f65a4e732cfc0f1f1c4b3'
XMD5 (statistics-0.4.1.tar.gz) = c2718dd1c30c85f2d691ffcfbc98e697
XSHA256 (statistics-0.4.1.tar.gz) = ecda5fbaea659602ac5a5f0809a29638d52ef970e76d7b5656579536cd5e7e4c
XSIZE (statistics-0.4.1.tar.gz) = 22146
9203c2a57b8f65a4e732cfc0f1f1c4b3
echo x - hs-statistics/pkg-plist
sed 's/^X//' >hs-statistics/pkg-plist << 'dd18261b08fff212abc4f3996f8c5083'
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSstatistics-%%STATISTICS_VERSION%%.o
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Autocorrelation.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Constants.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Binomial.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Exponential.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Gamma.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Geometric.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Hypergeometric.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Normal.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution/Poisson.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Function.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Internal.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/KernelDensity.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Math.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Quantile.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/RandomVariate.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Resampling.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Resampling/Bootstrap.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Sample.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Sample/Powers.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Types.hi
X%%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSstatistics-%%STATISTICS_VERSION%%.a
X%%STATISTICS_LIBDIR_REL%%/register.sh
X%%DATADIR%%/README
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X at dirrmtry %%DATADIR%%
X at dirrm %%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Sample
X at dirrm %%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Resampling
X at dirrm %%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics/Distribution
X at dirrm %%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Statistics
X at dirrm %%STATISTICS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X at dirrm %%STATISTICS_LIBDIR_REL%%
X at exec /bin/sh %D/%%STATISTICS_LIBDIR_REL%%/register.sh
X at exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec %D/bin/ghc-pkg unregister statistics
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
dd18261b08fff212abc4f3996f8c5083
echo x - hs-statistics/pkg-descr
sed 's/^X//' >hs-statistics/pkg-descr << 'a3ce276f12bbddf707209225c75a4a78'
XThis library provides a number of common functions and types useful
Xin statistics. Our focus is on high performance, numerical
Xrobustness, and use of good algorithms. Where possible, we provide
Xreferences to the statistical literature.
X
XThe library's facilities can be divided into three broad categories:
X
XWorking with widely used discrete and continuous probability
Xdistributions. (There are dozens of exotic distributions in use; we
Xfocus on the most common.)
X
XComputing with sample data: quantile estimation, kernel density
Xestimation, bootstrap methods, and autocorrelation analysis.
X
XRandom variate generation under several different distributions.
X
XWWW: http://darcs.serpentine.com/statistics
a3ce276f12bbddf707209225c75a4a78
exit
--- hs-statistics.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list