package created using the webbuild interface [release 3.4.0.3-1mamba;Sat Jan 23 2016]

This commit is contained in:
Davide Madrisan 2024-01-05 16:39:59 +01:00
parent 84c8fea3ca
commit 151aa4b35b
2 changed files with 46 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-singledispatch # python-singledispatch
This library brings functools.singledispatch from Python 3.4 to Python 2.6.

View File

@ -0,0 +1,44 @@
Name: python-singledispatch
Version: 3.4.0.3
Release: 1mamba
Summary: This library brings functools.singledispatch from Python 3.4 to Python 2.6
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://pypi.python.org/pypi/singledispatch
Source: https://pypi.python.org/packages/source/s/singledispatch/singledispatch-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%prep
%setup -q -n singledispatch-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc README.rst
%changelog
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 3.4.0.3-1mamba
- package created using the webbuild interface