2024-01-05 16:24:13 +01:00
|
|
|
Name: python-pycparser
|
2024-01-05 16:24:14 +01:00
|
|
|
Version: 2.21
|
2024-01-05 16:24:15 +01:00
|
|
|
Release: 4mamba
|
2024-01-05 16:24:13 +01:00
|
|
|
Summary: A parser for the C language, written in pure Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:24:14 +01:00
|
|
|
URL: https://pypi.org/project/pycparser/
|
2024-01-05 16:24:13 +01:00
|
|
|
Source: https://pypi.debian.net/pycparser/pycparser-%{version}.tar.gz
|
2024-01-05 16:24:13 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:24:15 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 16:24:13 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:24:15 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:24:13 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pycparser-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:24:13 +01:00
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
# Fix permmissions of egg-info files
|
|
|
|
chmod +r %{buildroot}%{python_sitearch}/pycparser-%{version}-*/*
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:24:13 +01:00
|
|
|
%dir %{python_sitearch}/pycparser-%{version}-*.egg-info
|
|
|
|
%{python_sitearch}/pycparser-%{version}-*.egg-info/*
|
2024-01-05 16:24:13 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:24:15 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.21-4mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:24:14 +01:00
|
|
|
* Tue Jul 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-3mamba
|
|
|
|
- rebuilt to remove requirement for python 3.9
|
|
|
|
|
2024-01-05 16:24:14 +01:00
|
|
|
* Fri Apr 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:24:14 +01:00
|
|
|
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 2.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Mon Mar 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.20-2mamba
|
|
|
|
- rebuilt with new python requirements
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Tue Mar 10 2020 Automatic Build System <autodist@mambasoft.it> 2.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.19-2mamba
|
|
|
|
- rebuilt with python3 3.7.4
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Wed Sep 26 2018 Automatic Build System <autodist@mambasoft.it> 2.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 2.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Sun Oct 30 2016 Automatic Build System <autodist@mambasoft.it> 2.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.16-2mamba
|
|
|
|
- fixed permissions of egg-info files
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Tue Oct 25 2016 Automatic Build System <autodist@mambasoft.it> 2.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:24:13 +01:00
|
|
|
* Tue Jun 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.14-1mamba
|
|
|
|
- package created using the webbuild interface
|