git: 7a7191f15db8 - main - devel/py-envisage: Update to 7.0.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 07:19:34 UTC
The branch main has been updated by sunpoet:

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

commit 7a7191f15db8676179b4bbaa549c0f8a24ea4fcb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:29 +0000

    devel/py-envisage: Update to 7.0.3
    
    - Update LICENSE
    - Add LICENSE_FILE
    - Convert to USE_PYTHON=pep517
    - Convert to USE_PYTHON=unittest
    - Take maintainership
    
    Changes:        https://github.com/enthought/envisage/releases
---
 devel/py-envisage/Makefile | 35 +++++++++++++++++++++--------------
 devel/py-envisage/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/devel/py-envisage/Makefile b/devel/py-envisage/Makefile
index 2785689f8296..0ce854fedac9 100644
--- a/devel/py-envisage/Makefile
+++ b/devel/py-envisage/Makefile
@@ -1,29 +1,36 @@
 PORTNAME=	envisage
-PORTVERSION=	4.9.0
-PORTREVISION=	1
+PORTVERSION=	7.0.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Enthought extensible application framework
-WWW=		http://code.enthought.com/projects/envisage
+WWW=		https://docs.enthought.com/envisage/ \
+		https://github.com/enthought/envisage
 
-LICENSE=	BSD3CLAUSE PSFL LGPL20
+LICENSE=	BSD3CLAUSE CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 LGPL20 PSFL 
 LICENSE_COMB=	multi
-# See image_LICENSE.txt files for per file license information
+LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.txt
+LICENSE_FILE_LGPL20=	${WRKSRC}/image_LICENSE_CP.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}apptools>0:devel/py-apptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}traits>=4.5.0:devel/py-traits@${PY_FLAVOR}
-# Above requirements are defined in setup.py
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}apptools>=0:devel/py-apptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyface>=0:devel/py-pyface@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}traits>=6.2:devel/py-traits@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}traitsui>=0:graphics/py-traitsui@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes
 
-do-test:
-	${PYTHON_CMD} -m unittest discover -v envisage
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.1.0:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-envisage/distinfo b/devel/py-envisage/distinfo
index 04a981f55c0a..1f99ee7c7239 100644
--- a/devel/py-envisage/distinfo
+++ b/devel/py-envisage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1574461060
-SHA256 (envisage-4.9.0.tar.gz) = 2cec48e4de6e0052a3bbb58baeb993025a6960229301d549bf323067cbc5e74b
-SIZE (envisage-4.9.0.tar.gz) = 212177
+TIMESTAMP = 1686496742
+SHA256 (envisage-7.0.3.tar.gz) = f7b1af88bf3a8fff2a9ac6e36bb48dea9929e3f612204cfe94aed62b0316c9e3
+SIZE (envisage-7.0.3.tar.gz) = 167716