15
0

Accepting request 680386 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/680386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lesscpy?expand=0&rev=9
This commit is contained in:
2019-03-01 15:49:01 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c552757efc6e5d14d9a917ebdd036e7b6ff12ae68a5beb64a0a1cf856a098b5
size 168823

3
lesscpy-0.13.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3c6d0b544c5bcdadcd3d8319feccb4128d06676d4117c6c9396ab39c25372ad
size 157854

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Feb 28 07:37:24 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Fix incorrect URL
- Remove unnecessary build dependencies on flake8 and coverage by
using nose directly
- Add fdupes
- Update to v0.13.0
Version bump due to non-linear version sequences
https://github.com/lesscpy/lesscpy/issues/94
No changelog available
-------------------------------------------------------------------
Tue Dec 4 12:49:58 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lesscpy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-lesscpy
Version: 0.12.0
Version: 0.13.0
Release: 0
Summary: Lesscss compiler
License: MIT
Group: Development/Languages/Python
URL: https://github.com/robotis/lesscpy
URL: https://github.com/lesscpy/lesscpy
Source: https://files.pythonhosted.org/packages/source/l/lesscpy/lesscpy-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module ply}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ply
Requires: python-six
@@ -59,6 +58,7 @@ rm test/test_{bootstrap3,less,issues}.py
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/lesscpy
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%post
%python_install_alternative lesscpy
@@ -67,7 +67,7 @@ rm test/test_{bootstrap3,less,issues}.py
%python_uninstall_alternative lesscpy
%check
%python_exec setup.py test
%python_exec -m nose
%files %{python_files}
%license LICENSE