Package python-module-pip: 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 204 205 | %define _unpackaged_files_terminate_build 1 %def_with docs Summary: The PyPA recommended tool for installing Python packages Name: python-module-pip Version: 19.1.1 Release: alt2 Source0: pip-%version.tar.gz License: MIT Group: Development/Python BuildArch: noarch Url: http://www.pip-installer.org Obsoletes: python-module-pip-pickles %setup_python_module pip %if_with docs BuildRequires(pre): rpm-macros-sphinx BuildRequires: python-module-sphinx BuildRequires: python3-module-sphinx %endif BuildRequires(pre): rpm-build-python3 %description %summary %add_findprov_skiplist %python_sitelibdir/pip/_vendor/* %if_with docs %package docs Summary: Documentation for pip Group: Development/Documentation %description docs %summary This package contains documentation for pip. %endif %package -n pip Summary: Executable for PIP Group: Development/Python Requires: python-module-pip Obsoletes: python-module-pip <= 19.1.1-alt1 Conflicts: python-module-pip <= 19.1.1-alt1 %description -n pip %summary %package -n python3-module-%modulename Summary: The PyPA recommended tool for installing Python packages Group: Development/Python3 Obsoletes: python3-module-pip-pickles %description -n python3-module-%modulename %summary %add_findprov_skiplist %python3_sitelibdir/pip/_vendor/* %filter_from_requires /python3\(\.[[:digit:]]\)\?(pip\._vendor\..*)/d %if_with docs %package -n python3-module-%modulename-docs Summary: Documentation for pip3 Group: Development/Documentation %description -n python3-module-%modulename-docs %summary This package contains documentation for pip. %endif %prep %setup -n %modulename-%version %if_with docs # XXX wait for packaging pypa_theme sed -i ' s/pypa_theme/default/ /.navigation_depth.: 3,/s/^/#/ /.issues_url.:/s/^/#/ ' docs/html/conf.py %prepare_sphinx . ln -s ../objects.inv docs/ %endif %build # py2 and py3 builds are identical %python_build %if_with docs PYTHONPATH=`pwd`/build/lib sphinx-build-3 -c docs/html docs/html html3 PYTHONPATH=`pwd`/build/lib sphinx-build -c docs/html docs/html html2 %endif %install %python3_install %python_install %files %doc *.txt *.rst %_bindir/pip2 %_bindir/pip2.7 %python_sitelibdir/pip/ %python_sitelibdir/pip-*.egg-info/ %files -n pip %_bindir/pip %if_with docs %files docs %doc html2 %files -n python3-module-%modulename-docs %doc html3 %endif %files -n python3-module-%modulename %doc *.txt *.rst %_bindir/pip3 %_bindir/pip%{__python3_version} %python3_sitelibdir/pip/ %python3_sitelibdir/pip-*.egg-info/ %changelog * Mon Aug 02 2021 Stanislav Levin <slev@altlinux.org> 19.1.1-alt2 - Moved pip executable into its own package. * Mon May 13 2019 Stanislav Levin <slev@altlinux.org> 19.1.1-alt1 - 19.0.3 -> 19.1.1. * Fri Apr 19 2019 Mikhail Gordeev <obirvalger@altlinux.org> 19.0.3-alt2 - Change hardcoded python3 version to macros * Fri Mar 01 2019 Stanislav Levin <slev@altlinux.org> 19.0.3-alt1 - 19.0.1 -> 19.0.3. * Sun Jan 27 2019 Stanislav Levin <slev@altlinux.org> 19.0.1-alt1 - 18.1 -> 19.0.1. * Thu Oct 18 2018 Fr. Br. George <george@altlinux.ru> 18.1-alt1 - Autobuild version bump to 18.1 - Pickle modules removed * Thu Aug 02 2018 Fr. Br. George <george@altlinux.ru> 18.0-alt1 - Autobuild version bump to 18.0 * Tue Jun 12 2018 Fr. Br. George <george@altlinux.ru> 10.0.1-alt2 - Autobuild version bump to 10.0.1 - Introduce python3 generated documentation * Tue Jun 05 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 10.0.1-alt1 - Updated to upstream version 10.0.1. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 9.0.1-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon Mar 13 2017 Fr. Br. George <george@altlinux.ru> 9.0.1-alt1 - Autobuild version bump to 9.0.1 * Mon Oct 31 2016 Fr. Br. George <george@altlinux.ru> 8.1.2-alt1 - Autobuild version bump to 8.1.2 - Fix python3 version * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 8.0.2-alt1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 8.0.2-alt1.1 - NMU: Use buildreq for BR. * Tue Jan 26 2016 Fr. Br. George <george@altlinux.ru> 8.0.2-alt1 - Autobuild version bump to 8.0.2 * Tue Jan 26 2016 Fr. Br. George <george@altlinux.ru> 7.1.2-alt2 - New build scheme * Sun Aug 23 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 7.1.2-alt1 - Version 7.1.2 * Wed Aug 12 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 7.1.0-alt1 - Version 7.1.0 * Mon Jan 19 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.0.6-alt1 - Version 6.0.6 * Wed Dec 24 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.0.3-alt1 - Version 6.0.3 * Tue Dec 23 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 6.0.1-alt1 - Version 6.0.1 * Sat Jul 19 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.6-alt1 - Version 1.5.6 - Added module for Python 3 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.0-alt1.1 - Rebuild with Python-2.7 * Fri Jun 10 2011 Sergey Alembekov <rt@altlinux.ru> 1.0-alt1 - new version - spec fixes * Sun Mar 20 2011 Sergey Alembekov <rt@altlinux.ru> 0.8.3-alt1 - initial build for ALTLinux |