git: 2fe59dc51394 - main - misc/py-natten: update 0.17.1 → 0.17.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Nov 2024 13:55:14 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2fe59dc5139469c85a276a8cf2997c2dcc462367
commit 2fe59dc5139469c85a276a8cf2997c2dcc462367
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-02 13:54:42 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-02 13:55:11 +0000
misc/py-natten: update 0.17.1 → 0.17.3
Reported by: portscout
---
misc/py-natten/Makefile | 23 ++++++++++++++---------
misc/py-natten/distinfo | 6 +++---
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/misc/py-natten/Makefile b/misc/py-natten/Makefile
index e01667b1a5e7..015262ebbef1 100644
--- a/misc/py-natten/Makefile
+++ b/misc/py-natten/Makefile
@@ -1,13 +1,14 @@
PORTNAME= natten
-DISTVERSION= 0.17.1
-PORTREVISION= 6
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.17.3
CATEGORIES= misc python
-MASTER_SITES= PYPI
+#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
-COMMENT= Neighborhood Attention Extension
-WWW= https://shi-labs.com/natten/
+COMMENT= Neighborhood Attention Extension for PyTorch
+WWW= https://shi-labs.com/natten/ \
+ https://github.com/SHI-Labs/NATTEN
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -15,13 +16,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core \
pybind11>0:devel/pybind11 \
${PYTHON_PKGNAMEPREFIX}pytorch>=2.0.0:misc/py-pytorch@${PY_FLAVOR}
-LIB_DEPENDS= libabsl_str_format_internal.so:devel/abseil \
- libprotobuf.so:devel/protobuf
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytorch>=2.0.0:misc/py-pytorch@${PY_FLAVOR}
-USES= python
-USE_PYTHON= distutils autoplist
+USES= localbase python
+USE_PYTHON= distutils autoplist pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= SHI-Labs
+GH_PROJECT= NATTEN
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
# strip binary
diff --git a/misc/py-natten/distinfo b/misc/py-natten/distinfo
index 55316d7ac669..8443fd968693 100644
--- a/misc/py-natten/distinfo
+++ b/misc/py-natten/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721530370
-SHA256 (natten-0.17.1.tar.gz) = a2142722faa41fa3ae6d22e91ed527b2a6da5c4fe09a006f36d68edccaf9c643
-SIZE (natten-0.17.1.tar.gz) = 10848470
+TIMESTAMP = 1730526059
+SHA256 (SHI-Labs-NATTEN-v0.17.3_GH0.tar.gz) = 420fec7befe783b694368c90cf6d14d2ebff7ad2aad6623cc217556d157a1833
+SIZE (SHI-Labs-NATTEN-v0.17.3_GH0.tar.gz) = 12102779