Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
python-functional
python-functional.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-functional.spec of Package python-functional
# # spec file for package python-functional # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-functional Version: 0.7.0 Release: 0 Url: http://oakwinter.com/code/functional/ Summary: Tools for functional programming in python License: Python-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/f/functional/functional-C-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel #BuildRequires: python-nose %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %description functional provides Python users with numerous tools common in functional programming, such as foldl, foldr, flip, as well as mechanisms for partial function application and function composition. functional also includes sane versions of the Python builtins map() and filter(), written without the weird semantics of the builtin versions. functional comes in two flavours: one is written in a combination of C and Python, focusing on performance. The second is written in pure Python and emphasises code readability and portability. The pure-Python variant is also recommended if your setup does not allow compilation of third-party extension modules. %prep %setup -q -n functional-%{version} %build CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} #%%check #nosetests %files %defattr(-,root,root,-) %doc CHANGELOG README %{python_sitearch}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor