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:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d003592dd3133bed30bad2e4adc14d0e7a8e71ff6303345699164cdb7d0a1b9c
|
|
||||||
size 15812128
|
|
26
_service
26
_service
@@ -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
3
libcst-0.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:961ab38c0ef318c384a287f1e4f877bb61ce93945f352b14b5dbbe7a317882b1
|
||||||
|
size 715682
|
@@ -27,13 +27,14 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%define modname libcst
|
||||||
Name: python-libcst%{psuffix}
|
Name: python-libcst%{psuffix}
|
||||||
Version: 0.4.1
|
Version: 0.4.1
|
||||||
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
|
||||||
URL: https://github.com/Instagram/LibCST
|
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
|
Source1: vendor.tar.xz
|
||||||
Source2: cargo_config
|
Source2: cargo_config
|
||||||
# PATCH-FIX-UPSTREAM skip_failing_test.patch gh#Instagram/LibCST#442 mcepl@suse.com
|
# 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.
|
A concrete syntax tree with AST-like properties for Python 3.5+ programs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n LibCST-%{version}
|
%setup -q -n libcst-%{version}
|
||||||
tar x -C native/ -f %{SOURCE1}
|
tar x -C native/ -f %{SOURCE1}
|
||||||
(cd native ; mkdir -p .cargo ; cat %{SOURCE2} >>.cargo/config.toml)
|
(cd native ; mkdir -p .cargo ; cat %{SOURCE2} >>.cargo/config.toml)
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
Reference in New Issue
Block a user