Пакет python-module-memory_profiler: 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 | %define modulename memory_profiler %def_with python3 Name: python-module-%modulename Version: 0.55 Release: alt1 Summary: Monitor Memory usage of Python code License: BSD Group: Development/Python URL: https://github.com/fabianp/memory_profiler Packager: Andrey Cherepanov <cas@altlinux.org> BuildRequires: rpm-build-python BuildRequires: python-devel BuildRequires: python-module-distribute %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools %endif BuildArch: noarch Source: %modulename-%version.tar %description This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for python programs. It is a pure python module and has the psutil module as optional (but highly recommended) dependencies. %if_with python3 %package -n python3-module-%modulename Summary: Monitor Memory usage of Python code Group: Development/Python3 %py3_provides %modulename %description -n python3-module-%modulename This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for python programs. It is a pure python module and has the psutil module as optional (but highly recommended) dependencies. %endif %prep %setup -n %modulename-%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 *.rst #_bindir/mprof %python_sitelibdir/%modulename.* %python_sitelibdir/*.egg-info %if_with python3 %files -n python3-module-%modulename %doc *.rst %python3_sitelibdir/* %endif %changelog * Fri Apr 26 2019 Andrey Cherepanov <cas@altlinux.org> 0.55-alt1 - New version. * Thu Jun 21 2018 Andrey Cherepanov <cas@altlinux.org> 0.53.0-alt1 - New version. * Tue Mar 13 2018 Andrey Cherepanov <cas@altlinux.org> 0.50-alt1 - New version. * Sat Apr 29 2017 Andrey Cherepanov <cas@altlinux.org> 0.46-alt1 - New version * Fri Mar 24 2017 Andrey Cherepanov <cas@altlinux.org> 0.45-alt1 - New version * Wed Mar 22 2017 Andrey Cherepanov <cas@altlinux.org> 0.44-alt1 - New version * Fri Jan 13 2017 Andrey Cherepanov <cas@altlinux.org> 0.43-alt1 - new version 0.43 * Fri Jul 15 2016 Andrey Cherepanov <cas@altlinux.org> 0.41-alt2 - Do not package executable in module - Add documentation to python2 module * Wed Jun 08 2016 Andrey Cherepanov <cas@altlinux.org> 0.41-alt1 - Initial build for ALT Linux |