git: 0780a991232a - main - devel/py-preshed: Update 3.0.8 → 4.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 18:27:01 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0780a991232a0665aff132dfee6984aa33a2faa7
commit 0780a991232a0665aff132dfee6984aa33a2faa7
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-30 17:27:05 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-30 18:26:54 +0000
devel/py-preshed: Update 3.0.8 → 4.0.0
Reported by: portscout
---
devel/py-preshed/Makefile | 13 ++++++++-----
devel/py-preshed/distinfo | 6 +++---
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/devel/py-preshed/Makefile b/devel/py-preshed/Makefile
index de3a780f3b85..d84968a41a0d 100644
--- a/devel/py-preshed/Makefile
+++ b/devel/py-preshed/Makefile
@@ -1,5 +1,5 @@
PORTNAME= preshed
-PORTVERSION= 3.0.8
+DISTVERSION= 4.0.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,16 @@ WWW= https://github.com/explosion/preshed
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2,<2.1.0:devel/py-cymem@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0,<1.1.0:devel/py-murmurhash@${PY_FLAVOR}
-BUILD_DEPENDS= ${PY_DEPENDS}
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}murmurhash>=0.28.0<1.1.0:devel/py-murmurhash@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python:3.6+
-USE_PYTHON= cython distutils autoplist
+USE_PYTHON= pep517 cython autoplist pytest # tests fail, see https://github.com/explosion/preshed/issues/45
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/preshed/*.so
diff --git a/devel/py-preshed/distinfo b/devel/py-preshed/distinfo
index 17802319baa3..2ef3f97da6e8 100644
--- a/devel/py-preshed/distinfo
+++ b/devel/py-preshed/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679240186
-SHA256 (preshed-3.0.8.tar.gz) = 6c74c70078809bfddda17be96483c41d06d717934b07cab7921011d81758b357
-SIZE (preshed-3.0.8.tar.gz) = 14501
+TIMESTAMP = 1682874780
+SHA256 (preshed-4.0.0.tar.gz) = 5e2b0b2a07dd1a8deeaad6612019845c602ee24907f6936eaaf17aabd56e544c
+SIZE (preshed-4.0.0.tar.gz) = 16273