svn commit: r470374 - in head/devel: . py-xarray

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat May 19 11:06:06 UTC 2018


Author: sunpoet
Date: Sat May 19 11:06:04 2018
New Revision: 470374
URL: https://svnweb.freebsd.org/changeset/ports/470374

Log:
  Add py-xarray 0.10.4
  
  xarray (formerly xray) is an open source project and Python package that aims to
  bring the labeled data power of pandas to the physical sciences, by providing
  N-dimensional variants of the core pandas data structures.
  
  Our goal is to provide a pandas-like and pandas-compatible toolkit for analytics
  on multi-dimensional arrays, rather than the tabular data for which pandas
  excels. Our approach adopts the Common Data Model for self- describing
  scientific data in widespread use in the Earth sciences: xarray.Dataset is an
  in-memory representation of a netCDF file.
  
  WWW: https://pypi.org/project/xarray/
  WWW: https://github.com/pydata/xarray

Added:
  head/devel/py-xarray/
  head/devel/py-xarray/Makefile   (contents, props changed)
  head/devel/py-xarray/distinfo   (contents, props changed)
  head/devel/py-xarray/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat May 19 10:32:30 2018	(r470373)
+++ head/devel/Makefile	Sat May 19 11:06:04 2018	(r470374)
@@ -5095,6 +5095,7 @@
     SUBDIR += py-wsgitools
     SUBDIR += py-wsgiutils
     SUBDIR += py-wsme
+    SUBDIR += py-xarray
     SUBDIR += py-xattr
     SUBDIR += py-xcaplib
     SUBDIR += py-xdg

Added: head/devel/py-xarray/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-xarray/Makefile	Sat May 19 11:06:04 2018	(r470374)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	xarray
+PORTVERSION=	0.10.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	N-D labeled arrays and datasets in Python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=0.18.0:math/py-pandas@${FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.7.1:devel/py-pytest@${FLAVOR}
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>

Added: head/devel/py-xarray/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-xarray/distinfo	Sat May 19 11:06:04 2018	(r470374)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526676169
+SHA256 (xarray-0.10.4.tar.gz) = 64c2d07b75b8ea1320cba521818a2f09107f5f46514d50ff5ef1c4d5da90aaf1
+SIZE (xarray-0.10.4.tar.gz) = 1414769

Added: head/devel/py-xarray/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-xarray/pkg-descr	Sat May 19 11:06:04 2018	(r470374)
@@ -0,0 +1,12 @@
+xarray (formerly xray) is an open source project and Python package that aims to
+bring the labeled data power of pandas to the physical sciences, by providing
+N-dimensional variants of the core pandas data structures.
+
+Our goal is to provide a pandas-like and pandas-compatible toolkit for analytics
+on multi-dimensional arrays, rather than the tabular data for which pandas
+excels. Our approach adopts the Common Data Model for self- describing
+scientific data in widespread use in the Earth sciences: xarray.Dataset is an
+in-memory representation of a netCDF file.
+
+WWW: https://pypi.org/project/xarray/
+WWW: https://github.com/pydata/xarray


More information about the svn-ports-all mailing list