Package python-module-six: 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 | %define oname six %def_with python3 Name: python-module-%oname Version: 1.9.0 Release: alt1.hg20150430.M70C.1 Summary: Python 2 and 3 compatibility utilities License: MIT Group: Development/Python Url: http://pypi.python.org/pypi/six Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # hg clone https://bitbucket.org/gutworth/six Source: %name-%version.tar BuildArch: noarch BuildPreReq: python-devel python-module-setuptools-tests %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools-tests %endif %description Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. %if_with python3 %package -n python3-module-%oname Summary: Python 2 and 3 compatibility utilities Group: Development/Python3 %description -n python3-module-%oname Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. %endif %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build_debug %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %check python setup.py test py.test -vv %if_with python3 pushd ../python3 python3 setup.py test py.test-%_python3_version -vv popd %endif %files %doc README documentation/*.rst %python_sitelibdir/* %if_with python3 %files -n python3-module-%oname %doc README documentation/*.rst %python3_sitelibdir/* %endif %changelog * Mon Sep 14 2015 Lenar Shakirov <snejok@altlinux.ru> 1.9.0-alt1.hg20150430.M70C.1 - Backport to c7 * Fri Jul 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.0-alt1.hg20150430 - New snapshot * Sun Jan 18 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.0-alt1.hg20150105 - Version 1.9.0 * Fri Dec 12 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.0-alt1.hg20141209 - New snapshot - Added chr (ALT #30557) * Sat Nov 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.0-alt1.hg20141030 - Version 1.8.0 * Tue Jul 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.3-alt1.hg20140713 - Version 1.7.3 * Mon Dec 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.1-alt1 - Version 1.4.1 * Wed Mar 06 2013 Aleksey Avdeev <solo@altlinux.ru> 1.2.0-alt1 - Version 1.2.0 * Mon Apr 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.0-alt2 - Added module for Python 3 * Wed Dec 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.0-alt1 - Initial build for Sisyphus |