Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:siegel
python-unipath
python-unipath.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-unipath.spec of Package python-unipath
# # spec file for package python-unipath # # Copyright (c) 2013 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/ # %define modname Unipath %define pyname unipath Name: python-%{pyname} Version: 1.0 Release: 0 Summary: Object-oriented alternative to os/os.path/shutil License: Python-2.0 Group: Development/Languages/Python Url: http://sluggo.scrapping.cc/python/unipath/ Source0: https://pypi.python.org/packages/source/U/Unipath/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-devel %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Unipath is an object-oriented approach to file/pathname manipulations and filesystem calls, an alternative to ``os.path.*``, ``shutil.*``, and some ``os.*`` functions. It's based on Orendorff's path.py but has been refactored to make application code more concise, by focusing on what the programmer wants to do rather than on low-level operations exactly like the C library. %prep %setup -n %{modname}-%{version} %build python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} %files %defattr(-,root,root) %doc BUGS.txt CHANGES README.html README.rst %{python_sitelib}/%{pyname} %{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info %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