diff --git a/Pygments-1.4.tar.gz b/Pygments-1.4.tar.gz deleted file mode 100644 index 0d3e7b9..0000000 --- a/Pygments-1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbff02dc309e52846dd963d29483a7295fcc021624738d33359c43971080f9ab -size 3533757 diff --git a/Pygments-1.5.tar.gz b/Pygments-1.5.tar.gz new file mode 100644 index 0000000..c3ec453 --- /dev/null +++ b/Pygments-1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe183e3886f597e41f8c88d0e53c796cefddc879bfdf45f2915a383060436740 +size 3712566 diff --git a/python-Pygments.changes b/python-Pygments.changes index 870bb0b..fb589dc 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Mar 12 21:14:22 UTC 2012 - saschpe@gmx.de + +- Update to version 1.5: + - Fix Python 3 terminal highlighting with pygmentize + - In the LaTeX formatter, escape special &, < and > chars + - In the LaTeX formatter, fix display problems for styles with token + background colors + - Enhancements to the Squid conf lexer + - Several fixes to the reStructuredText lexer + - Recognize methods in the ObjC lexer + - Fix Lua "class" highlighting: it does not have classes + - Fix degenerate regex in Scala lexer and highlighting bugs + - Fix number pattern order in Ocaml lexer + - Fix generic type highlighting in ActionScript 3 + - Fixes to the Clojure lexer + - Fix degenerate regex in Nemerle lexer + - Fix infinite looping in CoffeeScript lexer + - Fix crashes and analysis with ObjectiveC lexer + - Add some Fortran 2003 keywords. + - Fix Boo string regexes + - Add "rrt" style + - Fix infinite looping in Darcs Patch lexer. + - Lots of misc fixes to character-eating bugs and ordering problems in many + different lexers. + ------------------------------------------------------------------- Tue Jan 24 13:49:17 UTC 2012 - bwiedemann@suse.com diff --git a/python-Pygments.spec b/python-Pygments.spec index 8202596..5ee4472 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -16,9 +16,8 @@ # - Name: python-Pygments -Version: 1.4 +Version: 1.5 Release: 0 Url: http://pygments.org Summary: Pygments is a syntax highlighting package written in Python @@ -28,17 +27,15 @@ Source: http://pypi.python.org/packages/source/P/Pygments/Pygments-%{ver BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute -#BuildRequires: python-nose +BuildRequires: python-nose Requires: python-distribute -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -%endif Provides: python-pygments = %{version} Obsoletes: python-pygments < %{version} -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%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()")} +%else +BuildArch: noarch +%endif %description Pygments is a syntax highlighting package written in Python. @@ -65,8 +62,8 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -Dm0644 docs/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 -#%%check -#nosetests +%check +nosetests %files %defattr(-,root,root,-)