Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rotkraut:Opt-Python
opt-python27-PyYAML
opt-python27-PyYAML.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opt-python27-PyYAML.spec of Package opt-python27-PyYAML
%define pkgname PyYAML %define pyver 2.7 %define nver 27 %define _prefix /opt/python %define _libdir %{_prefix}/lib %define python_sitearch %{_libdir}/python%{pyver}/site-packages Name: opt-python%{nver}-%{pkgname} Version: 5.4.1 Release: 1 Summary: YAML parser and emitter for Python License: MIT Group: Development/Languages/Python Url: http://pyyaml.org/wiki/PyYAML Source: https://pypi.python.org/packages/source/P/%{pkgname}/%{pkgname}-%{version}.tar.gz BuildRequires: opt-python%{nver} = %{pyver} BuildRequires: opt-python%{nver}-setuptools Requires: opt-python%{nver} = %{pyver} BuildRequires: libyaml-devel BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build %description YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for Python. PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that allow to represent an arbitrary Python object. PyYAML is applicable for a broad range of tasks from complex configuration files to object serialization and persistance. %prep %setup -q -n %{pkgname}-%{version} %build export PATH=%{_bindir}:$PATH export CFLAGS="%{optflags}" python%{pyver} setup.py build %install export PATH=%{_bindir}:$PATH python%{pyver} setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot} %files %defattr(-,root,root) %{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