python-anytree package
This commit is contained in:
parent
e50419e070
commit
c991a34d4c
BIN
anytree-2.8.0.tar.gz
Normal file
BIN
anytree-2.8.0.tar.gz
Normal file
Binary file not shown.
50
python-anytree.spec
Normal file
50
python-anytree.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%global modname anytree
|
||||||
|
|
||||||
|
Name: python-anytree
|
||||||
|
Version: 2.8.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Powerful and Lightweight Python Tree Data Structure
|
||||||
|
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://pypi.io/project/anytree
|
||||||
|
Source0: %pypi_source %{modname}
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
|
%description
|
||||||
|
Powerful and Lightweight Python Tree Data Structure with various plugins.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-anytree
|
||||||
|
Summary: Powerful and Lightweight Python Tree Data Structure
|
||||||
|
|
||||||
|
%description -n python3-anytree
|
||||||
|
Powerful and Lightweight Python Tree Data Structure with various plugins.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{modname}-%{version}
|
||||||
|
rm -r %{modname}.egg-info
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
rm $RPM_BUILD_ROOT/usr/LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-anytree
|
||||||
|
%{python3_sitelib}/%{modname}/
|
||||||
|
%{python3_sitelib}/%{modname}-%{version}*
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 11 2020 Dillon Cheng <dillon.chen@turbolinux.com.cn> - 2.8.0-1
|
||||||
|
- build for openEuler
|
||||||
Loading…
x
Reference in New Issue
Block a user