1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

science/py-pyscf: Update 2.1.0 -> 2.1.1

Also add workaround for build failure on armv7.
This commit is contained in:
Yuri Victorovich 2022-12-10 00:49:57 -08:00
parent eee8183374
commit 2766091ae9
3 changed files with 18 additions and 6 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= pyscf
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
PORTREVISION= 2
DISTVERSION= 2.1.1
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,7 +23,7 @@ LIB_DEPENDS= libcint.so:science/libcint \
RUN_DEPENDS= ${PY_DEPENDS}
USES= fortran blaslapack:openblas compiler:c++11-lang python
USE_PYTHON= distutils autoplist pytest
USE_PYTHON= distutils autoplist pytest # 3818 warnings, 57 errors in tests, see https://github.com/pyscf/pyscf/issues/1536
USE_GITHUB= yes
POST_PLIST= fix-plist

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1662267235
SHA256 (pyscf-pyscf-v2.1.0_GH0.tar.gz) = 820da1564047de3097ec2f964a4c2168535a8048c084f211b8db1feb0c1665af
SIZE (pyscf-pyscf-v2.1.0_GH0.tar.gz) = 10896918
TIMESTAMP = 1670658450
SHA256 (pyscf-pyscf-v2.1.1_GH0.tar.gz) = 814240aa73f57ba96aee8264e3914c09f96ebdce1e42784da4b5e9a474ecb280
SIZE (pyscf-pyscf-v2.1.1_GH0.tar.gz) = 10896271

View File

@ -0,0 +1,13 @@
- wprkaropund for compilation failure on armv7
- #include <stdint.h> for int8_t, see https://github.com/pyscf/pyscf/issues/1535
--- pyscf/lib/gto/ft_ao.c.orig 2022-12-10 07:40:03 UTC
+++ pyscf/lib/gto/ft_ao.c
@@ -44,6 +44,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <stdint.h>
#include <math.h>
#include <assert.h>
#include <complex.h>