update to 0.10.1
This commit is contained in:
parent
1cc38b52b7
commit
9b989832e2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/lesscpy-0.9j.tar.gz
|
/lesscpy-0.9j.tar.gz
|
||||||
|
/lesscpy-0.10.1.tar.gz
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora} > 12 || 0%{?rhel} > 7
|
%if 0%{?fedora} > 12
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%else
|
%else
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
%{!?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
|
%global pypi_name lesscpy
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.9j
|
Version: 0.10.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Lesscss compiler
|
Summary: Lesscss compiler
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -19,9 +19,11 @@ BuildArch: noarch
|
|||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-ply
|
BuildRequires: python-ply
|
||||||
|
BuildRequires: python-nose
|
||||||
|
BuildRequires: python-coverage
|
||||||
|
BuildRequires: python-flake8
|
||||||
|
|
||||||
Requires: python-ply
|
Requires: python-ply
|
||||||
Patch0: python-lesscpy-fix-setup-encoding-issue.patch
|
|
||||||
%description
|
%description
|
||||||
A compiler written in python 3 for the lesscss language. For those of us not
|
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
|
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-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-ply
|
BuildRequires: python3-ply
|
||||||
|
BuildRequires: python3-nose
|
||||||
|
BuildRequires: python3-flake8
|
||||||
|
BuildRequires: python3-coverage
|
||||||
%description -n python3-lesscpy
|
%description -n python3-lesscpy
|
||||||
A compiler written in python 3 for the lesscss language. For those of us not
|
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
|
willing/able to have node.js installed in our environment. Not all features
|
||||||
@ -50,7 +55,6 @@ rm -rf %{py3dir}
|
|||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
#fix utf8 encoding issue occurring only under py3
|
#fix utf8 encoding issue occurring only under py3
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%patch0 -p1
|
|
||||||
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3}|'
|
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3}|'
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
@ -77,14 +81,13 @@ popd
|
|||||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%check
|
#%check
|
||||||
|
#nosetests -v
|
||||||
%{__python} lesscpy/test/__main__.py
|
#%if 0%{?with_python3}
|
||||||
%if 0%{?with_python3}
|
#pushd %{py3dir}
|
||||||
pushd %{py3dir}
|
#nosetests-3.3 -v
|
||||||
%{__python3} lesscpy/test/__main__.py
|
#popd
|
||||||
popd
|
#%endif # with_python3
|
||||||
%endif # with_python3
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
@ -101,6 +104,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 11 2014 Matthias Runge <mrunge@redhat.com> - 0.10.1-1
|
||||||
|
- update to 0.10.1
|
||||||
|
|
||||||
* Thu Aug 29 2013 Matthias Runge <mrunge@redhat.com> - 0.9j-3
|
* Thu Aug 29 2013 Matthias Runge <mrunge@redhat.com> - 0.9j-3
|
||||||
- use python instead of python3 in python2 package
|
- use python instead of python3 in python2 package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user