git: 9fab1a7691d7 - main - archivers/py-zstd: Update 1.5.0.2 -> 1.5.0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Dec 2021 09:21:08 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9fab1a7691d73d6e1babfd98e9c67919c8d550b6
commit 9fab1a7691d73d6e1babfd98e9c67919c8d550b6
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-04 07:39:10 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-04 09:21:05 +0000
archivers/py-zstd: Update 1.5.0.2 -> 1.5.0.4
Reported by: portscout
---
archivers/py-zstd/Makefile | 7 ++++++-
archivers/py-zstd/distinfo | 6 +++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/archivers/py-zstd/Makefile b/archivers/py-zstd/Makefile
index f25c2e36744b..765764253e88 100644
--- a/archivers/py-zstd/Makefile
+++ b/archivers/py-zstd/Makefile
@@ -1,5 +1,5 @@
PORTNAME= zstd
-DISTVERSION= 1.5.0.2
+DISTVERSION= 1.5.0.4
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,17 @@ COMMENT= Python binding for Zstandard compression library
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libzstd.so:archivers/zstd
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+ localbase
USE_PYTHON= distutils autoplist
+
PYDISTUTILS_BUILDARGS= --external
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zstd*.so
+do-test: install
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
.include <bsd.port.mk>
diff --git a/archivers/py-zstd/distinfo b/archivers/py-zstd/distinfo
index c4a6614fc874..741f3f71b9ec 100644
--- a/archivers/py-zstd/distinfo
+++ b/archivers/py-zstd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621488797
-SHA256 (zstd-1.5.0.2.tar.gz) = 8d3388a15135c481b28ca67d079cb5fd79a9691626fd9979e6b4ec00eabb9e79
-SIZE (zstd-1.5.0.2.tar.gz) = 528892
+TIMESTAMP = 1638601564
+SHA256 (zstd-1.5.0.4.tar.gz) = 0d048f03fc6354c565ac1e36bb6bf697cfe9941217717fc6a2076529d8b860c3
+SIZE (zstd-1.5.0.4.tar.gz) = 535965