From: Jakub Bogusz Date: Fri, 18 Mar 2022 22:09:12 +0000 (+0100) Subject: - updated to 1.5.2 X-Git-Tag: auto/th/python3-typed_ast-1.5.2-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4e196ddd25a916c63aef187473007323a93a77e8;p=packages%2Fpython3-typed_ast.git - updated to 1.5.2 --- diff --git a/python3-typed_ast.spec b/python3-typed_ast.spec index 8f4a285..54ce584 100644 --- a/python3-typed_ast.spec +++ b/python3-typed_ast.spec @@ -5,22 +5,22 @@ Summary: Python 2 and 3 ast modules with type comment support Summary(pl.UTF-8): Moduły ast z Pythona 2 i 3 z obsługą komentarzy o typach Name: python3-typed_ast -Version: 1.5.0 +Version: 1.5.2 Release: 1 License: Apache v2.0 Group: Libraries/Python #Source0Download: https://pypi.org/simple/typed-ast/ Source0: https://files.pythonhosted.org/packages/source/t/typed-ast/typed_ast-%{version}.tar.gz -# Source0-md5: c10e924e90f70312eb0303afb5293670 +# Source0-md5: e51a3df86ddf23f2c2230ca27c1ea8e7 URL: https://pypi.org/project/typed-ast/ -BuildRequires: python3-modules >= 1:3.5 +BuildRequires: python3-modules >= 1:3.6 BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-pytest %endif BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.714 -Requires: python3-modules >= 1:3.5 +Requires: python3-modules >= 1:3.6 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -30,7 +30,8 @@ typed_ast include PEP 484 type comments and are independent of the version of Python under which they are run. The typed_ast parsers produce the standard Python AST (plus type comments), and are both fast and correct, as they are based on the CPython 2.7 and 3.7 -parsers. typed_ast runs on CPython 3.5-3.8 on Linux, OS X and Windows. +parsers. typed_ast runs on CPython 3.6-3.10 on Linux, OS X and +Windows. %description -l pl.UTF-8 typed_ast to pakiet Pythona 3 udostępniający parser dla Pythona 2.7 @@ -40,8 +41,8 @@ komentarze o typach zgodne z PEP 484 i są niezależne od wersji Pythona, przez którą są uruchamiane. Parsery typed_ast tworzą standardowe pythonowe drzewo składniowe (AST), wzbogacone o komentarze o typach; są szybkie i poprawne, jako że są oparte na kodzie CPythona -2.7 oraz 3.7. typed_ast działa na CPythonie 3.5-3.8 pod Linuksem, OS X -oraz Windows. +2.7 oraz 3.7. typed_ast działa na CPythonie 3.6-3.10 pod Linuksem, OS +X oraz Windows. %prep %setup -q -n typed_ast-%{version} @@ -53,6 +54,7 @@ oraz Windows. export PYTHONPATH=$(echo $(pwd)/build-3/lib.*) # run from subdir, so python won't catch PWD as PYTHONPATH cd ast3 +PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ %{__python3} -m pytest tests %endif