package created using the webbuild interface [release 2.4.2-1mamba;Thu Jan 21 2021]
This commit is contained in:
parent
f438bf553f
commit
5278b879c5
@ -1,2 +1,4 @@
|
||||
# python-astroid
|
||||
|
||||
A common base representation of python source code.
|
||||
|
||||
|
52
python-astroid.spec
Normal file
52
python-astroid.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: python-astroid
|
||||
Version: 2.4.2
|
||||
Release: 1mamba
|
||||
Summary: A common base representation of python source code
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://pypi.org/project/astroid/
|
||||
Source: https://pypi.debian.net/astroid/astroid-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%define py_requires_append \
|
||||
Requires: python-lazy-object-proxy%{?pyappend:-%pyappend} \
|
||||
Requires: python-wrapt%{?pyappend:-%pyappend}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n astroid-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.LESSER
|
||||
|
||||
%changelog
|
||||
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user