forked from pool/python-libcst
Accepting request 894419 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/894419 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libcst?expand=0&rev=6
This commit is contained in:
commit
beb59ad442
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2766671c107263daa3fc34e39d55134a6fe253701564d7670586f30eee2c201c
|
|
||||||
size 403703
|
|
3
libcst-0.3.19.tar.gz
Normal file
3
libcst-0.3.19.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4876239db55164acaf034ee01f56a7db0a2f90cacea24b183d8aa69efc11b067
|
||||||
|
size 418419
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 19 15:49:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.3.19
|
||||||
|
* Return more specific QNames for assignments #477
|
||||||
|
* Tie accesses from string annotation to the string node #483
|
||||||
|
* Fix leaking processes from TypeInferenceProvider #474
|
||||||
|
* Fix TypeInferenceProvider breakage with empty cache #476
|
||||||
|
* Fix formatting for link to QualifiedName class in docs #480
|
||||||
|
- Release 0.3.18
|
||||||
|
* Add FlattenSentinel to support replacing a statement with
|
||||||
|
multiple statements #455
|
||||||
|
* Add BuiltinScope #469
|
||||||
|
* Add FullyQualifiedNameProvider #465
|
||||||
|
* Split QualifiedNameProvider out from
|
||||||
|
libcst.metadata.scope_provider #464
|
||||||
|
* Fix Exception while parsing escape character in raw f-strings
|
||||||
|
#462
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 21 15:05:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Sun Mar 21 15:05:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-libcst%{psuffix}
|
Name: python-libcst%{psuffix}
|
||||||
Version: 0.3.17
|
Version: 0.3.19
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python 3.5+ concrete syntax tree with AST-like properties
|
Summary: Python 3.5+ concrete syntax tree with AST-like properties
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -66,8 +66,8 @@ A concrete syntax tree with AST-like properties for Python 3.5+ programs.
|
|||||||
%setup -q -n libcst-%{version}
|
%setup -q -n libcst-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
# wrong executable call, when fixed, fails to detect syntax error gh#Instagram/LibCST#468
|
# wrong executable call when outside of venv (gh#Instagram/LibCST#468)
|
||||||
rm libcst/codemod/tests/test_codemod_cli.py
|
sed -i 's/"python"/sys.executable/' libcst/codemod/tests/test_codemod_cli.py
|
||||||
|
|
||||||
# Depends on optional pyre
|
# Depends on optional pyre
|
||||||
rm \
|
rm \
|
||||||
@ -87,10 +87,6 @@ sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatche
|
|||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
# fix mtimes
|
|
||||||
%{python_compileall}
|
|
||||||
# need a double treatment here
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user