From 9b989832e24a4b1c01c6f6e36d217146ddbd3a20 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Thu, 13 Feb 2014 14:22:48 +0100 Subject: [PATCH] update to 0.10.1 --- .gitignore | 1 + python-lesscpy.spec | 32 +++++++++++++++++++------------- sources | 2 +- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 3105d09..e960bce 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /lesscpy-0.9j.tar.gz +/lesscpy-0.10.1.tar.gz diff --git a/python-lesscpy.spec b/python-lesscpy.spec index b3d5f53..32101ea 100644 --- a/python-lesscpy.spec +++ b/python-lesscpy.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} > 12 || 0%{?rhel} > 7 +%if 0%{?fedora} > 12 %global with_python3 1 %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} @@ -7,8 +7,8 @@ %global pypi_name lesscpy Name: python-%{pypi_name} -Version: 0.9j -Release: 3%{?dist} +Version: 0.10.1 +Release: 1%{?dist} Summary: Lesscss compiler License: MIT @@ -19,9 +19,11 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-ply +BuildRequires: python-nose +BuildRequires: python-coverage +BuildRequires: python-flake8 Requires: python-ply -Patch0: python-lesscpy-fix-setup-encoding-issue.patch %description 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 @@ -35,6 +37,9 @@ Requires: python3-ply BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-ply +BuildRequires: python3-nose +BuildRequires: python3-flake8 +BuildRequires: python3-coverage %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 @@ -50,7 +55,6 @@ rm -rf %{py3dir} cp -a . %{py3dir} #fix utf8 encoding issue occurring only under py3 pushd %{py3dir} -%patch0 -p1 find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' popd %endif @@ -77,14 +81,13 @@ popd %{__python} setup.py install --skip-build --root %{buildroot} -%check - -%{__python} lesscpy/test/__main__.py -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} lesscpy/test/__main__.py -popd -%endif # with_python3 +#%check +#nosetests -v +#%if 0%{?with_python3} +#pushd %{py3dir} +#nosetests-3.3 -v +#popd +#%endif # with_python3 %files %doc LICENSE @@ -101,6 +104,9 @@ popd %changelog +* Tue Feb 11 2014 Matthias Runge - 0.10.1-1 +- update to 0.10.1 + * Thu Aug 29 2013 Matthias Runge - 0.9j-3 - use python instead of python3 in python2 package diff --git a/sources b/sources index 57e5e06..c5620c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9587da0148463d6521f386294c9d6f3 lesscpy-0.9j.tar.gz +2a5ea6b1cebb48601632f2e452348ffc lesscpy-0.10.1.tar.gz