Hello community, here is the log from the commit of package python-markdown for openSUSE:Factory checked in at 2011-11-28 12:56:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-markdown (Old) and /work/SRC/openSUSE:Factory/.python-markdown.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-markdown", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-markdown/python-markdown.changes 2011-09-23 12:42:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-markdown.new/python-markdown.changes 2011-11-28 12:56:30.000000000 +0100 @@ -1,0 +2,21 @@ +Sat Nov 26 00:11:46 UTC 2011 - gber@opensuse.org + +- update to version 2.1.0 + - three new extensions: "Attribute Lists", "Newline to Break", + "Smart Strong" + - HTML5 support + - a XHTML searializer has been added + - the Markdown class was refactored so that a subclass could + define it's own build_parser method which would build a + completely different parser + - the markdown library can now be embedded into third party + libraries + - added support for Python's -m command line option + - the commandline script name was changed to markdown_py + - various bug fixes +- cleanup specfile + - tweak description + - remove unnecessary dependencies on python-devel + - edit extensions and remove shebang + +------------------------------------------------------------------- Old: ---- markdown-2.0.3.tar.bz2 New: ---- Markdown-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-markdown.spec ++++++ --- /var/tmp/diff_new_pack.4ZGrS2/_old 2011-11-28 12:56:34.000000000 +0100 +++ /var/tmp/diff_new_pack.4ZGrS2/_new 2011-11-28 12:56:34.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-markdown (Version 2.0.3) +# spec file for package python-markdown # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,18 @@ # -Summary: Python Markdown Implementation Name: python-markdown -Version: 2.0.3 +Version: 2.1.0 Release: 1 License: BSD +Summary: Python Markdown Implementation Group: Development/Libraries/Python Url: http://freewisdom.org/projects/python-markdown/ -Source: markdown-%{version}.tar.bz2 +Source: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -BuildRequires: python-devel +BuildRequires: ed %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif @@ -42,18 +42,22 @@ %description This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few -known issues. - -Authors: --------- - Waylan Limberg <waylan [at] gmail.com> +known issues. Additional features are supported through extensions. %prep -%setup -q -n markdown-%{version} +%setup -q -n Markdown-%{version} %build -export CFLAGS="$RPM_OPT_FLAGS" -python setup.py build +( + cd markdown/extensions + for ext in *.py; do + ed $ext <<EOF +1g/^#!/d +w +EOF + done +) +%{__python} setup.py build %install %{__python} setup.py install \ @@ -67,6 +71,5 @@ %files -f INSTALLED_FILES %defattr(-, root, root, 0755) %doc docs/* -/usr/bin/markdown %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org