File python-pyScss.spec of Package python-pyScss
#
# spec file for package python-pyScss
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 LISA GmbH, Bingen, 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-pyScss
Version: 1.3.4
Release: 0
Summary: pyScss, a Scss compiler for Python
License: MIT
Group: Development/Languages/Python
Url: http://github.com/Kronuz/pyScss
Source: https://pypi.python.org/packages/source/p/pyScss/pyScss-%{version}.tar.gz
BuildRequires: pcre-devel
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-six
Requires: python-enum34
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
pyScss is a compiler for SCSS flavor of the Sass language, a superset of CSS3
that adds programming capabilities and some other syntactic sugar.
95% of Sass 3.2 is supported. If it's not supported, it's a bug! Please file
a ticket.
Most of Compass 0.11 is also built in.
Documentation:
http://pyscss.readthedocs.org/en/latest/
The canonical syntax reference is part of the Ruby Sass documentation:
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html
%prep
%setup -q -n pyScss-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{python_sitearch}/*
%{_bindir}/pyscss
%changelog