Skip to content

Commit

Permalink
pypi-jaraco.context: Autospec creation for update from version 4.1.2 …
Browse files Browse the repository at this point in the history
…to version 4.2.0

Jason R. Coombs (15):
      Use '-dev' for every Python version. Ref actions/setup-python#213.
      Use Python 3.11 for cutting releases.
      Pin flake8. Workaround for tholo/pytest-flake8#87.
      Update to setup-python v4. Fixes jaraco/skeleton#65.
      Also update release to v4
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add on_interrupt decorator.
      Add Python 3.7 compatibility.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
  • Loading branch information
fenrus75 committed Nov 21, 2022
1 parent 00f85cc commit 44a3f37
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
PKG_NAME := pypi-jaraco.context
URL = https://files.pythonhosted.org/packages/67/d4/86ab133e1531914857f6f868c2fee51b90b58ca422e8c92382660ed8b5a8/jaraco.context-4.1.2.tar.gz
URL = https://files.pythonhosted.org/packages/79/96/9f0b1574ccced26cd7785c05623938ef5b217a96ccd44f89980f2d6fa8da/jaraco.context-4.2.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
@@ -1,6 +1,6 @@
[package]
name = pypi-jaraco.context
url = https://files.pythonhosted.org/packages/67/d4/86ab133e1531914857f6f868c2fee51b90b58ca422e8c92382660ed8b5a8/jaraco.context-4.1.2.tar.gz
url = https://files.pythonhosted.org/packages/79/96/9f0b1574ccced26cd7785c05623938ef5b217a96ccd44f89980f2d6fa8da/jaraco.context-4.2.0.tar.gz
archives =
giturl = https://github.com/jaraco/jaraco.context/
domain =
Expand Down Expand Up @@ -35,6 +35,8 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not use the replacement pattern for file matching
no_glob = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
Expand Down
24 changes: 12 additions & 12 deletions pypi-jaraco.context.spec
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-jaraco.context
Version : 4.1.2
Release : 11
URL : https://files.pythonhosted.org/packages/67/d4/86ab133e1531914857f6f868c2fee51b90b58ca422e8c92382660ed8b5a8/jaraco.context-4.1.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/67/d4/86ab133e1531914857f6f868c2fee51b90b58ca422e8c92382660ed8b5a8/jaraco.context-4.1.2.tar.gz
Version : 4.2.0
Release : 12
URL : https://files.pythonhosted.org/packages/79/96/9f0b1574ccced26cd7785c05623938ef5b217a96ccd44f89980f2d6fa8da/jaraco.context-4.2.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/79/96/9f0b1574ccced26cd7785c05623938ef5b217a96ccd44f89980f2d6fa8da/jaraco.context-4.2.0.tar.gz
Summary : Context managers by jaraco
Group : Development/Tools
License : MIT
Expand All @@ -24,7 +24,7 @@ BuildRequires : pypi-virtualenv

%description
.. image:: https://img.shields.io/pypi/v/jaraco.context.svg
:target: `PyPI link`_
:target: https://pypi.org/project/jaraco.context

%package license
Summary: license components for the pypi-jaraco.context package.
Expand Down Expand Up @@ -54,18 +54,18 @@ python3 components for the pypi-jaraco.context package.


%prep
%setup -q -n jaraco.context-4.1.2
cd %{_builddir}/jaraco.context-4.1.2
%setup -q -n jaraco.context-4.2.0
cd %{_builddir}/jaraco.context-4.2.0
pushd ..
cp -a jaraco.context-4.1.2 buildavx2
cp -a jaraco.context-4.2.0 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=1657810184
export SOURCE_DATE_EPOCH=1669053418
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -77,8 +77,8 @@ export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto "
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 -msse2avx"
export CXXFLAGS="$CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 -msse2avx "
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 "
Expand All @@ -90,7 +90,7 @@ popd
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-jaraco.context
cp %{_builddir}/jaraco.context-4.1.2/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.context/8e6689d37f82d5617b7f7f7232c94024d41066d1
cp %{_builddir}/jaraco.context-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-jaraco.context/8e6689d37f82d5617b7f7f7232c94024d41066d1 || :
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
11
12
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
320323c38c39653e74d3af4c682cff4409e039aa/jaraco.context-4.1.2.tar.gz
e61969dba32a47d863cf6123e92fdf407bc86b86/jaraco.context-4.2.0.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
4.1.2
4.2.0

0 comments on commit 44a3f37

Please sign in to comment.