parent
fd9b8080e1
commit
95c8b7f752
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
/lesscpy-0.9j.tar.gz
|
||||
/lesscpy-0.10.1.tar.gz
|
||||
/lesscpy-0.13.0.tar.gz
|
||||
/lesscpy-0.14.0.tar.gz
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 964905dc09406a55097d9c644b45bbec6944170a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||
Date: Tue, 12 Jun 2018 13:43:47 +0200
|
||||
Subject: [PATCH] Allow to run tests from versioned folder
|
||||
|
||||
If I download and unpack lesscpy-0.13.0 the tests from within
|
||||
were failing, because the 0.13.0 got split. this fixes it.
|
||||
---
|
||||
test/core.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/core.py b/test/core.py
|
||||
index 438ec54..63e3689 100644
|
||||
--- a/test/core.py
|
||||
+++ b/test/core.py
|
||||
@@ -24,7 +24,7 @@ def find_and_load_cases(cls, less_dir, css_dir, less_files=None, css_minimized=T
|
||||
else:
|
||||
LESS = glob.glob(os.path.join(_less_path, '*.less'))
|
||||
for less in LESS:
|
||||
- lessf = less.split('.')[0].split('/')[-1]
|
||||
+ lessf = less.rpartition('.')[0].split('/')[-1]
|
||||
css = os.path.join(_css_path, lessf + '.css')
|
||||
if css_minimized:
|
||||
mincss = os.path.join(_css_path, lessf + '.min.css')
|
@ -5,16 +5,14 @@
|
||||
%endif
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.13.0
|
||||
Release: 13%{?dist}
|
||||
Version: 0.14.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Lesscss compiler
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/robotis/lesscpy
|
||||
Source0: https://pypi.python.org/packages/source/l/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/lesscpy/lesscpy/pull/99.patch#/%{pypi_name}-fix-test.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description\
|
||||
@ -38,9 +36,6 @@ BuildRequires: python3-coverage
|
||||
BuildRequires: python3-six
|
||||
%{?python_provide:%python_provide python3-lesscpy}
|
||||
|
||||
# executable moved to py3 package
|
||||
Conflicts: python2-lesscpy < 0.13.0-2
|
||||
|
||||
%description -n python3-lesscpy
|
||||
A compiler written in python 3 for the lesscss language. For those of us not
|
||||
willing/able to have node.js installed in our environment. Not all features
|
||||
@ -75,6 +70,9 @@ ln -s ./lesscpy %{buildroot}/%{_bindir}/py3-lesscpy
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 24 2020 Thomas Andrejak <thomas.andrejak@gmail.com> - 0.14.0-1
|
||||
- Bump version 0.14.0 (Fix #1792982)
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (lesscpy-0.13.0.tar.gz) = 227db8212a386b06f288140d09b7505ae43bc6221396fa2d154a6d7f0831cf1ff005d9818fd85fb3804103b725b60827cf56a29930c2de928546ab0dcf3d5877
|
||||
SHA512 (lesscpy-0.14.0.tar.gz) = 333015e3d4169fafedf0c295d12d5f0eadb8bea2576d147f1461e5854638b0501ea3038a945924efd81629b66dcc7ffcd3fabd12933529cb5fd4b962e87fe2c3
|
||||
|
Loading…
Reference in New Issue
Block a user