From 2cd76eaaca624a7dde06410caf160ad2e4a22d55 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Tue, 10 Sep 2019 21:24:28 +0000 Subject: [PATCH] [update to 4.0.1] Upgrade tox and virtualenv to ensure that environments get recent pips Jason R. Coombs (26): Add black config, pre-commit including black, check code with black. Suppress E117 as workaround for PyCQA/pycodestyle#836 Amend skeleton documentation to expand on the value of the approach. Remove sudo declaration in Travis config. Enable tox-pip-extensions ext_venv_update if available. Fixes jaraco/skeleton#6 Rely on tox 3.2 and pip 10 or later for all builds It adds no value to add a pip requirement for the tox install Pin to pip 19.0 for now for pypa/pip#6434. Revert "Pin to pip 19.0 for now for pypa/pip#6434." Only install and invoke pytest-black on Python 3 Use pytest-black-multipy to enable simple support for pytest-black where available. Ref pytest-dev/pytest#5272. Update skeleton documentation to reflect black adoption. Add support for automatic publishing of release notes Use technique for environment passing matching that found in jaraco/skeleton Rely on twine 1.13 or later Upgrade tox and virtualenv to ensure that environments get recent pips Define passenv in tox release section. Rely on __token__ for default username. Update docs to reflect changes to deployment. Move Tidelift token into Travis configuration Switch to semver for versioning, starting with the 4.0.0 release. Fixes #44. Rely on setuptools_scm to derive package version from SCM tags. Use 'v' prefix to match semver design. Fade to black Update badge URL Use template when publishing release notes to override the reference to read the docs, not used here. Update changelog --- .gitignore | 3 +++ Makefile | 2 +- buildreq_cache | 3 +++ configparser.spec | 14 ++++++++------ options.conf | 4 +++- release | 2 +- upstream | 2 +- versions | 2 +- 8 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 buildreq_cache diff --git a/.gitignore b/.gitignore index cd0959a..0039371 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ build.log.round* *.tgz !*.tar.*.* *.zip +*.jar +*.pom +*.xml commitmsg results/ rpms/ diff --git a/Makefile b/Makefile index b19dafe..657b89e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := configparser -URL = https://files.pythonhosted.org/packages/b1/83/fa54eee6643ffb30ab5a5bebdb523c697363658e46b85729e3d587a3765e/configparser-3.8.1.tar.gz +URL = https://files.pythonhosted.org/packages/c4/75/0ed2711aab826e48baff301f7a3d045e23a562ccfe1ff992be935f02ac9f/configparser-4.0.1.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/buildreq_cache b/buildreq_cache new file mode 100644 index 0000000..3b62bad --- /dev/null +++ b/buildreq_cache @@ -0,0 +1,3 @@ +4.0.1 +setuptools +setuptools_scm-python \ No newline at end of file diff --git a/configparser.spec b/configparser.spec index 3a9983f..055e8e7 100644 --- a/configparser.spec +++ b/configparser.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : configparser -Version : 3.8.1 -Release : 47 -URL : https://files.pythonhosted.org/packages/b1/83/fa54eee6643ffb30ab5a5bebdb523c697363658e46b85729e3d587a3765e/configparser-3.8.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/b1/83/fa54eee6643ffb30ab5a5bebdb523c697363658e46b85729e3d587a3765e/configparser-3.8.1.tar.gz +Version : 4.0.1 +Release : 48 +URL : https://files.pythonhosted.org/packages/c4/75/0ed2711aab826e48baff301f7a3d045e23a562ccfe1ff992be935f02ac9f/configparser-4.0.1.tar.gz +Source0 : https://files.pythonhosted.org/packages/c4/75/0ed2711aab826e48baff301f7a3d045e23a562ccfe1ff992be935f02ac9f/configparser-4.0.1.tar.gz Summary : Updated configparser from Python 3.7 for Python 2.6+. Group : Development/Tools License : MIT @@ -17,7 +17,9 @@ BuildRequires : buildreq-distutils3 BuildRequires : pluggy BuildRequires : py-python BuildRequires : pytest +BuildRequires : setuptools BuildRequires : setuptools-legacypython +BuildRequires : setuptools_scm-python BuildRequires : tox BuildRequires : virtualenv @@ -52,14 +54,14 @@ python3 components for the configparser package. %prep -%setup -q -n configparser-3.8.1 +%setup -q -n configparser-4.0.1 %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=1565578380 +export SOURCE_DATE_EPOCH=1568150662 # -Werror is for werrorists export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " diff --git a/options.conf b/options.conf index 2b15733..96f5911 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = configparser -url = https://files.pythonhosted.org/packages/b1/83/fa54eee6643ffb30ab5a5bebdb523c697363658e46b85729e3d587a3765e/configparser-3.8.1.tar.gz +url = https://files.pythonhosted.org/packages/c4/75/0ed2711aab826e48baff301f7a3d045e23a562ccfe1ff992be935f02ac9f/configparser-4.0.1.tar.gz archives = giturl = https://github.com/jaraco/configparser.git @@ -33,6 +33,8 @@ insecure_build = false keepstatic = false # do not require autostart subpackage no_autostart = false +# do not generate debuginfo for this package +nodebug = false # disable stripping binaries nostrip = false # optimize build for size over speed diff --git a/release b/release index abac1ea..21e72e8 100644 --- a/release +++ b/release @@ -1 +1 @@ -47 +48 diff --git a/upstream b/upstream index cd37016..4806499 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -675549f76a63c4d9216013b1c1f8370cd5c43a87/configparser-3.8.1.tar.gz +a3e5382026584dc03cbc018ac2ee72e51a7f8c93/configparser-4.0.1.tar.gz diff --git a/versions b/versions index f280719..1454f6e 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -3.8.1 +4.0.1