Package python-module-mistune: 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 | %define oname mistune %def_with python3 Name: python-module-%oname Version: 0.8.3 Release: alt1 Summary: The fastest markdown parser in pure Python License: BSD Group: Development/Python Url: https://pypi.python.org/pypi/mistune/ # https://github.com/lepture/mistune.git Source: %name-%version.tar BuildPreReq: python-devel python-module-setuptools BuildPreReq: python-module-wheel BuildPreReq: python-module-nose python-modules-multiprocessing BuildPreReq: python-module-Cython %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel python3-module-setuptools BuildPreReq: python3-module-wheel BuildPreReq: python3-module-nose BuildPreReq: python3-module-Cython %endif %py_provides %oname %description The fastest markdown parser in pure Python, inspired by marked. Features: * Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy. * Very Fast. It is the fastest in all pure Python markdown parsers. * More Features. Table, footnotes, autolink, fenced code etc. %if_with python3 %package -n python3-module-%oname Summary: The fastest markdown parser in pure Python Group: Development/Python3 %py3_provides %oname %description -n python3-module-%oname The fastest markdown parser in pure Python, inspired by marked. Features: * Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy. * Very Fast. It is the fastest in all pure Python markdown parsers. * More Features. Table, footnotes, autolink, fenced code etc. %endif %prep %setup %if_with python3 cp -fR . ../python3 %endif %build %add_optflags -fno-strict-aliasing %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif %install %python_install rm -f %buildroot%python_sitelibdir/*.py* %if_with python3 pushd ../python3 %python3_install rm -fR %buildroot%python3_sitelibdir/*.py \ %buildroot%python3_sitelibdir/__pycache__ popd %endif %check export PYTHONPATH=%buildroot%python_sitelibdir nosetests -v %if_with python3 pushd ../python3 export PYTHONPATH=%buildroot%python3_sitelibdir nosetests3 -v popd %endif %files %doc *.rst docs/*.rst %python_sitelibdir/* %if_with python3 %files -n python3-module-%oname %doc *.rst docs/*.rst %python3_sitelibdir/* %endif %changelog * Sat Aug 25 2018 Anton Midyukov <antohami@altlinux.org> 0.8.3-alt1 - Version 0.8.3 * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.7-alt3.git20150811.1.1.1 - (NMU) Rebuilt with python-3.6.4. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 0.7-alt3.git20150811.1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon Mar 28 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.7-alt3.git20150811.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Mon Mar 28 2016 Denis Medvedev <nbr@altlinux.org> 0.7-alt3.git20150811 - Cython brought back * Tue Mar 22 2016 Denis Medvedev <nbr@altlinux.org> 0.7-alt2.git20150811 - Removed cython dependency for python3.5 adaptation. * Sat Aug 22 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7-alt1.git20150811 - New snapshot * Mon Aug 03 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7-alt1.git20150730 - Version 0.7 * Wed Apr 22 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.1-alt1.git20150416 - Initial build for Sisyphus |