15
0

- Update to version 0.9h

- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lesscpy?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2013-07-17 13:17:42 +00:00
committed by Git OBS Bridge
parent 5ff4f86fd3
commit 047e8039d9
4 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lesscpy
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -16,7 +16,7 @@
#
Name: python-lesscpy
Version: 0.6
Version: 0.9h
Release: 0
Url: https://github.com/robotis/lesscpy
Summary: Lesscss compiler
@@ -25,6 +25,8 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/l/lesscpy/lesscpy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
# Test requirements:
BuildRequires: python-ply
Requires: python-ply
%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()")}
@@ -51,12 +53,13 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#python lesscpy/test/__main__.py # Sigh!
python lesscpy/test/__main__.py # Sigh!
%files
%defattr(-,root,root,-)
%doc README
%doc LICENSE README
%{_bindir}/lesscpy
%{python_sitelib}/*
%{python_sitelib}/lesscpy
%{python_sitelib}/lesscpy-%{version}-py%{py_ver}.egg-info
%changelog