git: b42fd704a03e - main - devel/py-rope: Update to 1.7.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Fri, 24 Mar 2023 10:18:12 UTC
The branch main has been updated by rhurlin:

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

commit b42fd704a03e7c6655be2184fcc9506b6d843165
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-03-24 10:06:02 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-03-24 10:17:44 +0000

    devel/py-rope: Update to 1.7.0
    
    First update since Oct 2020 with several major releases and bug fixes.
    Needed for an update of textproc/py-python-lsp-server.
    
    - Change from distutils to pep517
    - Add pytest (1 failed, 2013 passed, 21 skipped, 5 xfailed, 1809 warnings)
    - License changed from GPLv2 to LGPL3+
    - Project moved from SourceForge to GitHub
    
    PR:             268912
    Approved by:    maintainer timeout
---
 devel/py-rope/Makefile | 21 ++++++++++++++++-----
 devel/py-rope/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/devel/py-rope/Makefile b/devel/py-rope/Makefile
index 7f1550cae94f..f8c22969b30a 100644
--- a/devel/py-rope/Makefile
+++ b/devel/py-rope/Makefile
@@ -1,18 +1,29 @@
 PORTNAME=	rope
-DISTVERSION=	0.18.0
+DISTVERSION=	1.7.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	jjachuf@gmail.com
 COMMENT=	Python refactoring library
-WWW=		http://rope.sourceforge.net
+WWW=		https://github.com/python-rope/rope
 
-LICENSE=	GPLv2
+LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe python:3.6+
-USE_PYTHON=	autoplist distutils
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytoolconfig>=0:devel/py-pytoolconfig@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=4.5.0:textproc/py-sphinx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx-autodoc-typehints>0:textproc/py-sphinx-autodoc-typehints@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
+
+# 1 failed, 2013 passed, 21 skipped, 5 xfailed, 1809 warnings
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytoolconfig>=0:devel/py-pytoolconfig@${PY_FLAVOR}
+
+USES=		cpe python:3.6+ pytest
+USE_PYTHON=	autoplist pep517
 
 CPE_VENDOR=	rope_project
 
diff --git a/devel/py-rope/distinfo b/devel/py-rope/distinfo
index 0e9473ca5ff7..9b5932bee81c 100644
--- a/devel/py-rope/distinfo
+++ b/devel/py-rope/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606597345
-SHA256 (rope-0.18.0.tar.gz) = 786b5c38c530d4846aa68a42604f61b4e69a493390e3ca11b88df0fbfdc3ed04
-SIZE (rope-0.18.0.tar.gz) = 249828
+TIMESTAMP = 1674312315
+SHA256 (rope-1.7.0.tar.gz) = ba39581d0f8dee4ae8b5b5e82e35d03cebad965ccb127b7eaab9755cdc85e85a
+SIZE (rope-1.7.0.tar.gz) = 295362