forked from pool/python-libcst
Use PyPI tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=17
This commit is contained in:
@@ -27,13 +27,14 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%define modname libcst
|
||||
Name: python-libcst%{psuffix}
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: Python 3.5+ concrete syntax tree with AST-like properties
|
||||
License: MIT
|
||||
URL: https://github.com/Instagram/LibCST
|
||||
Source0: LibCST-%{version}.tar.xz
|
||||
Source0: https://files.pythonhosted.org/packages/source/l/%{modname}/%{modname}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
# PATCH-FIX-UPSTREAM skip_failing_test.patch gh#Instagram/LibCST#442 mcepl@suse.com
|
||||
@@ -72,7 +73,7 @@ BuildRequires: %{python_module typing_extensions >= 3.7.4.2}
|
||||
A concrete syntax tree with AST-like properties for Python 3.5+ programs.
|
||||
|
||||
%prep
|
||||
%setup -q -n LibCST-%{version}
|
||||
%setup -q -n libcst-%{version}
|
||||
tar x -C native/ -f %{SOURCE1}
|
||||
(cd native ; mkdir -p .cargo ; cat %{SOURCE2} >>.cargo/config.toml)
|
||||
%autopatch -p1
|
||||
|
||||
Reference in New Issue
Block a user