diff --git a/Makefile b/Makefile index 9dd8715..2eda2af 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-setuptools -URL = https://files.pythonhosted.org/packages/99/61/f3b6c920f0e187368f4eeb57a7255afb428926beefba33f05f16214e66bb/setuptools-59.7.0.tar.gz +URL = https://files.pythonhosted.org/packages/4a/25/ec29a23ef38b9456f9965c57a9e1221e6c246d87abbf2a31158799bca201/setuptools-62.3.2.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 78e3d70..52582a6 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-setuptools -url = https://files.pythonhosted.org/packages/99/61/f3b6c920f0e187368f4eeb57a7255afb428926beefba33f05f16214e66bb/setuptools-59.7.0.tar.gz +url = https://files.pythonhosted.org/packages/4a/25/ec29a23ef38b9456f9965c57a9e1221e6c246d87abbf2a31158799bca201/setuptools-62.3.2.tar.gz archives = giturl = https://github.com/pypa/setuptools.git domain = @@ -14,7 +14,7 @@ allow_test_failures = false # unset %build ld_as_needed variable asneeded = false # this package is trusted enough to automatically update (used by other tools) -autoupdate = false +autoupdate = true # extend flags with '-std=gnu++98 broken_c++ = false # disable parallelization during build diff --git a/pypi-setuptools.spec b/pypi-setuptools.spec index 33004d5..256ab62 100644 --- a/pypi-setuptools.spec +++ b/pypi-setuptools.spec @@ -3,13 +3,13 @@ # Generated by: autospec.py # Name : pypi-setuptools -Version : 59.7.0 -Release : 253 -URL : https://files.pythonhosted.org/packages/99/61/f3b6c920f0e187368f4eeb57a7255afb428926beefba33f05f16214e66bb/setuptools-59.7.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/99/61/f3b6c920f0e187368f4eeb57a7255afb428926beefba33f05f16214e66bb/setuptools-59.7.0.tar.gz +Version : 62.3.2 +Release : 254 +URL : https://files.pythonhosted.org/packages/4a/25/ec29a23ef38b9456f9965c57a9e1221e6c246d87abbf2a31158799bca201/setuptools-62.3.2.tar.gz +Source0 : https://files.pythonhosted.org/packages/4a/25/ec29a23ef38b9456f9965c57a9e1221e6c246d87abbf2a31158799bca201/setuptools-62.3.2.tar.gz Summary : Easily download, build, install, upgrade, and uninstall Python packages Group : Development/Tools -License : MIT +License : MIT Python-2.0 ZPL-2.0 Requires: pypi-setuptools-bin = %{version}-%{release} Requires: pypi-setuptools-license = %{version}-%{release} Requires: pypi-setuptools-python = %{version}-%{release} @@ -58,16 +58,19 @@ python3 components for the pypi-setuptools package. %prep -%setup -q -n setuptools-59.7.0 -cd %{_builddir}/setuptools-59.7.0 +%setup -q -n setuptools-62.3.2 +cd %{_builddir}/setuptools-62.3.2 %patch1 -p1 +pushd .. +cp -a setuptools-62.3.2 buildavx2 +popd %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1642547427 +export SOURCE_DATE_EPOCH=1654262981 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -79,20 +82,38 @@ export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto " export MAKEFLAGS=%{?_smp_mflags} python3 setup.py build +pushd ../buildavx2/ +export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " +export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +python3 setup.py build + +popd %install export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-setuptools -cp %{_builddir}/setuptools-59.7.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-setuptools/8e6689d37f82d5617b7f7f7232c94024d41066d1 +cp %{_builddir}/setuptools-62.3.2/LICENSE %{buildroot}/usr/share/package-licenses/pypi-setuptools/8e6689d37f82d5617b7f7f7232c94024d41066d1 python3 -tt setup.py build install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : echo ----[ mark ]---- +pushd ../buildavx2/ +export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 " +export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 " +python3 -tt setup.py build install --root=%{buildroot}-v3 +popd ## install_append content mkdir -p %{buildroot}/usr/bin echo "#!/bin/sh" > %{buildroot}/usr/bin/easy_install_is_deprecated chmod 755 %{buildroot}/usr/bin/easy_install_is_deprecated ## install_append end +/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot}/usr/share/clear/optimized-elf/ %{buildroot}/usr/share/clear/filemap/filemap-%{name} %files %defattr(-,root,root,-) diff --git a/release b/release index 63fe24a..f1aaa90 100644 --- a/release +++ b/release @@ -1 +1 @@ -253 +254 diff --git a/upstream b/upstream index 5f7be15..ab316af 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -10c84c635be8eefc7aeecd92f32b23ee772b8891/setuptools-59.7.0.tar.gz +c41c5505ac893fb61d76a55912853286d9105990/setuptools-62.3.2.tar.gz diff --git a/versions b/versions index 4b17788..67d8b56 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -59.7.0 +62.3.2