Update to 2.3.0
Changes: https://github.com/PyCQA/astroid/blob/2.3/ChangeLog
This commit is contained in:
parent
0f339d67a5
commit
ebd2481e51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512935
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= astroid
|
||||
PORTVERSION= 2.2.5
|
||||
PORTVERSION= 2.3.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -15,12 +15,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lazy-object-proxy>=0:devel/py-lazy-object-proxy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typed-ast>=1.3.0:devel/py-typed-ast@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}typed-ast>=1.4.0<1.5:devel/py-typed-ast@${PY_FLAVOR} \
|
||||
${PY_TYPING} \
|
||||
${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.4+
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1552133195
|
||||
SHA256 (astroid-2.2.5.tar.gz) = 6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4
|
||||
SIZE (astroid-2.2.5.tar.gz) = 281829
|
||||
TIMESTAMP = 1569514156
|
||||
SHA256 (astroid-2.3.0.tar.gz) = c7e2e5773d87ccc00d01c273e439386f4d6d63cce61317a79ccce5880162f9fb
|
||||
SIZE (astroid-2.3.0.tar.gz) = 295294
|
||||
|
13
devel/py-astroid/files/patch-astroid-__pkginfo__.py
Normal file
13
devel/py-astroid/files/patch-astroid-__pkginfo__.py
Normal file
@ -0,0 +1,13 @@
|
||||
--- astroid/__pkginfo__.py.orig 2019-09-24 07:23:50 UTC
|
||||
+++ astroid/__pkginfo__.py
|
||||
@@ -26,8 +25,7 @@ install_requires = [
|
||||
"lazy_object_proxy",
|
||||
"six",
|
||||
"wrapt",
|
||||
'typing;python_version<"3.5"',
|
||||
- 'typed-ast<1.3.0;implementation_name== "cpython" and python_version<"3.7"',
|
||||
- 'typed-ast>=1.3.0;implementation_name== "cpython" and python_version>="3.7" and python_version<"3.8"',
|
||||
+ 'typed-ast>=1.4.0,<1.5;implementation_name== "cpython" and python_version<"3.8"',
|
||||
]
|
||||
|
||||
# pylint: disable=redefined-builtin; why license is a builtin anyway?
|
16
devel/py-astroid/files/patch-astroid.egg-info-requires.txt
Normal file
16
devel/py-astroid/files/patch-astroid.egg-info-requires.txt
Normal file
@ -0,0 +1,16 @@
|
||||
--- astroid.egg-info/requires.txt.orig 2019-09-24 09:44:15 UTC
|
||||
+++ astroid.egg-info/requires.txt
|
||||
@@ -2,11 +2,8 @@ lazy_object_proxy
|
||||
six
|
||||
wrapt
|
||||
|
||||
-[:implementation_name == "cpython" and python_version < "3.7"]
|
||||
-typed-ast<1.3.0
|
||||
-
|
||||
-[:implementation_name == "cpython" and python_version >= "3.7" and python_version < "3.8"]
|
||||
-typed-ast>=1.3.0
|
||||
+[:implementation_name == "cpython" and python_version >= "3.5"]
|
||||
+typed-ast>=1.4.0,<1.5
|
||||
|
||||
[:python_version < "3.5"]
|
||||
typing
|
Loading…
Reference in New Issue
Block a user