Skip to content

Commit

Permalink
science/py-libgetar: New port: Library to read and write GEneric Traj…
Browse files Browse the repository at this point in the history
…ectory ARchives
  • Loading branch information
yurivict committed Jun 27, 2022
1 parent e5b105c commit f0fd466
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions science/Makefile
Expand Up @@ -295,6 +295,7 @@
SUBDIR += py-kinematics
SUBDIR += py-kliff
SUBDIR += py-liac-arff
SUBDIR += py-libgetar
SUBDIR += py-libpysal
SUBDIR += py-lifelines
SUBDIR += py-mdp
Expand Down
29 changes: 29 additions & 0 deletions science/py-libgetar/Makefile
@@ -0,0 +1,29 @@
PORTNAME= libgetar
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.3
CATEGORIES= science # physics
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= Library to read and write GEneric Trajectory ARchives

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}breathe>0:devel/py-breathe@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}

USES= python
USE_PYTHON= distutils cython autoplist pytest # tests fail, see https://github.com/glotzerlab/libgetar/issues/29

USE_GITHUB= yes
GH_ACCOUNT= glotzerlab

TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gtar/_gtar${PYTHON_EXT_SUFFIX}.so

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions science/py-libgetar/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1656349194
SHA256 (glotzerlab-libgetar-v1.1.3_GH0.tar.gz) = 04ec2e9107920018771e43e8db3b53970e39fb6006c821f6fdb30b658eab43ba
SIZE (glotzerlab-libgetar-v1.1.3_GH0.tar.gz) = 2603015
5 changes: 5 additions & 0 deletions science/py-libgetar/pkg-descr
@@ -0,0 +1,5 @@
libgetar is a library to read and write GEneric Trajectory ARchives,
a binary data format designed for efficient, extensible storage of
trajectory data.

WWW: https://github.com/glotzerlab/libgetar

0 comments on commit f0fd466

Please sign in to comment.