From b42fd704a03e7c6655be2184fcc9506b6d843165 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Fri, 24 Mar 2023 11:06:02 +0100 Subject: [PATCH] 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 7f1550cae94f7..f8c22969b30a8 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 0e9473ca5ff7a..9b5932bee81c3 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