2024-01-05 16:22:41 +01:00
|
|
|
Name: python-py3c
|
2024-01-05 16:22:41 +01:00
|
|
|
Version: 1.4
|
2024-01-05 16:22:41 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: py3c helps you port C extensions to Python 3
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.org/project/py3c/
|
|
|
|
Source: https://github.com/encukou/py3c.git/v%{version}/py3c-%{version}.tar.bz2
|
|
|
|
#Source: https://pypi.debian.net/py3c/py3c-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
Requires: python >= %python_version
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n py3c-%{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
|
|
|
|
|
|
|
|
%makeinstall prefix=%{_prefix}
|
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/py3c.h
|
|
|
|
%dir %{_includedir}/py3c
|
|
|
|
%{_includedir}/py3c/*
|
|
|
|
%{_datadir}/pkgconfig/py3c.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:22:41 +01:00
|
|
|
* Sat Oct 16 2021 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:41 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:22:41 +01:00
|
|
|
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
|
|
|
|
- package created using the webbuild interface
|