diff --git a/Makefile b/Makefile index 1d7cef2..2903ff3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-inflect -URL = https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz +URL = https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index b2b021d..7b1b202 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-inflect -url = https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz +url = https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz archives = giturl = https://github.com/jaraco/inflect/ domain = @@ -9,6 +9,8 @@ alias = [autospec] # build 32 bit libraries 32bit = false +# allow windows executables (*.exe, *.dll) to be packaged +allow_exe = false # allow package to build with test failures allow_test_failures = false # unset %build ld_as_needed variable @@ -59,6 +61,8 @@ server = false skip_tests = false # add .so files to the lib package instead of dev so_to_lib = false +# configure build for apx +use_apx = false # configure build for avx2 use_avx2 = true # configure build for avx512 diff --git a/pypi-inflect.spec b/pypi-inflect.spec index fa3e1a1..1f0bb08 100644 --- a/pypi-inflect.spec +++ b/pypi-inflect.spec @@ -2,12 +2,14 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Using build pattern: pyproject +# autospec version: v7 +# autospec commit: f56f1fa # Name : pypi-inflect -Version : 7.0.0 -Release : 26 -URL : https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8/inflect-7.0.0.tar.gz +Version : 7.2.0 +Release : 27 +URL : https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/5e/82/6f2dac9cc13c9521edbc54ff4154b298c493c7e3b3fa3c7da6b8f57132fb/inflect-7.2.0.tar.gz Summary : Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words Group : Development/Tools License : MIT @@ -52,7 +54,8 @@ Summary: python3 components for the pypi-inflect package. Group: Default Requires: python3-core Provides: pypi(inflect) -Requires: pypi(pydantic) +Requires: pypi(more_itertools) +Requires: pypi(typeguard) Requires: pypi(typing_extensions) %description python3 @@ -60,10 +63,10 @@ python3 components for the pypi-inflect package. %prep -%setup -q -n inflect-7.0.0 -cd %{_builddir}/inflect-7.0.0 +%setup -q -n inflect-7.2.0 +cd %{_builddir}/inflect-7.2.0 pushd .. -cp -a inflect-7.0.0 buildavx2 +cp -a inflect-7.2.0 buildavx2 popd %build @@ -71,43 +74,63 @@ 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=1688571673 +export SOURCE_DATE_EPOCH=1712001075 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib export NM=gcc-nm -export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " -export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation 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 " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 " python3 -m build --wheel --skip-dependency-check --no-isolation popd %install +export GCC_IGNORE_WERROR=1 +export AR=gcc-ar +export RANLIB=gcc-ranlib +export NM=gcc-nm +CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CLEAR_INTERMEDIATE_CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS" +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS" +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS" +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS" +ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS" +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS" export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-inflect cp %{_builddir}/inflect-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-inflect/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : -pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl +python3 -m installer --destdir=%{buildroot} dist/*.whl 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 " -pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl +CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 " +python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl popd /usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name} diff --git a/release b/release index 6f4247a..f64f5d8 100644 --- a/release +++ b/release @@ -1 +1 @@ -26 +27 diff --git a/upstream b/upstream index 175155e..60cba95 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -76f85aad316b5db576c873ce24e99e6b7ac80356/inflect-7.0.0.tar.gz +b75c711d9bd2380cc083c52367a997efa04353b4/inflect-7.2.0.tar.gz