45 lines
1.2 KiB
RPMSpec
45 lines
1.2 KiB
RPMSpec
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
|