mirror of https://git.FreeBSD.org/ports.git
misc/py-einops: update 0.8.0 → 0.8.1
Reported by: portscout
This commit is contained in:
parent
4b46d45f3e
commit
47bdeebefa
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= einops
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.8.0
|
||||
DISTVERSION= 0.8.1
|
||||
CATEGORIES= misc # machine-learning
|
||||
#MASTER_SITES= PYPI # some test files are missing in the PYPI tarball
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -18,7 +18,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}
|
|||
${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest # 5 tests fail because of some pytorch issues, see https://github.com/arogozhnikov/einops/issues/313
|
||||
USE_PYTHON= pep517 autoplist pytest
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= arogozhnikov
|
||||
|
@ -27,9 +27,17 @@ NO_ARCH= yes
|
|||
|
||||
BINARY_ALIAS= python=${PYTHON_CMD}
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} EINOPS_TEST_BACKENDS="numpy,torch"
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
|
||||
EINOPS_TEST_BACKENDS="numpy,torch"
|
||||
|
||||
xdo-test:
|
||||
@cd ${TEST_WRKSRC} && \
|
||||
${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m einops.tests.run_tests numpy pytorch jax --pip-install
|
||||
|
||||
do-test-via-script:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test.py numpy pytorch
|
||||
|
||||
# tests as of 0.8.1: 4 failed, 91 passed, 8 skipped, 9 warnings in 135.44s (0:02:15)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1714370387
|
||||
SHA256 (arogozhnikov-einops-v0.8.0_GH0.tar.gz) = 375c91d19ef91eb9456aef3bd536ffa0b3d3841081bf8f8011eaee00c2511bed
|
||||
SIZE (arogozhnikov-einops-v0.8.0_GH0.tar.gz) = 383693
|
||||
TIMESTAMP = 1739081761
|
||||
SHA256 (arogozhnikov-einops-v0.8.1_GH0.tar.gz) = a5e295fb634a999782e147f1c0b394fc566c514acfa653ec37c3bfbe685df7e5
|
||||
SIZE (arogozhnikov-einops-v0.8.1_GH0.tar.gz) = 407074
|
||||
|
|
Loading…
Reference in New Issue