From owner-svn-ports-head@freebsd.org Sun May 13 20:32:43 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96EEBFD1805; Sun, 13 May 2018 20:32:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45F9A80AA2; Sun, 13 May 2018 20:32:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 285CF12696; Sun, 13 May 2018 20:32:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4DKWhwa010183; Sun, 13 May 2018 20:32:43 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4DKWgHN010178; Sun, 13 May 2018 20:32:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201805132032.w4DKWgHN010178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 13 May 2018 20:32:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469829 - in head/science: . py-gsd py-gsd/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . py-gsd py-gsd/files X-SVN-Commit-Revision: 469829 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2018 20:32:44 -0000 Author: yuri Date: Sun May 13 20:32:41 2018 New Revision: 469829 URL: https://svnweb.freebsd.org/changeset/ports/469829 Log: New port: science/py-gsd: GSD (General Simulation Data) file format for Python Added: head/science/py-gsd/ head/science/py-gsd/Makefile (contents, props changed) head/science/py-gsd/distinfo (contents, props changed) head/science/py-gsd/files/ head/science/py-gsd/files/patch-gsd_gsd.c (contents, props changed) head/science/py-gsd/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Sun May 13 20:30:03 2018 (r469828) +++ head/science/Makefile Sun May 13 20:32:41 2018 (r469829) @@ -169,6 +169,7 @@ SUBDIR += py-cdo SUBDIR += py-coards SUBDIR += py-dlib + SUBDIR += py-gsd SUBDIR += py-h5py SUBDIR += py-hcluster SUBDIR += py-mdp Added: head/science/py-gsd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-gsd/Makefile Sun May 13 20:32:41 2018 (r469829) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= gsd +DISTVERSION= 1.5.2 +CATEGORIES= science python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= GSD (General Simulation Data) file format for Python + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} +BUILD_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= distutils autoplist + +.include Added: head/science/py-gsd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-gsd/distinfo Sun May 13 20:32:41 2018 (r469829) @@ -0,0 +1,3 @@ +TIMESTAMP = 1526243034 +SHA256 (gsd-1.5.2.tar.gz) = 0ce73a9bc7b79968a2b96cc2b0934e2cbe11700adbd02b4b492fea1e3d4d51f4 +SIZE (gsd-1.5.2.tar.gz) = 198774 Added: head/science/py-gsd/files/patch-gsd_gsd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-gsd/files/patch-gsd_gsd.c Sun May 13 20:32:41 2018 (r469829) @@ -0,0 +1,10 @@ +--- gsd/gsd.c.orig 2018-05-13 20:11:47 UTC ++++ gsd/gsd.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "gsd.h" + Added: head/science/py-gsd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-gsd/pkg-descr Sun May 13 20:32:41 2018 (r469829) @@ -0,0 +1,22 @@ +A library to read and write GSD (General Simulation Data) file format. + +The package also contains a python module that reads and writes hoomd +schema gsd files with an easy to use syntax. + +Features: +* Efficiently store many frames of data from simulation runs. +* High performance file read and write. +* Support arbitrary chunks of data in each frame (position, orientation, + type, etc...). +* Append frames to an existing file with a monotonically increasing frame + number. +* Resilient to job kills. +* Variable number of named chunks in each frame. +* Variable size of chunks in each frame. +* Each chunk identifies data type. +* Common use cases: NxM arrays in double, float, int, char types. +* Generic use case: binary blob of N bytes. +* Easy to integrate into other tools with python, or a C API (< 1k lines). +* Fast random access to frames. + +WWW: https://bitbucket.org/glotzer/gsd