Package python-module-markdown: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | %define _unpackaged_files_terminate_build 1 %define modname markdown %def_enable check Name: python-module-%modname Version: 3.1.1 Release: alt2 Summary: Python implementation of Markdown text-to-HTML convertor. Group: Development/Python License: BSD-3-Clause Url: http://pypi.python.org/pypi/Markdown/ #VCS: git://github.com/waylan/Python-Markdown.git Source: https://pypi.io/packages/source/M/Markdown/Markdown-%{version}.tar.gz %setup_python_module %modname BuildArch: noarch Conflicts: discount %py_provides %modname Requires: python-module-Pygments BuildRequires(pre): rpm-build-python BuildRequires: python-devel python-module-setuptools BuildRequires: python-module-yaml python-modules-logging BuildRequires: python-module-nose python-module-coverage BuildRequires: python-modules-xml python-module-Pygments %description Markdown is a plain text formatting syntax designed to be as readable as possible while being structured enough to allow conversion to other formats. This package contains Python implementation of markdown-to-HTML convertor. %package docs Summary: Documentation for Markdown Group: Development/Documentation BuildArch: noarch %description docs Markdown is a plain text formatting syntax designed to be as readable as possible while being structured enough to allow conversion to other formats. This package contains documentation for Markdown. %prep %setup -n Markdown-%version %build %python_build %install %python_install ln -s %{modname}_py %buildroot%_bindir/%modname %check export PYTHONPATH=%buildroot%python_sitelibdir nosetests -v %buildroot%_bindir/%modname README.md >README.html %files %_bindir/%modname %_bindir/%{modname}_py %python_sitelibdir/* %changelog * Fri Feb 07 2020 Yuri N. Sedunov <aris@altlinux.org> 3.1.1-alt2 - removed python3 subpackage (3.1.1 is last python2 supporting version) - enabled check - fixed License tag * Sat May 25 2019 Yuri N. Sedunov <aris@altlinux.org> 3.1.1-alt1 - 3.1.1 * Fri Apr 26 2019 Yuri N. Sedunov <aris@altlinux.org> 3.1-alt1 - 3.1 * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 2.6.7-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 2.6.7-alt1 - automated PyPI update * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.6.2-alt2.git20150620.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Mon Feb 08 2016 Sergey Alembekov <rt@altlinux.ru> 2.6.2-alt2.git20150620 - Disabled Doc, tests and unnecessary dependents * Mon Aug 24 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6.2-alt1.git20150620 - Version 2.6.2 * Wed Mar 04 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6.0-alt1.git20150219 - Version 2.6.0 * Thu Nov 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5.2-alt1.git20141119 - Version 2.5.2 * Thu Oct 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.5.1-alt1.git20141028 - Version 2.5.1 * Mon Jul 14 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.1-alt1 - Version 2.4.1 * Fri Nov 29 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.4.0-alt1.alpha - Version 2.4.0.alpha * Sat Mar 02 2013 Aleksey Avdeev <solo@altlinux.ru> 2.2.1-alt1 - Version 2.2.1 * Tue Apr 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1.1-alt1 - Version 2.1.1 - Added module for Python 3 * Fri Dec 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.1.0-alt1 - Version 2.1.0 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.0.3-alt2.1 - Rebuild with Python-2.7 * Fri Jul 30 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.3-alt2 - Added explicit conflict with discount * Thu Jul 29 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.3-alt1 - Version 2.0.3 (ALT #23510) * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6b-alt1.1 - Rebuilt with python 2.6 * Sun Feb 17 2008 Mikhail Gusarov <dottedmag@altlinux.org> 1.6b-alt1 - Initial build |