automatic version update by autodist [release 3.2.1-1mamba;Fri Dec 01 2023]
This commit is contained in:
parent
1bae2ff826
commit
1b9dfb44e6
@ -1,5 +1,6 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-networkx
|
Name: python-networkx
|
||||||
Version: 3.1
|
Version: 3.2.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks
|
Summary: A Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -10,7 +11,7 @@ URL: https://networkx.org/documentation/stable/index.html
|
|||||||
Source: https://pypi.debian.net/networkx/networkx-%{version}.tar.gz
|
Source: https://pypi.debian.net/networkx/networkx-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython310-devel
|
BuildRequires: libpython311-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -26,25 +27,30 @@ Obsoletes: python-networkx1%{?pyappend:-%pyappend} <= 1.11
|
|||||||
%setup -q -n networkx-%{version}
|
%setup -q -n networkx-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
-O1 --skip-build \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--install-headers=%{python_inc} \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
#%if "%{?with_pyver}" != "3"
|
||||||
|
## Rename any conflicting file outside of python site packages tree
|
||||||
|
#for f in %{_bindir}/jws; do
|
||||||
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
#done
|
||||||
|
#%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/networkx-%{version}-py*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/networkx-%{version}-py*.egg-info/*
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
* Thu Apr 13 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user