Skip to content

Commit

Permalink
pypi-setuptools: Autospec creation for update from version 65.3.0 to …
Browse files Browse the repository at this point in the history
…version 65.4.0

Jason R. Coombs (20):
      Also update release to v4
      Revert "Exclude Python 3.11 on macOS due to lack of wheels. Ref pypa/distutils#165."
      Restore metadata tests (not discovered due to class name).
      Prefer monkeypatch for setting environment variable
      Use tmp_path and jaraco.path.build to build files.
      Use functools.lru_cache to memoize check_environ.
      Use pathlib for generating paths and generate the paths in a separate function, consolidating 'is_file' check.
      Update docs to reference environment variable.
      Rename environment variable to DIST_EXTRA_CONFIG, decoupling it from the name of the implementation.
      Simplify logic in test_custom_pydistutils
      Inline variables used once
      Remove meaningless dot from config files
      Extract a temp_home fixture.
      Re-use temp_home in test_find_config_files_disable
      Extract property for pydistutils.cfg name
      Move property to a module attribute and re-use jaraco.path for simpler tests.
      Use jaraco.path for more tests
      Fix warning in test
      Add changelog.
      Bump version: 65.3.0 → 65.4.0

Steve Dower (2):
      Add DISTUTILS_EXTRA_CONFIG option for passing setup.cfg overrides during build
      Fix name in test

sblondon (1):
      Fix towncrier URL
  • Loading branch information
fenrus75 committed Sep 26, 2022
1 parent 7ce152d commit ac4a375
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,5 +1,5 @@
PKG_NAME := pypi-setuptools
URL = https://files.pythonhosted.org/packages/cc/83/7ea9d9b3a6ff3225aca2fce5e4df373bee7e0a74c539711a4fbfda53374f/setuptools-65.3.0.tar.gz
URL = https://files.pythonhosted.org/packages/4c/61/86c94ae2cccb05749abfb1b2961125d40368c8f03ac59275550c45e634f1/setuptools-65.4.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 1 addition & 1 deletion options.conf
@@ -1,6 +1,6 @@
[package]
name = pypi-setuptools
url = https://files.pythonhosted.org/packages/cc/83/7ea9d9b3a6ff3225aca2fce5e4df373bee7e0a74c539711a4fbfda53374f/setuptools-65.3.0.tar.gz
url = https://files.pythonhosted.org/packages/4c/61/86c94ae2cccb05749abfb1b2961125d40368c8f03ac59275550c45e634f1/setuptools-65.4.0.tar.gz
archives =
giturl = https://github.com/pypa/setuptools.git
domain =
Expand Down
18 changes: 9 additions & 9 deletions pypi-setuptools.spec
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pypi-setuptools
Version : 65.3.0
Release : 274
URL : https://files.pythonhosted.org/packages/cc/83/7ea9d9b3a6ff3225aca2fce5e4df373bee7e0a74c539711a4fbfda53374f/setuptools-65.3.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/cc/83/7ea9d9b3a6ff3225aca2fce5e4df373bee7e0a74c539711a4fbfda53374f/setuptools-65.3.0.tar.gz
Version : 65.4.0
Release : 275
URL : https://files.pythonhosted.org/packages/4c/61/86c94ae2cccb05749abfb1b2961125d40368c8f03ac59275550c45e634f1/setuptools-65.4.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/4c/61/86c94ae2cccb05749abfb1b2961125d40368c8f03ac59275550c45e634f1/setuptools-65.4.0.tar.gz
Summary : Easily download, build, install, upgrade, and uninstall Python packages
Group : Development/Tools
License : MIT Python-2.0 ZPL-2.0
Expand Down Expand Up @@ -57,18 +57,18 @@ python3 components for the pypi-setuptools package.


%prep
%setup -q -n setuptools-65.3.0
cd %{_builddir}/setuptools-65.3.0
%setup -q -n setuptools-65.4.0
cd %{_builddir}/setuptools-65.4.0
pushd ..
cp -a setuptools-65.3.0 buildavx2
cp -a setuptools-65.4.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=1661354670
export SOURCE_DATE_EPOCH=1664206680
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
Expand All @@ -93,7 +93,7 @@ popd
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-setuptools
cp %{_builddir}/setuptools-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-setuptools/8e6689d37f82d5617b7f7f7232c94024d41066d1
cp %{_builddir}/setuptools-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-setuptools/8e6689d37f82d5617b7f7f7232c94024d41066d1 || :
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
274
275
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
984db5daf7ecf07640c75fbd86b48935cd333c86/setuptools-65.3.0.tar.gz
e5f9797d85db9bb2ce39b401c1b7aca38de616b5/setuptools-65.4.0.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
65.3.0
65.4.0
1 change: 1 addition & 0 deletions whatrequires
@@ -1,2 +1,3 @@
# This file contains recursive sources that require this package
mozjs102
mozjs91

0 comments on commit ac4a375

Please sign in to comment.