Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 22:17:14 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567658 - in head/devel/py-astroid: . files
Message-ID:  <202103072217.127MHECa038562@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar  7 22:17:14 2021
New Revision: 567658
URL: https://svnweb.freebsd.org/changeset/ports/567658

Log:
  Update to 2.5.1
  
  - Fix LICENSE
  - Fix RUN_DEPENDS
  
  Changes:	https://github.com/PyCQA/astroid/releases
  		https://github.com/PyCQA/astroid/blob/master/ChangeLog

Deleted:
  head/devel/py-astroid/files/
Modified:
  head/devel/py-astroid/Makefile
  head/devel/py-astroid/distinfo
  head/devel/py-astroid/pkg-descr

Modified: head/devel/py-astroid/Makefile
==============================================================================
--- head/devel/py-astroid/Makefile	Sun Mar  7 22:17:07 2021	(r567657)
+++ head/devel/py-astroid/Makefile	Sun Mar  7 22:17:14 2021	(r567658)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	astroid
-PORTVERSION=	2.4.2
-PORTREVISION=	1
+PORTVERSION=	2.5.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,21 +9,25 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Abstract syntax tree for Python with inference support
 
-LICENSE=	LGPL21
+LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.4:devel/py-lazy-object-proxy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.12<2:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<1.5:devel/py-typed-ast@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wrapt>=1.11<2:devel/py-wrapt@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=1.4.0:devel/py-lazy-object-proxy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wrapt>=1.11<1.13:devel/py-wrapt@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<1.5:devel/py-typed-ast@${PY_FLAVOR}
+.endif
+
 do-test:
 	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/devel/py-astroid/distinfo
==============================================================================
--- head/devel/py-astroid/distinfo	Sun Mar  7 22:17:07 2021	(r567657)
+++ head/devel/py-astroid/distinfo	Sun Mar  7 22:17:14 2021	(r567658)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1592145087
-SHA256 (astroid-2.4.2.tar.gz) = 2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703
-SIZE (astroid-2.4.2.tar.gz) = 310972
+TIMESTAMP = 1614794256
+SHA256 (astroid-2.5.1.tar.gz) = cfc35498ee64017be059ceffab0a25bedf7548ab76f2bea691c5565896e7128d
+SIZE (astroid-2.5.1.tar.gz) = 312511

Modified: head/devel/py-astroid/pkg-descr
==============================================================================
--- head/devel/py-astroid/pkg-descr	Sun Mar  7 22:17:07 2021	(r567657)
+++ head/devel/py-astroid/pkg-descr	Sun Mar  7 22:17:14 2021	(r567658)
@@ -10,5 +10,4 @@ methods and attributes for different usages. They incl
 static inference and local name scopes. Furthermore, astroid builds partial
 trees by inspecting living objects.
 
-WWW: https://pypi.org/project/astroid/
 WWW: https://github.com/PyCQA/astroid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103072217.127MHECa038562>