Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
jaraco.functools: Autospec creation for update from version 3.4.0 to …
Browse files Browse the repository at this point in the history
…version 3.5.0

Jason R. Coombs (7):
      Require Python 3.7 or later.
      Remove filtered warnings, addressed upstream.
      method_cache just accepts the lru_cache as the default value.
      Add type annotations for method_cache.
      Disable mypy tests. Workaround for pytest-dev/pytest#8332.
      Update changelog.
      Update changelog.
  • Loading branch information
fenrus75 committed Dec 20, 2021
1 parent e79fe18 commit 32b339f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
PKG_NAME := jaraco.functools
URL = https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz
URL = https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 2 additions & 0 deletions buildreq_cache
@@ -0,0 +1,2 @@
3.5.0
pypi(more_itertools)
25 changes: 13 additions & 12 deletions jaraco.functools.spec
Expand Up @@ -3,21 +3,22 @@
# Generated by: autospec.py
#
Name : jaraco.functools
Version : 3.4.0
Release : 33
URL : https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz
Version : 3.5.0
Release : 34
URL : https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz
Summary : Functools like those found in stdlib
Group : Development/Tools
License : MIT
Requires: jaraco.functools-license = %{version}-%{release}
Requires: jaraco.functools-python = %{version}-%{release}
Requires: jaraco.functools-python3 = %{version}-%{release}
Requires: more-itertools
BuildRequires : buildreq-distutils3
BuildRequires : more-itertools
BuildRequires : pluggy
BuildRequires : py-python
BuildRequires : pypi(more_itertools)
BuildRequires : pypi(setuptools)
BuildRequires : pypi(setuptools_scm)
BuildRequires : pytest
BuildRequires : setuptools_scm
BuildRequires : tox
Expand Down Expand Up @@ -56,29 +57,29 @@ python3 components for the jaraco.functools package.


%prep
%setup -q -n jaraco.functools-3.4.0
cd %{_builddir}/jaraco.functools-3.4.0
%setup -q -n jaraco.functools-3.5.0
cd %{_builddir}/jaraco.functools-3.5.0

%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=1635743492
export SOURCE_DATE_EPOCH=1640014759
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
export FFLAGS="$FFLAGS -fno-lto "
export CXXFLAGS="$CXXFLAGS -fno-lto "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build
python3 -m build --wheel --skip-dependency-check --no-isolation

%install
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/jaraco.functools
cp %{_builddir}/jaraco.functools-3.4.0/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.functools/8e6689d37f82d5617b7f7f7232c94024d41066d1
python3 -tt setup.py build install --root=%{buildroot}
cp %{_builddir}/jaraco.functools-3.5.0/LICENSE %{buildroot}/usr/share/package-licenses/jaraco.functools/8e6689d37f82d5617b7f7f7232c94024d41066d1
pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----
Expand Down
2 changes: 1 addition & 1 deletion options.conf
@@ -1,6 +1,6 @@
[package]
name = jaraco.functools
url = https://files.pythonhosted.org/packages/84/a4/d51170d05ac4eff15f416dbdb2c046c7cbaa7a9d0ad2d3bf9b27ad97b600/jaraco.functools-3.4.0.tar.gz
url = https://files.pythonhosted.org/packages/1e/c8/6733dc1c6afca663c08534e7f4e7b14751019f6dd3476c40dbecb3904449/jaraco.functools-3.5.0.tar.gz
archives =
giturl = https://github.com/jaraco/jaraco.functools.git
domain =
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
33
34
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
58d88a8017d84f1c9ab4ebdba74120532983dbd0/jaraco.functools-3.4.0.tar.gz
3a2b3f8d538c3dcbf71d7cc1365cc7536df34dd0/jaraco.functools-3.5.0.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
3.4.0
3.5.0
1 change: 0 additions & 1 deletion whatrequires
@@ -1,5 +1,4 @@
# This file contains recursive sources that require this package
cheroot
conda
jaraco.text
tempora

0 comments on commit 32b339f

Please sign in to comment.