Skip to content

Commit 84f411f

Browse files
committed
pypi-jaraco.classes: Autospec creation for update from version 3.3.0 to version 3.3.1
Bartosz Sławecki (1): Tweak coverage configuration for type checking (jaraco/skeleton#97) Christian Clauss (2): Upgrade GitHub Actions checkout (jaraco/skeleton#94) GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95) Dimitri Papadopoulos Orfanos (2): Use the ruff formatter (jaraco/skeleton#99) ruff: extended-ignore → ignore (jaraco/skeleton#105) Jason R. Coombs (24): 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. Remove news fragment after allowing time to be processed downstream. Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284. Update Github Actions badge per actions/starter-workflows#1525. Separate collateral jobs on different lines for easier override/extension. Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96. Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103. Bump year on badge Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224. Exclude docs and tests directories properly per Setuptools behavior. Rely on default discovery for good heuristics for finding packages. Enable preview to enable preserving quotes. Use latest versions in RTD boilerplate. 👹 Feed the hobgoblins (delint). Finalize Sviatoslav Sydorenko (1): Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93) bswck (15): Add type hints to `jaraco.classes.meta` Add type hints to `jaraco.classes.ancestry` Add type hints to `jaraco.classes.properties` Add `py.typed` marker Use single-quote strings for consistency Move `Callable` import into type-checking block Make `classproperty.__get__()` return `Any` Tweak coverage configuration for type checking In TODO, link an issue, not a person Use `None` return type for setters, rename type aliases Nitpick ignore `TYPE_CHECKING` block types Use `Protocol[_T]` as `_ClassPropertyAttribute` base PEP 252 compatibility Remove `_GetterStaticMethod` type Prefer single quotes
1 parent 4e235f2 commit 84f411f

File tree

5 files changed

+54
-28
lines changed

5 files changed

+54
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := pypi-jaraco.classes
2-
URL = https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/a5/8a/ed955184b2ef9c1eef3aa800557051c7354e5f40a9efc9a46e38c3e6d237/jaraco.classes-3.3.1.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-jaraco.classes
3-
url = https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/a5/8a/ed955184b2ef9c1eef3aa800557051c7354e5f40a9efc9a46e38c3e6d237/jaraco.classes-3.3.1.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/jaraco.classes/
66
domain =
@@ -9,6 +9,8 @@ alias =
99
[autospec]
1010
# build 32 bit libraries
1111
32bit = false
12+
# allow windows executables (*.exe, *.dll) to be packaged
13+
allow_exe = false
1214
# allow package to build with test failures
1315
allow_test_failures = false
1416
# unset %build ld_as_needed variable
@@ -59,6 +61,8 @@ server = false
5961
skip_tests = false
6062
# add .so files to the lib package instead of dev
6163
so_to_lib = false
64+
# configure build for apx
65+
use_apx = false
6266
# configure build for avx2
6367
use_avx2 = true
6468
# configure build for avx512

pypi-jaraco.classes.spec

Lines changed: 46 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
# This file is auto-generated. DO NOT EDIT
33
# Generated by: autospec.py
44
# Using build pattern: pyproject
5+
# autospec version: v4
6+
# autospec commit: da8b975
57
#
68
Name : pypi-jaraco.classes
7-
Version : 3.3.0
8-
Release : 37
9-
URL : https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz
10-
Source0 : https://files.pythonhosted.org/packages/8b/de/d0a466824ce8b53c474bb29344e6d6113023eb2c3793d1c58c0908588bfa/jaraco.classes-3.3.0.tar.gz
9+
Version : 3.3.1
10+
Release : 38
11+
URL : https://files.pythonhosted.org/packages/a5/8a/ed955184b2ef9c1eef3aa800557051c7354e5f40a9efc9a46e38c3e6d237/jaraco.classes-3.3.1.tar.gz
12+
Source0 : https://files.pythonhosted.org/packages/a5/8a/ed955184b2ef9c1eef3aa800557051c7354e5f40a9efc9a46e38c3e6d237/jaraco.classes-3.3.1.tar.gz
1113
Summary : Utility functions for Python class constructs
1214
Group : Development/Tools
1315
License : MIT
@@ -59,54 +61,74 @@ python3 components for the pypi-jaraco.classes package.
5961

6062

6163
%prep
62-
%setup -q -n jaraco.classes-3.3.0
63-
cd %{_builddir}/jaraco.classes-3.3.0
64+
%setup -q -n jaraco.classes-3.3.1
65+
cd %{_builddir}/jaraco.classes-3.3.1
6466
pushd ..
65-
cp -a jaraco.classes-3.3.0 buildavx2
67+
cp -a jaraco.classes-3.3.1 buildavx2
6668
popd
6769

6870
%build
6971
export http_proxy=http://127.0.0.1:9/
7072
export https_proxy=http://127.0.0.1:9/
7173
export no_proxy=localhost,127.0.0.1,0.0.0.0
7274
export LANG=C.UTF-8
73-
export SOURCE_DATE_EPOCH=1689003164
75+
export SOURCE_DATE_EPOCH=1707406529
7476
export GCC_IGNORE_WERROR=1
7577
export AR=gcc-ar
7678
export RANLIB=gcc-ranlib
7779
export NM=gcc-nm
78-
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 "
79-
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 "
80-
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 "
81-
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 "
80+
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 "
81+
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 "
82+
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 "
83+
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 "
84+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
85+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
86+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
87+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
88+
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
89+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
8290
export MAKEFLAGS=%{?_smp_mflags}
8391
python3 -m build --wheel --skip-dependency-check --no-isolation
8492
pushd ../buildavx2/
85-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
86-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
87-
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
88-
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
89-
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
93+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
94+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
95+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
96+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
97+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
9098
python3 -m build --wheel --skip-dependency-check --no-isolation
9199

92100
popd
93101

94102
%install
103+
export GCC_IGNORE_WERROR=1
104+
export AR=gcc-ar
105+
export RANLIB=gcc-ranlib
106+
export NM=gcc-nm
107+
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 "
108+
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 "
109+
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 "
110+
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 "
111+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS"
112+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS"
113+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS"
114+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS"
115+
ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
116+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
95117
export MAKEFLAGS=%{?_smp_mflags}
96118
rm -rf %{buildroot}
97119
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-jaraco.classes
98120
cp %{_builddir}/jaraco.classes-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.classes/0445ed0f69910eeaee036f09a39a13c6e1f37e12 || :
99-
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
121+
python3 -m installer --destdir=%{buildroot} dist/*.whl
100122
echo ----[ mark ]----
101123
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
102124
echo ----[ mark ]----
103125
pushd ../buildavx2/
104-
export CFLAGS="$CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
105-
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
106-
export FFLAGS="$FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
107-
export FCFLAGS="$FCFLAGS -m64 -march=x86-64-v3 "
108-
export LDFLAGS="$LDFLAGS -m64 -march=x86-64-v3 "
109-
pip install --root=%{buildroot}-v3 --no-deps --ignore-installed dist/*.whl
126+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
127+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
128+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
129+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
130+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
131+
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
110132
popd
111133
## Remove excluded files
112134
rm -f %{buildroot}*/usr/lib/python3.*/site-packages/jaraco/__init__.py

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
37
1+
38

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8b2a5b35e5c73865698d09582846fe7e28e32e1c/jaraco.classes-3.3.0.tar.gz
1+
384aae8687b5e44643b29f2c22958faa0fd76298/jaraco.classes-3.3.1.tar.gz

0 commit comments

Comments
 (0)