Пакет python-module-pyparsing: 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 136 137 138 139 140 141 142 | %define _unpackaged_files_terminate_build 1 %define oname pyparsing %def_with python3 Name: python-module-%oname Version: 2.2.0 Release: alt1 Summary: Python parsing module License: MIT Group: Development/Python URL: https://pypi.org/project/pyparsing Packager: Python Development Team <python at packages.altlinux.org> BuildArch: noarch BuildRequires: python-devel python-module-setuptools %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools %endif # http://prdownloads.sourceforge.net/%oname/%oname-%version.tar.gz Source: %oname-%version.tar %description The parsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The parsing module provides a library of classes that client code uses to construct the grammar directly in Python code. %package -n python3-module-%oname Summary: Python 3 parsing module Group: Development/Python3 %description -n python3-module-%oname The parsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The parsing module provides a library of classes that client code uses to construct the grammar directly in Python code. %prep %setup -n %oname-%version %if_with python3 cp -fR . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %files %doc CHANGES examples docs/* %doc pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README %python_sitelibdir/* %files -n python3-module-%oname %doc CHANGES examples docs/* %doc pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README %python3_sitelibdir/* %changelog * Wed Aug 08 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.2.0-alt1 - Updated to upstream version 2.2.0. * Wed May 24 2017 Alexey Shabalin <shaba@altlinux.ru> 2.1.10-alt1 - 2.1.10 - build python and python3 packages from one spec * Mon Feb 09 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.3-alt1 - Version 2.0.3 * Mon Aug 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.2-alt1 - Version 2.0.2 * Mon Sep 23 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.1-alt1 - Version 2.0.1 * Tue Feb 19 2013 Aleksey Avdeev <solo@altlinux.ru> 1.5.7-alt1 - Version 1.5.7 - Removed module for Python 3 * Thu May 10 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.6-alt2 - Added module for Python 3 * Wed Nov 23 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.6-alt1 - Version 1.5.6 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.5.5-alt1.1 - Rebuild with Python-2.7 * Sat Nov 27 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.5-alt1 - Version 1.5.5 * Tue Aug 03 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.3-alt1 - Version 1.5.3 * Tue Nov 17 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.1-alt1.1 - Rebuilt with python 2.6 * Mon Jan 05 2009 Vitaly Lipatov <lav@altlinux.ru> 1.5.1-alt1 - new version (1.5.1) - cleanup spec * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 1.4.2-alt1.1 - Rebuilt with python-2.5. * Sun Jun 11 2006 Ivan Fedorov <ns@altlinux.ru> 1.4.2-alt1 - 1.4.2 * Tue May 18 2004 Andrey Orlov <cray@altlinux.ru> 1.1.2-alt5 - Conditional operators are excluded from spec * Mon May 10 2004 Andrey Orlov <cray@altlinux.ru> 1.1.2-alt4.d - Rebuild * Thu Apr 22 2004 Andrey Orlov <cray@altlinux.ru> 1.1.2-alt3.d - Clause "noarch" inserted; * Tue Apr 13 2004 Andrey Orlov <cray@altlinux.ru> 1.1.2-alt2.d - Rebuild with new rpm/python macros; - Build-requires on python-devel removed; * Mon Mar 29 2004 Andrey Orlov <cray@altlinux.ru> 1.1.2-alt1.d - Initial release |