package created using the webbuild interface [release 3.4.0.3-1mamba;Sat Jan 23 2016]
This commit is contained in:
parent
84c8fea3ca
commit
151aa4b35b
@ -1,2 +1,4 @@
|
||||
# python-singledispatch
|
||||
|
||||
This library brings functools.singledispatch from Python 3.4 to Python 2.6.
|
||||
|
||||
|
44
python-singledispatch.spec
Normal file
44
python-singledispatch.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user