Skip to content

Commit

Permalink
devel/py-rope: Update to 1.7.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rhurlin committed Mar 24, 2023
1 parent a1e75a9 commit b42fd70
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
21 changes: 16 additions & 5 deletions 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

Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit b42fd70

Please sign in to comment.