1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

math/py-gau2grid: Undelete because it isn't broken

It isn't broken: it has a bug that it breaks on architectures other than amd64.
This commit is contained in:
Yuri Victorovich 2018-10-20 18:04:42 +00:00
parent dcc074b91f
commit 8bd4af7af4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482609
4 changed files with 42 additions and 0 deletions

View File

@ -692,6 +692,7 @@
SUBDIR += py-fiat
SUBDIR += py-fpconst
SUBDIR += py-gato
SUBDIR += py-gau2grid
SUBDIR += py-gimmik
SUBDIR += py-gmpy
SUBDIR += py-gmpy2

31
math/py-gau2grid/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= gau2grid
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast computation of a gaussian and its derivative on a grid
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25)
BUILD_DEPENDS= ${PYNUMPY} \
cmake:devel/cmake
RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= dgasmith
USE_PYTHON= distutils autoplist
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1538885352
SHA256 (dgasmith-gau2grid-v1.2.0_GH0.tar.gz) = 5c0312256c794d17c806bafa4a755489d21d3985e44a4429e865b51e67666b9c
SIZE (dgasmith-gau2grid-v1.2.0_GH0.tar.gz) = 124928

View File

@ -0,0 +1,7 @@
gau2grid is a python-generated C library for vectorized computation of grid to
gaussian collocation matrices
The core of gau2grid is generating the collocation matrices between a real space
grid and a gaussian basis set expanded to a given angular momenta.
WWW: https://github.com/dgasmith/gau2grid