From e8582cd7bd851b54b71b8c862a31b575babe5b80 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Tue, 28 Nov 2023 00:59:06 -0800 Subject: [PATCH] pypi-jaraco.text: Autospec creation for update from version 3.11.1 to version 3.12.0 Jason R. Coombs (35): Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750). Remove reference to EncodingWarning as it doesn't exist on some Pythons. Revert "exclude build env from cov reporting (jaraco/skeleton#60)" Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56. Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78. Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt. Make substitution fields more prominent and distinct from true 'skeleton' references. (#71) Suppress EncodingWarning in build.env. Ref pypa/build#615. Remove reference to EncodingWarning as it doesn't exist on some Pythons. Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401. Add badge for Ruff. Remove inclusion of python version for docs Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83. Replace workaround for actions/setup-python#508 with 'allow-prereleases' Remove tox boilerplate, no longer necessary with later versions of tox. Require Python 3.8 or later. Expand 'finalize' to commit and tag the change. Leverage pytest-enabler 2.2 for the default config. Prefer 3.x for Python version (latest stable). Collapse skeleton history. Workaround for jaraco/skeleton#87. Add links to project home page and pypi. Fixes jaraco/skeleton#77. Replace redundant step names with simple 'Run'. Increase visibility of security policy. (#4) Remove TOX_WORK_DIR workaround, no longer necessary with tox 4. Ref tox-dev/tox#3050. Pin against sphinx 7.2.5 as workaround for sphinx/sphinx-doc#11662. Closes jaraco/skeleton#88. Allow GITHUB_* settings to pass through to tests. Remove spinner disablement. If it's not already fixed upstream, that's where it should be fixed. Clean up 'color' environment variables. Add diff-cover check to Github Actions CI. Closes jaraco/skeleton#90. Add descriptions to the tox environments. Closes jaraco/skeleton#91. Add FORCE_COLOR to the TOX_OVERRIDE for GHA. Requires tox 4.11.1. Closes jaraco/skeleton#89. Prefer ``pass_env`` in tox config. Preferred failure mode for tox-dev/tox#3127 and closes jaraco/skeleton#92. Limit sphinxlint jobs to 1. Workaround for sphinx-contrib/sphinx-lint#83. Update for Python 3.8+ Finalize Joyce (1): Feat: initial permissions to main.yml (jaraco/skeleton#76) --- Makefile | 2 +- options.conf | 4 ++- pypi-jaraco.text.spec | 80 ++++++++++++++++++++++++++----------------- release | 2 +- upstream | 2 +- 5 files changed, 55 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index e2308b9..f4c75e9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-jaraco.text -URL = https://files.pythonhosted.org/packages/cd/32/2d0656905672c06c830dd1c85d11c5edbd5203f7ef6522f7c080a95c3470/jaraco.text-3.11.1.tar.gz +URL = https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 7ebc8f2..5b0b58a 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-jaraco.text -url = https://files.pythonhosted.org/packages/cd/32/2d0656905672c06c830dd1c85d11c5edbd5203f7ef6522f7c080a95c3470/jaraco.text-3.11.1.tar.gz +url = https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz archives = giturl = https://github.com/jaraco/jaraco.text/ domain = @@ -19,6 +19,8 @@ autoupdate = true broken_c++ = false # disable parallelization during build broken_parallel_build = false +# create vendor archive with cargo +cargo_vendor = false # this package is a library compatibility package and only ships versioned library files compat = false # set conservative build flags diff --git a/pypi-jaraco.text.spec b/pypi-jaraco.text.spec index b71f29f..79f6fdf 100644 --- a/pypi-jaraco.text.spec +++ b/pypi-jaraco.text.spec @@ -1,12 +1,15 @@ # # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py +# Using build pattern: pyproject +# autospec version: v2 +# autospec commit: e661f3a # Name : pypi-jaraco.text -Version : 3.11.1 -Release : 41 -URL : https://files.pythonhosted.org/packages/cd/32/2d0656905672c06c830dd1c85d11c5edbd5203f7ef6522f7c080a95c3470/jaraco.text-3.11.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/cd/32/2d0656905672c06c830dd1c85d11c5edbd5203f7ef6522f7c080a95c3470/jaraco.text-3.11.1.tar.gz +Version : 3.12.0 +Release : 42 +URL : https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz Summary : Module for text manipulation Group : Development/Tools License : MIT @@ -14,11 +17,6 @@ Requires: pypi-jaraco.text-license = %{version}-%{release} Requires: pypi-jaraco.text-python = %{version}-%{release} Requires: pypi-jaraco.text-python3 = %{version}-%{release} BuildRequires : buildreq-distutils3 -BuildRequires : pypi(autocommand) -BuildRequires : pypi(inflect) -BuildRequires : pypi(jaraco.context) -BuildRequires : pypi(jaraco.functools) -BuildRequires : pypi(more_itertools) BuildRequires : pypi(py) BuildRequires : pypi(setuptools) BuildRequires : pypi(setuptools_scm) @@ -67,10 +65,10 @@ python3 components for the pypi-jaraco.text package. %prep -%setup -q -n jaraco.text-3.11.1 -cd %{_builddir}/jaraco.text-3.11.1 +%setup -q -n jaraco.text-3.12.0 +cd %{_builddir}/jaraco.text-3.12.0 pushd .. -cp -a jaraco.text-3.11.1 buildavx2 +cp -a jaraco.text-3.12.0 buildavx2 popd %build @@ -78,43 +76,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=1674942931 +export SOURCE_DATE_EPOCH=1701161940 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 " -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 " -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 " -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 " +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 -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -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-jaraco.text -cp %{_builddir}/jaraco.text-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.text/8e6689d37f82d5617b7f7f7232c94024d41066d1 || : -pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl +cp %{_builddir}/jaraco.text-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.text/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || : +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 -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 " +FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 " +LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 " +python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl popd ## Remove excluded files rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__init__.py @@ -126,7 +144,7 @@ rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__pycache__/__init__. %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/pypi-jaraco.text/8e6689d37f82d5617b7f7f7232c94024d41066d1 +/usr/share/package-licenses/pypi-jaraco.text/0445ed0f69910eeaee036f09a39a13c6e1f37e12 %files python %defattr(-,root,root,-) diff --git a/release b/release index 87523dd..d81cc07 100644 --- a/release +++ b/release @@ -1 +1 @@ -41 +42 diff --git a/upstream b/upstream index 6f0e8ac..757bbe2 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -52d55e7f1b458e4c41da7a820fd97f99211183c1/jaraco.text-3.11.1.tar.gz +fdfb505ae7b38c0901c76573161c4fd8e1ea3d26/jaraco.text-3.12.0.tar.gz