Accepting request 142457 from devel:languages:python
- Update to version 2.2.1: + Python-Markdown 2.2.1 is a bug-fix release. No new features have been added. However, at least one bug fix does not work in Python 2.4 so that version of Python is no longer supported. For a full list of changes, see the git log. OBS-URL: https://build.opensuse.org/request/show/142457 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=2
This commit is contained in:
commit
9a65703ee2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98e1b0a0b2f87b8310d2060a560f427c24ee16c96c83c98ea416f1f8ddc379b5
|
||||
size 236894
|
3
Markdown-2.2.1.tar.gz
Normal file
3
Markdown-2.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8b9a1efceab71afe9336a7c456fde36bfb0f505fb664ebb7f3dd44eddab44b6
|
||||
size 260043
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 14:26:33 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Update to version 2.2.1:
|
||||
+ Python-Markdown 2.2.1 is a bug-fix release. No new features have been added.
|
||||
However, at least one bug fix does not work in Python 2.4 so that version of
|
||||
Python is no longer supported. For a full list of changes, see the git log.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 23 12:47:08 UTC 2012 - saschpe@suse.de
|
||||
|
||||
|
@ -13,28 +13,29 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-Markdown
|
||||
Version: 2.2.0
|
||||
Version: 2.2.1
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: Python implementation of Markdown
|
||||
Url: http://packages.python.org/Markdown/
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://packages.python.org/Markdown/
|
||||
Source: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-xml
|
||||
Requires: python-xml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: python-markdown = %{version}
|
||||
Obsoletes: python-markdown < %{version}
|
||||
%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
|
||||
Provides: python-markdown = %{version}
|
||||
Obsoletes: python-markdown < %{version}
|
||||
|
||||
%description
|
||||
This is a Python implementation of John Gruber's [Markdown][].
|
||||
@ -45,6 +46,9 @@ supported by the [Available Extensions][].
|
||||
|
||||
%prep
|
||||
%setup -q -n Markdown-%{version}
|
||||
sed -i "s|\r||" docs/release-2.2.0.txt
|
||||
# Fix non-executable script warning:
|
||||
sed -i "s|^#!.*||" markdown/extensions/{sane_lists,html_tidy,extra,def_list,tables,codehilite,wikilinks,fenced_code,headerid}.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@ -52,8 +56,8 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
#%%check
|
||||
#python run-tests.py
|
||||
%check
|
||||
python run-tests.py
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user