[Midnightbsd-cvs] mports [24715] trunk/devel/py-astroid: update build for python 3.7

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Nov 26 12:02:40 EST 2018


Revision: 24715
          http://svnweb.midnightbsd.org/mports/?rev=24715
Author:   laffer1
Date:     2018-11-26 12:02:39 -0500 (Mon, 26 Nov 2018)
Log Message:
-----------
update build for python 3.7

Modified Paths:
--------------
    trunk/devel/py-astroid/Makefile
    trunk/devel/py-astroid/distinfo
    trunk/devel/py-astroid/pkg-descr

Modified: trunk/devel/py-astroid/Makefile
===================================================================
--- trunk/devel/py-astroid/Makefile	2018-11-26 16:57:50 UTC (rev 24714)
+++ trunk/devel/py-astroid/Makefile	2018-11-26 17:02:39 UTC (rev 24715)
@@ -2,29 +2,36 @@
 # $FreeBSD: head/devel/py-astroid/Makefile 432193 2017-01-23 03:17:37Z vanilla $
 
 PORTNAME=	astroid
-PORTVERSION=	1.6.3
+PORTVERSION=	2.0.4
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	Extension for Python compiler.ast module
+COMMENT=	Abstract syntax tree for Python with inference support
 
 LICENSE=	lgpl2.1
+LICENSE_FILE=	${WRKSRC}/COPYING.LESSER
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt \
-		${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>0:devel/py-lazy-object-proxy \
-		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
 
-USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python:3.4+
+USE_PYTHON=	autoplist distutils
+
 NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${PYTHON_REL} < 3400
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache \
-		${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing
 .endif
 
+.if ${PYTHON_REL} < 3700
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typed-ast>=0:devel/py-typed-ast
+.endif
+
 .include <bsd.port.post.mk>

Modified: trunk/devel/py-astroid/distinfo
===================================================================
--- trunk/devel/py-astroid/distinfo	2018-11-26 16:57:50 UTC (rev 24714)
+++ trunk/devel/py-astroid/distinfo	2018-11-26 17:02:39 UTC (rev 24715)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525357874
-SHA256 (astroid-1.6.3.tar.gz) = 35cfae47aac19c7b407b7095410e895e836f2285ccf1220336afba744cc4c5f2
-SIZE (astroid-1.6.3.tar.gz) = 254828
+TIMESTAMP = 1543251575
+SHA256 (astroid-2.0.4.tar.gz) = c7013d119ec95eb626f7a2011f0b63d0c9a095df9ad06d8507b37084eada1a8d
+SIZE (astroid-2.0.4.tar.gz) = 273871

Modified: trunk/devel/py-astroid/pkg-descr
===================================================================
--- trunk/devel/py-astroid/pkg-descr	2018-11-26 16:57:50 UTC (rev 24714)
+++ trunk/devel/py-astroid/pkg-descr	2018-11-26 17:02:39 UTC (rev 24715)
@@ -10,5 +10,5 @@
 static inference and local name scopes. Furthermore, astroid builds partial
 trees by inspecting living objects.
 
-WWW: https://pypi.python.org/pypi/astroid
+WWW: https://pypi.org/project/astroid/
 WWW: https://github.com/PyCQA/astroid



More information about the Midnightbsd-cvs mailing list