rebuilt for py3 and with distdeps [release 0.24.3-3mamba;Mon Aug 30 2021]
This commit is contained in:
parent
9ef5950819
commit
67a1ba8c12
@ -1,6 +1,5 @@
|
|||||||
# python-logilab-astng
|
# python-logilab-astng
|
||||||
|
|
||||||
astng allows to rebuild a new abstract syntax tree from Python's ast.
|
astng allows to rebuild a new abstract syntax tree from Python's ast.
|
||||||
|
|
||||||
The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse and pylint.
|
The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse and pylint.
|
||||||
|
|
||||||
|
@ -1,28 +1,28 @@
|
|||||||
Name: python-logilab-astng
|
Name: python-logilab-astng
|
||||||
Version: 0.24.3
|
Version: 0.24.3
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Python Abstract Syntax Tree New Generation
|
Summary: Python Abstract Syntax Tree New Generation
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.logilab.org/project/logilab-astng
|
URL: https://www.logilab.org/project/logilab-astng
|
||||||
Source: http://ftp.logilab.org/pub/astng/logilab-astng-%{version}.tar.gz
|
Source: https://pypi.debian.net/logilab-astng/logilab-astng-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python-logilab-common
|
BuildRequires: python3.7dist(logilab-common)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
|
||||||
Requires: python-logilab-common
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
astng allows to rebuild a new abstract syntax tree from Python's ast.
|
astng allows to rebuild a new abstract syntax tree from Python's ast.
|
||||||
|
|
||||||
The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse and pylint.
|
The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse and pylint.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n logilab-astng-%{version}
|
%setup -q -n logilab-astng-%{version}
|
||||||
|
|
||||||
@ -39,17 +39,18 @@ The aim of this module is to provide a common base representation of python sour
|
|||||||
--single-version-externally-managed \
|
--single-version-externally-managed \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
# Avoid conflict with python-logilab-common
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
rm -f %{buildroot}%{python_sitelib}/logilab/__init__.py
|
|
||||||
# Do not package testsuite
|
|
||||||
rm -rf %{buildroot}%{python_sitelib}/logilab/astng/test
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist
|
|
||||||
|
|
||||||
# Fix encoding in readme
|
# Fix encoding in readme
|
||||||
iconv -f iso-8859-15 -t utf-8 README > README.utf8
|
iconv -f iso-8859-15 -t utf-8 README > README.utf8
|
||||||
mv -f README.utf8 README
|
mv -f README.utf8 README
|
||||||
|
|
||||||
|
# Avoid conflict with python-logilab-common
|
||||||
|
rm -f %{buildroot}%{python_sitearch}/logilab/__init__.py
|
||||||
|
# Do not package testsuite
|
||||||
|
rm -rf %{buildroot}%{python_sitearch}/logilab/astng/test
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/test/,d" %{name}.filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -59,9 +60,14 @@ mv -f README.utf8 README
|
|||||||
%dir %{python_sitearch}/logilab/astng
|
%dir %{python_sitearch}/logilab/astng
|
||||||
%dir %{python_sitearch}/logilab/astng/brain
|
%dir %{python_sitearch}/logilab/astng/brain
|
||||||
%{python_sitearch}/logilab/astng/brain/*
|
%{python_sitearch}/logilab/astng/brain/*
|
||||||
%doc ChangeLog COPYING README
|
%dir %{python_sitearch}/logilab_astng-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/logilab_astng-%{version}-py*.egg-info/*
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.24.3-3mamba
|
||||||
|
- rebuilt for py3 and with distdeps
|
||||||
|
|
||||||
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.24.3-2mamba
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.24.3-2mamba
|
||||||
- python 2.7 mass rebuild
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user