Package ipython: 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 195 196 197 198 199 200 201 202 203 | %def_with python3 Name: ipython Version: 0.13.1 Release: alt1 %setup_python_module IPython Summary: An enhanced interactive Python shell License: BSD Group: Development/Python Url: http://ipython.org BuildArch: noarch # https://github.com/ipython/ipython.git Source0: %name-%version.tar Patch0: %name-0.10-alt-bindings-fix.patch BuildPreReq: python3-module-tornado %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-distribute %endif %add_python_req_skip Gnuplot Numeric bzrlib foolscap nose setuptools twisted msvcrt oct2py rpy2 %add_python3_req_skip __main__ %description IPython provides a replacement for the interactive Python interpreter with extra functionality. Main features: * Comprehensive object introspection. * Input history, persistent across sessions. * Caching of output results during a session with automatically generated references. * Readline based name completion. * Extensible system of 'magic' commands for controlling the environment and performing many tasks related either to IPython or the operating system. * Configuration system with easy switching between different setups (simpler than changing $$PYTHONSTARTUP environment variables every time). * Session logging and reloading. * Extensible syntax processing for special purpose situations. * Access to the system shell with user-extensible alias system. * Easily embeddable in other Python programs. * Integrated access to the pdb debugger and the Python profiler. %if_with python3 %package -n %{name}3 Summary: An enhanced interactive Python 3 shell Group: Development/Python3 %add_python3_req_skip Gnuplot Numeric bzrlib foolscap nose setuptools twisted %add_python3_req_skip msvcrt wx gtk compiler OpenGL oct2py rpy2 %description -n %{name}3 IPython provides a replacement for the interactive Python interpreter with extra functionality. Main features: * Comprehensive object introspection. * Input history, persistent across sessions. * Caching of output results during a session with automatically generated references. * Readline based name completion. * Extensible system of 'magic' commands for controlling the environment and performing many tasks related either to IPython or the operating system. * Configuration system with easy switching between different setups (simpler than changing $$PYTHONSTARTUP environment variables every time). * Session logging and reloading. * Extensible syntax processing for special purpose situations. * Access to the system shell with user-extensible alias system. * Easily embeddable in other Python programs. * Integrated access to the pdb debugger and the Python profiler. %endif %package doc Summary: IPython documentation Group: Development/Python %description doc IPython provides a replacement for the interactive Python interpreter with extra functionality. This package contains IPython documentation (html and PDF formats). %package examples Summary: IPython examples Group: Development/Python %description examples IPython provides a replacement for the interactive Python interpreter with extra functionality. This package contains examples for IPython. %prep %setup #patch0 -p1 rm -f IPython/Extensions/{PhysicalQInteractive.py,scitedirector.py,ipy_render.py,ipy_synchronize_with.py,ipy_traits_completer.py,ipy_winpdb.py,win32clip.py} %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %build %python_build %if_with python3 pushd ../python3 export LANG="en_US.UTF-8" %python3_build popd %endif %install %python_install rm -rf %buildroot%python_sitelibdir/IPython/{tests,frontend/cocoa,*/tests,kernel/core/tests} rm -f %buildroot%_bindir/iptest cp docs/source/*.txt %buildroot%_docdir/%name/ %if_with python3 pushd ../python3 export LANG="en_US.UTF-8" %python3_install rm -rf %buildroot%python3_sitelibdir/IPython/{tests,frontend/cocoa,*/tests,kernel/core/tests} rm -f %buildroot%_bindir/iptest3 popd %endif %files %_bindir/* %if_with python3 %exclude %_bindir/*3 %exclude %_bindir/%{name}3* %endif %_man1dir/* %dir %_docdir/%name/ %_docdir/%name/*.txt %python_sitelibdir/IPython/ %python_sitelibdir/*.egg-info %files doc %dir %_docdir/%name/ %_docdir/%name/extensions/ #_docdir/%name/manual/ %files examples %dir %_docdir/%name/ %_docdir/%name/examples/ %if_with python3 %files -n %{name}3 %_bindir/*3 %_bindir/%{name}3* %python3_sitelibdir/* %endif %changelog * Sun Mar 24 2013 Aleksey Avdeev <solo@altlinux.ru> 0.13.1-alt1 - Version 0.13.1 (rel) * Tue Jul 03 2012 Vitaly Kuznetsov <vitty@altlinux.ru> 0.13-alt2 - Version 0.13 (rel) * Fri Jun 01 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.13-alt1.git20120601 - Version 0.13 (dev) - Added package for Python 3 * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.10-alt1.1.1 - Rebuild with Python-2.7 * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10-alt1.1 - Rebuilt with python 2.6 * Tue Aug 11 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.10-alt1 - 0.10 * Sun Mar 29 2009 Andrey Rahmatullin <wrar@altlinux.ru> 0.9.1-alt2 - fix default indent bindings (vsu@) * Thu Feb 19 2008 Andrey Rahmatullin <wrar@altlinux.ru> 0.9.1-alt1 - 0.9.1 - disable strict python requires detection, update skipped dependencies list - package docs and examples separately * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.7.1.fix1-alt1.1 - Rebuilt with python-2.5. * Sun Mar 05 2006 Leonid Shalupov <shalupov@altlinux.ru> 0.7.1.fix1-alt1 - 0.7.1.fix1 - stripped requires of runtime-detected frameworks: tk gtk qt wx (#7140) * Thu Jun 16 2005 Leonid Shalupov <shalupov@altlinux.ru> 0.6.15-alt1 - 0.6.15 * Sat Feb 19 2005 Leonid Shalupov <shalupov@altlinux.ru> 0.6.11-alt1 - Initial build |