update to 24.8.1 [release 24.8.1-1mamba;Wed Dec 04 2024]
This commit is contained in:
parent
293e1849e8
commit
d5b89daa94
@ -1,19 +1,17 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-automat
|
Name: python-automat
|
||||||
Version: 22.10.0
|
Version: 24.8.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Self-service finite-state machines for the programmer on the go
|
Summary: Self-service finite-state machines for the programmer on the go
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/glyph/Automat
|
URL: https://github.com/glyph/Automat
|
||||||
Source: https://pypi.debian.net/Automat/Automat-%{version}.tar.gz
|
Source: https://pypi.debian.net/Automat/automat-%{version}.tar.gz
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython311-devel
|
BuildRequires: libpython311-devel
|
||||||
BuildRequires: python3.11dist(attrs)
|
|
||||||
BuildRequires: python3.11dist(setuptools)
|
|
||||||
BuildRequires: python3.11dist(six)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||||
|
|
||||||
@ -25,34 +23,35 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Automat-%{version}
|
%setup -q -n automat-%{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}/pdm; do
|
||||||
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
#done
|
||||||
|
#%endif
|
||||||
|
|
||||||
%if "%{?with_pyver}" != "3"
|
%files %{?pyappend}
|
||||||
mv %{buildroot}%{_bindir}/automat-visualize{,%{?with_pyver}}
|
|
||||||
sed -i "s|automat-visualize|automat-visualize%{?with_pyver}|" %{name}.filelist
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/Automat-%{version}-py*.egg-info
|
%{_bindir}/automat-visualize
|
||||||
%{python_sitearch}/Automat-%{version}-py*.egg-info/*
|
%dir %{python_sitelib}/Automat-%{version}.dist-info
|
||||||
|
%{python_sitelib}/Automat-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.8.1-1mamba
|
||||||
|
- update to 24.8.1
|
||||||
|
|
||||||
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 22.10.0-2mamba
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 22.10.0-2mamba
|
||||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user