package init
This commit is contained in:
parent
97ea1c93c0
commit
7a57a2d3aa
BIN
astroid-2.0.4.tar.gz
Normal file
BIN
astroid-2.0.4.tar.gz
Normal file
Binary file not shown.
44
python-astroid.spec
Normal file
44
python-astroid.spec
Normal file
@ -0,0 +1,44 @@
|
||||
Name: python-astroid
|
||||
Version: 2.0.4
|
||||
Release: 2
|
||||
Summary: A common base representation of python source code for pylint and other projects.
|
||||
License: GPLv2+
|
||||
URL: https://github.com/PyCQA/astroid
|
||||
Source0: https://github.com/PyCQA/astroid/archive/astroid-2.0.4.tar.gz
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel python3-setuptools python3-pytest python3-pytest-runner git-core
|
||||
BuildRequires: python3-lazy-object-proxy python3-six python3-wrapt
|
||||
|
||||
%description
|
||||
A common base representation of python source code for pylint and other projects.
|
||||
|
||||
%package -n python3-astroid
|
||||
Summary: %{summary}
|
||||
Requires: python3-lazy-object-proxy python3-six python3-wrapt
|
||||
%{?python_provide:%python_provide python3-astroid}
|
||||
|
||||
%description -n python3-astroid
|
||||
A common base representation of python source code for pylint and other projects.
|
||||
|
||||
%prep
|
||||
%autosetup -n astroid-astroid-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python3} -m pytest -v
|
||||
|
||||
%files -n python3-astroid
|
||||
%doc README.rst COPYING
|
||||
%{python3_sitelib}/astroid
|
||||
%{python3_sitelib}/astroid*.egg-info
|
||||
|
||||
%changelog
|
||||
* Mon Feb 24 2020 Senlin Xia<xiasenlin1@huawei.com> - 2.0.4-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user