diff --git a/Markups-0.6.1.tar.gz b/Markups-0.6.1.tar.gz deleted file mode 100644 index f316f5f..0000000 --- a/Markups-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f3d6f7b85ac9ddcb936b8b2b6fa15a42ddc9dfc22a075d83d9160b5d59f6d84 -size 19116 diff --git a/Markups-2.0.1.tar.gz b/Markups-2.0.1.tar.gz new file mode 100644 index 0000000..08cebd0 --- /dev/null +++ b/Markups-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef65593afe187cd1135da1a9c9f6dde2b0ecd2cda4895790628d270e8b0b7030 +size 17002 diff --git a/python-Markups.changes b/python-Markups.changes index 248ba26..1073409 100644 --- a/python-Markups.changes +++ b/python-Markups.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Aug 31 06:25:00 UTC 2017 - toddrme2178@gmail.com + +- update to Version 2.0.1 + * The new MathJax CDN is used, the old one will be shut down soon. + * When using MathJax with Markdown, the AMSmath and AMSsymbols extensions are + now enabled. +- update to Version 2.0.0, 2016-05-09 + * Changed the API of pymarkups to clearly separate the conversion step from + access to the various elements of the result. The old API is deprecated + and will be removed in a future release. Please see the documentation for + details on using the new API. + * The reStructuredText markup now includes document title and subtitle in + the HTML body. + * Added a ``markup2html.py`` reference script to show API usage. + * Improved support for specifying Markdown extensions in the document. + +------------------------------------------------------------------- +Thu Aug 24 13:45:17 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Thu May 7 16:12:55 UTC 2015 - benoit.monin@gmx.fr @@ -54,3 +76,4 @@ Sat Feb 2 11:46:51 UTC 2013 - i@marguerite.su - initial version 0.2.4 * no changelog for this version (yet). + diff --git a/python-Markups.spec b/python-Markups.spec index 8e45600..4a07e08 100644 --- a/python-Markups.spec +++ b/python-Markups.spec @@ -1,7 +1,7 @@ # # spec file for package python-Markups # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,23 +16,20 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Markups -Version: 0.6.1 +Version: 2.0.1 Release: 0 Summary: A wrapper around various text markups License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/mitya57/pymarkups -Source: http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-importlib -Requires: python-importlib -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Source: https://files.pythonhosted.org/packages/source/M/Markups/Markups-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildArch: noarch -%endif +%python_subpackages %description This module provides a wrapper around the various text markup languages, @@ -42,14 +39,17 @@ such as Markdown and reStructuredText (these two are supported by default). %setup -q -n Markups-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%check +%python_exec setup.py test + +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE README.rst examples +%doc LICENSE README.rst changelog %{python_sitelib}/* %changelog