]> git.pld-linux.org Git - packages/python3-typed_ast.git/commitdiff
- updated to 1.5.2 auto/th/python3-typed_ast-1.5.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 18 Mar 2022 22:09:12 +0000 (23:09 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 18 Mar 2022 22:09:12 +0000 (23:09 +0100)
python3-typed_ast.spec

index 8f4a285bcdb364a03d8bf6141aafcc50d2f1191e..54ce5844432cbf3642b313c6c02da88cf31e7182 100644 (file)
@@ -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
 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
 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/
 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
 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
 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
 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
 
 %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
 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
+oraz Windows.
 
 %prep
 %setup -q -n typed_ast-%{version}
 
 %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
 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
 
 %{__python3} -m pytest tests
 %endif
 
This page took 0.128811 seconds and 4 git commands to generate.