Package python-module-egenix-mx-base: 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 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | %define oname egenix-mx-base %def_without python3 Name: python-module-%oname Version: 3.2.8 Release: alt1 Summary: eGenix.com mx Base Distribution License: eGenix.com Public License Agreement Group: Development/Python Source: %name-%version.tar Url: http://www.egenix.com/products/python/mxBase/ Obsoletes: egenix-mx-base < 2.0.3-alt8 Provides: egenix-mx-base = %version-%release %setup_python_module %oname %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-distribute BuildPreReq: python-tools-2to3 %endif %description The eGenix mx Extension Series are a collection of Python extensions written in ANSI C and Python which provide a large spectrum of useful additions to everyday Python programming. The Base Distribution includes the Open Source subpackages of the series and is needed by all other add-on packages of the series: mxDateTime - Date/Time Library for Python mxTextTools - Fast Text Parsing and Processing Tools for Python mxProxy - Object Access Control for Python mxBeeBase - On-disk B+Tree Based Database Kit for Python mxURL - Flexible URL Data-Type for Python mxUID - Fast Universal Identifiers for Python mxStack - Fast and Memory-Efficient Stack Type for Python mxQueue - Fast and Memory-Efficient Queue Type for Python mxTools - Fast Everyday Helpers for Python %if_with python3 %package -n python3-module-%oname Summary: eGenix.com mx Base Distribution (Python 3) Group: Development/Python3 %description -n python3-module-%oname The eGenix mx Extension Series are a collection of Python 3 extensions written in ANSI C and Python 3 which provide a large spectrum of useful additions to everyday Python 3 programming. The Base Distribution includes the Open Source subpackages of the series and is needed by all other add-on packages of the series: mxDateTime - Date/Time Library for Python 3 mxTextTools - Fast Text Parsing and Processing Tools for Python 3 mxProxy - Object Access Control for Python 3 mxBeeBase - On-disk B+Tree Based Database Kit for Python 3 mxURL - Flexible URL Data-Type for Python 3 mxUID - Fast Universal Identifiers for Python 3 mxStack - Fast and Memory-Efficient Stack Type for Python 3 mxQueue - Fast and Memory-Efficient Queue Type for Python 3 mxTools - Fast Everyday Helpers for Python 3 %endif %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %add_optflags -fno-strict-aliasing cp $(find ./ -name '*.pdf') ./ %if_with python3 pushd ../python3 for i in $(find ./ -name '*.py'); do 2to3 -w $i done %python3_build popd %endif %python_build_debug %install %python_install find %buildroot/%python_sitelibdir/mx/ -type d -name Doc -print0 | xargs -r0 rm -rf -- find %buildroot/%python_sitelibdir/mx/ -type f -name 'test*.py' -delete rm -f %buildroot/%python_sitelibdir/mx/{BeeBase/showBeeDict.py,Misc/FileLock.py,Proxy/mxProxy/weakreftest.py,Stack/stackbench.py,Queue/queuebench.py} %if_with python3 pushd ../python3 %python3_install popd find %buildroot/%python3_sitelibdir/mx/ -type d -name Doc -print0 | xargs -r0 rm -rf -- find %buildroot/%python3_sitelibdir/mx/ -type f -name 'test*.py' -delete rm -f %buildroot/%python3_sitelibdir/mx/{BeeBase/showBeeDict.py,Misc/FileLock.py,Proxy/mxProxy/weakreftest.py,Stack/stackbench.py,Queue/queuebench.py} %endif %files %python_sitelibdir/mx/ %python_sitelibdir/*.egg-info %doc COPYRIGHT LICENSE README *.pdf %if_with python3 %files -n python3-module-%oname %doc COPYRIGHT LICENSE README %python3_sitelibdir/* %endif %changelog * Mon Jul 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.8-alt1 - Version 3.2.8 * Mon Sep 23 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.6-alt1 - Version 3.2.6 * Fri Jun 22 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.4-alt1 - Version 3.2.4 * Wed Apr 18 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.3-alt2 - Fixed build * Thu Apr 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.3-alt1 - Version 3.2.3 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.1.3-alt2.1 - Rebuild with Python-2.7 * Sun Mar 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.3-alt2 - Rebuilt for debuginfo * Thu Jul 29 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.3-alt1 - Version 3.1.3 * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.2-alt1.1 - Rebuilt with python 2.6 * Mon Jul 27 2009 Andrey Rahmatullin <wrar@altlinux.ru> 3.1.2-alt1 - 3.1.2 - spec cleanup * Mon Jan 28 2008 Grigory Batalov <bga@altlinux.ru> 2.0.6-alt2.1 - Rebuilt with python-2.5. * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 2.0.6-alt2 - Skip whrandom module requirement. * Tue Jan 11 2005 Andrey Orlov <cray@altlinux.ru> 2.0.6-alt1 - New Version - Package provide egenix-mx-base with version now (#5765) * Sat Jul 10 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt11 - Typo error in spec fixed * Sat Jul 03 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt10 - Provides egenix-mx-base added * Thu May 20 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt9 - Previous package obsoleted * Tue May 18 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt8 - Conditional packaging operators excluded from spec; * Mon May 10 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt7.d - Rebuild * Thu Apr 22 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt6.d - Some unusable files excluded (because of invalid dependences, preliminary fix); - Docs moved into %_datadir/doc; - Requirements of python2.3(Constants) excluded; * Thu Apr 22 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt5.d - REbuild with new macros * Wed Apr 14 2004 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt4.d - Fix new python policy compatibility * Mon Dec 01 2003 Andrey Orlov <cray@altlinux.ru> 2.0.3-alt3 - Try Rebuild With Py23 * Mon Nov 18 2002 AEN <aen@altlinux.ru> 2.0.3-alt2 - rebuild in new environment * Fri Mar 29 2002 Maxim Dzumanenko <mvd@altlinux.ru> 2.0.3-alt1 - first version |