diff --git a/pip-23.3.1.tar.gz b/pip-23.3.2.tar.gz similarity index 67% rename from pip-23.3.1.tar.gz rename to pip-23.3.2.tar.gz index e65fb3978967f9f0e8bd2fb756956d9487015542..344893da8413a7212a90974e12789713cc966ff7 100644 Binary files a/pip-23.3.1.tar.gz and b/pip-23.3.2.tar.gz differ diff --git a/pip.aliyun.conf b/pip.aliyun.conf index 04a56982f9319420881516557150f94854ceb139..45e35924c5ed47e8448864bc0f7651142d704fca 100644 --- a/pip.aliyun.conf +++ b/pip.aliyun.conf @@ -1,5 +1,11 @@ [global] -index-url = https://mirrors.aliyun.com/pypi/simple/ +index-url = https://mirrors.aliyun.com/pypi/simple +extra-index-url = + https://pypi.openanolis.cn/prod/simple + https://pypi.org/simple [install] -trusted-host=mirrors.aliyun.com +trusted-host = + mirrors.aliyun.com + pypi.org + pypi.openanolis.cn diff --git a/pip.loongarch.conf b/pip.loongarch.conf deleted file mode 100644 index fd77def5ba76999eaf35282ded8010919afa7038..0000000000000000000000000000000000000000 --- a/pip.loongarch.conf +++ /dev/null @@ -1,8 +0,0 @@ -[global] -timeout = 60 -index-url = https://pypi.loongnix.cn/loongson/pypi -extra-index-url = https://pypi.org/simple -[install] -trusted-host = - pypi.loongnix.cn - pypi.org diff --git a/python-pip.spec b/python-pip.spec index cd47c88e7ac3960a3a1b69c8fdfca4a557fcdd3c..4e01c6b733beb563520b8828a09079874b59d293 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -7,17 +7,16 @@ %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) Name: python-pip -Version: 23.3.1 +Version: 23.3.2 Release: %{anolis_release}%{?dist} Summary: A tool for installing and managing Python package License: MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND LGPL-2.1-only AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause) URL: https://pip.pypa.io/ Source0: https://github.com/pypa/pip/archive/%{version}/%{pypi_name}-%{version}.tar.gz Source1: pip.aliyun.conf -Source2: pip.loongarch.conf Source10: 0005-pip-allow-different-versions.patch -BuildArch: noarch +BuildArch: noarch BuildRequires: pkgconfig(python3) %if %{with tests} BuildRequires: git-core mercurial subversion breezy @@ -186,11 +185,7 @@ rm %{buildroot}%{python3_sitelib}/pip-%{version}.dist-info/RECORD mkdir -p %{buildroot}%{python_wheel_dir} install -p dist/%{pypi_name}-%{version}-py3-none-any.whl -t %{buildroot}%{python_wheel_dir} -%ifarch loongarch64 -install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pip.conf -%else install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pip.conf -%endif %if %{with tests} %check @@ -231,6 +226,10 @@ pytest_k='not completion' %endif %changelog +* Fri Jan 19 2024 Funda Wang - 23.3.2-1 +- New version 23.3.2 +- Promote anolis python repository + * Thu Oct 26 2023 Funda Wang - 23.3.1-1 - New verison 23.3.1