diff --git a/astroid-2.0.4.tar.gz b/astroid-2.0.4.tar.gz new file mode 100644 index 0000000..ab6c1a3 Binary files /dev/null and b/astroid-2.0.4.tar.gz differ diff --git a/python-astroid.spec b/python-astroid.spec new file mode 100644 index 0000000..f05b356 --- /dev/null +++ b/python-astroid.spec @@ -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 - 2.0.4-2 +- Package init