From 71f27cadf6ba4ed9561431223421998812a66e38 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Fri, 8 Oct 2021 19:14:20 +0000 Subject: [PATCH] portend: Autospec creation for update from version 2.7.1 to version 3.0.0 Alan Fregtman (1): .editorconfig: Set max_line_length to 88 for Python files. Brian Rutledge (1): Use shutil for rmtree Jason R. Coombs (25): Exclude dist from discovered packages. Fixes jaraco/skeleton#46. It's no longer necessary to filter this warning and it's not a warning anymore. Bump minimum pytest Require twine 3 with keyring unconditionally required. Add comments indicating why the exclusions are present Exclude mypy on Python 3.10 as workaround for python/typed_ast#156. Bump minimums on pytest-checkdocs and pytest-enabler as found on Setuptools. Also deny black on Python 3.10 as workaround for python/typed_ast#156. Add leading */ to coverage.run.omit. Workaround for pytest-dev/pytest-cov#456. Remove automerge. Fixes jaraco/skeleton#49. Enable dependabot (#50) Replace md file with badge linking to documentation site. Fixes jaraco/skeleton#47. Test on Python 3.10 Remove setup_requires, obviated by build-requires in pyproject.toml. Suppress deprecation warnings in flake8 and packaging.tags. Ref pypa/packaging#433. Rely on setuptools 56 and drop the explicit mention of the license file in favor of simple discovery. Remove workaround for python/typed_ast#156. Use line continuations to indicate which exclusions are for which workarounds. Remove blacken docs as it cannot honor Python's default repr. Ref asottile/blacken-docs#62. Add intersphinx mappings for Python to prevent spurious nitpicky failures. Fixes jaraco/skeleton#51. Test on Python 3.10 (final). Rely on pytest 6 and drop workaround for pytest-dev/pytest#6178. Fix syntax warning in docs. Update changelog. Remove legacy aliases. KOLANICH (1): Added an .editorconfig. Pull request jaraco/skeleton#43. Sviatoslav Sydorenko (1): Make sphinx fail on any warnings (#36) --- Makefile | 2 +- options.conf | 4 +++- portend.spec | 16 ++++++++-------- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 4f556f4..36c5aa4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := portend -URL = https://files.pythonhosted.org/packages/53/7f/dc51c3c73f1df9ae75e44a3f912147f0d83ef3a0999306e57ebd3ef2c738/portend-2.7.1.tar.gz +URL = https://files.pythonhosted.org/packages/0e/9f/7e986d9b32f75cb61f4030b98133aa197c73c546cfda7ac5f48d87418503/portend-3.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 58ec399..de98b8f 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = portend -url = https://files.pythonhosted.org/packages/53/7f/dc51c3c73f1df9ae75e44a3f912147f0d83ef3a0999306e57ebd3ef2c738/portend-2.7.1.tar.gz +url = https://files.pythonhosted.org/packages/0e/9f/7e986d9b32f75cb61f4030b98133aa197c73c546cfda7ac5f48d87418503/portend-3.0.0.tar.gz archives = giturl = https://github.com/jaraco/portend.git domain = @@ -47,6 +47,8 @@ optimize_size = false pgo = false # set flags for security-sensitive builds security_sensitive = false +# package is only used by servers +server = false # do not run test suite skip_tests = false # add .so files to the lib package instead of dev diff --git a/portend.spec b/portend.spec index 36dc3c1..be09a88 100644 --- a/portend.spec +++ b/portend.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : portend -Version : 2.7.1 -Release : 32 -URL : https://files.pythonhosted.org/packages/53/7f/dc51c3c73f1df9ae75e44a3f912147f0d83ef3a0999306e57ebd3ef2c738/portend-2.7.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/53/7f/dc51c3c73f1df9ae75e44a3f912147f0d83ef3a0999306e57ebd3ef2c738/portend-2.7.1.tar.gz +Version : 3.0.0 +Release : 33 +URL : https://files.pythonhosted.org/packages/0e/9f/7e986d9b32f75cb61f4030b98133aa197c73c546cfda7ac5f48d87418503/portend-3.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/0e/9f/7e986d9b32f75cb61f4030b98133aa197c73c546cfda7ac5f48d87418503/portend-3.0.0.tar.gz Summary : TCP port monitoring and discovery Group : Development/Tools License : MIT @@ -58,15 +58,15 @@ python3 components for the portend package. %prep -%setup -q -n portend-2.7.1 -cd %{_builddir}/portend-2.7.1 +%setup -q -n portend-3.0.0 +cd %{_builddir}/portend-3.0.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=1613410994 +export SOURCE_DATE_EPOCH=1633720456 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " export FCFLAGS="$FFLAGS -fno-lto " @@ -79,7 +79,7 @@ python3 setup.py build export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/portend -cp %{_builddir}/portend-2.7.1/LICENSE %{buildroot}/usr/share/package-licenses/portend/8e6689d37f82d5617b7f7f7232c94024d41066d1 +cp %{_builddir}/portend-3.0.0/LICENSE %{buildroot}/usr/share/package-licenses/portend/8e6689d37f82d5617b7f7f7232c94024d41066d1 python3 -tt setup.py build install --root=%{buildroot} echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : diff --git a/release b/release index f5c8955..bb95160 100644 --- a/release +++ b/release @@ -1 +1 @@ -32 +33 diff --git a/upstream b/upstream index 782851d..e48718d 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -8a36ec7a6494b756569e6711d3530eeb651250d3/portend-2.7.1.tar.gz +f85faba699ae7c7588a7acb86e144e96260661a6/portend-3.0.0.tar.gz diff --git a/versions b/versions index 860487c..4a36342 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -2.7.1 +3.0.0