git: d2f07386d00c - main - devel/py-serializable: update 0.2.1 → 0.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 05 Apr 2024 18:28:31 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d2f07386d00c38d8d834f44749b0206a1a98fcfd

commit d2f07386d00c38d8d834f44749b0206a1a98fcfd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-05 18:07:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-05 18:28:22 +0000

    devel/py-serializable: update 0.2.1 → 0.4.0
    
    Reported by:    portscout
---
 devel/py-serializable/Makefile | 9 +++++----
 devel/py-serializable/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/devel/py-serializable/Makefile b/devel/py-serializable/Makefile
index 47ca1d60dc4f..34b82811a801 100644
--- a/devel/py-serializable/Makefile
+++ b/devel/py-serializable/Makefile
@@ -1,21 +1,22 @@
 PORTNAME=	serializable
-DISTVERSION=	0.2.1
+DISTVERSION=	0.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Base class with serialization helpers for user-defined Python objects
-WWW=		https://pypi.org/project/serializable/
+WWW=		https://github.com/openvax/serializable
 
 LICENSE=	APACHE20
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typechecks>=0.0.2:devel/py-typechecks@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest # files required for tests are missing, see https://github.com/openvax/serializable/issues/9
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 NO_ARCH=	yes
 
diff --git a/devel/py-serializable/distinfo b/devel/py-serializable/distinfo
index 9dd3c9da585e..31d22c55dc25 100644
--- a/devel/py-serializable/distinfo
+++ b/devel/py-serializable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572327831
-SHA256 (serializable-0.2.1.tar.gz) = ec604e5df0c1236c06d190043a407495c4412dd6b6fd3b45a8514518173ed961
-SIZE (serializable-0.2.1.tar.gz) = 8438
+TIMESTAMP = 1712338640
+SHA256 (serializable-0.4.0.tar.gz) = 28987f54a381a994f59870a2010d083ab5e872f579cc09ca4a1fa562da32026d
+SIZE (serializable-0.4.0.tar.gz) = 12827