package created using the webbuild interface [release 5.7.1-1mamba;Mon Apr 18 2022]
This commit is contained in:
parent
0ac1a87d17
commit
dfc837533d
@ -1,2 +1,4 @@
|
|||||||
# python-importlib_resources
|
# python-importlib_resources
|
||||||
|
|
||||||
|
Read resources from Python packages.
|
||||||
|
|
||||||
|
45
python-importlib_resources.spec
Normal file
45
python-importlib_resources.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
|
Name: python-importlib_resources
|
||||||
|
Version: 5.7.1
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Read resources from Python packages
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/python/importlib_resources
|
||||||
|
Source: https://pypi.debian.net/importlib-resources/importlib_resources-%{version}.tar.gz
|
||||||
|
License: Apache License 2.0
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(zipp)
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n importlib_resources-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__python} -m build --wheel --skip-dependency-check --no-isolation
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
|
|
||||||
|
%files %{?pyappend}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7.1-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user