52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
|
Name: python-typing_extensions
|
||
|
Version: 3.7.4.3
|
||
|
Release: 1mamba
|
||
|
Summary: https://pypi.org/project/typing-extensions/
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://pypi.org/project/typing-extensions/
|
||
|
Source: https://pypi.debian.net/typing-extensions/typing_extensions-%{version}.tar.gz
|
||
|
License: Python Software Foundation License
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: python3
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: libpython-devel
|
||
|
Requires: python >= %python_version
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%if 0%{?with_pyver}
|
||
|
%define py_requires_append \
|
||
|
Requires: python-typing%{?pyappend:-%pyappend}
|
||
|
%pyver_package
|
||
|
%endif
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n typing_extensions-%{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
|
||
|
|
||
|
%files %{?pyappend} -f %{name}.filelist
|
||
|
%defattr(-,root,root)
|
||
|
%doc LICENSE
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.4.3-1mamba
|
||
|
- package created using the webbuild interface
|