1
0
forked from pool/python-libcst
Matej Cepl 2022-02-21 14:10:45 +00:00 committed by Git OBS Bridge
parent 3dc919d44d
commit 5f7441c734
4 changed files with 6 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d003592dd3133bed30bad2e4adc14d0e7a8e71ff6303345699164cdb7d0a1b9c
size 15812128

View File

@ -1,26 +0,0 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/Instagram/LibCST</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v0.4.1</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">LibCST/native</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">LibCST/native</param>
</service>
</services>

3
libcst-0.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:961ab38c0ef318c384a287f1e4f877bb61ce93945f352b14b5dbbe7a317882b1
size 715682

View File

@ -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