From 74aa46ac93a7670a7e620d60417b7b3d18239f92 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Tue, 17 Nov 2020 15:58:36 +0000 Subject: [PATCH] portend: Autospec creation for update from version 2.6 to version 2.7.0 Hugo (1): Fix AppVeyor typo Hugo van Kemenade (2): Spelling and capitalisation (#8) Link badge to PyPI rather than static image Jason R. Coombs (54): Python 3 only Expect flake8 3.6 or later and remove suppression of warnings from Flake8 prior to 3.6. Rely on pytest-checkdocs 1.2.3, eliminating workaround for docutils warning. Remove workaround for gitlab.com/pycqa/flake8/issues/275, apparently no longer necessary. Bring coverage to 100% Rely on future-fstrings for Python 3.5 compatibility Restore support for Python 2.7 Normalize indentation Include keyring support from twine Rename 'build-docs' to simply 'docs' (matching more popular convention). Prefer 'path' to 'path.py' Cover Python 3.8 in Windows tests Update black in pre-commit and add blacken-docs. Test and release using Azure Pipelines Correct guidance on project creation. Rely on setuptools_scm 3.4 and setuptools 42. Now setup.py is optional. Remove setuptools from test environment. Finish dropping support for Python 2 (I hope). Normalize whitespace Revert "setup.cfg: let python-tag mirror python_requires" Fade to black Fix links Update to bionic for Travis. Correct comment about IPv6 workaround. Suppress warnings in pytest-flake8, pytest-black, and pytest-checkdocs. Prefer pytest-black to pytest-black-multipy Test against Windows and Mac Define a default pool_vm_image Remove tox-venv and tox-pip-version. Tox-venv is discouraged (https://github.com/tox-dev/tox-venv/issues/48#issuecomment-620227405) and tox-pip-version was only there to support tox-venv. venv is dead; long live virtualenv. Remove more references to tox-venv Add workaround for warning emitted when junitxml is used. Ref pytest-dev/pytest#6178. Include mypy for type checking during tests. Ensure virtualenv is upgraded when installing tox. Fixes jaraco/path#188. Run tests on prereleases of Python on Windows. Fixes jaraco/skeleton#17. Add workaround for python/mypy#8627. Fixes jaraco/skeleton#18. Add 'refresh.svg' demonstrating an example of refreshing a project with the latest skeleton. Ref #7. Move workaround for python/mypy#8627 to tox.ini, as adding it to setup.cfg prevents releases to PyPI. Fixes jaraco/skeleton#19. Remove workaround for python/mypy#8627. Ref jaraco/skeleton#18. Create Github releases when releasing the package. Fixes jaraco/skeleton#23. Moved refresh.svg to another branch. Reference the animation from the docs. Ref jaraco/skeleton#7. Add the env var mapping too. Disable pytest-black and pytest-mypy on PyPy. Fixes jaraco/skeleton#22. Ref pytest-dev/pytest#7675. Bump black and blacken-docs to latest stable versions. Use enabled plugin configuration to enable mypy and black when the plugin is present. Ref jaraco/skeleton#22. Also enable flake8 and cov when the plugins are present. Add workflows for running tests. Ref jaraco/skeleton#24. Cut releases from Github Actions instead of Azure Pipelines. Ref jaraco/skeleton#24. Refresh docs to prefer Github Actions to Azure Pipelines. Ref jaraco/skeleton#24. Use RTD v2 config Test on Python 3.9. Skip 3.7 to avoid creating too many builds. Release on 3.9. Drop tests on Travis, Appveyor, and Azure Pipelines. use add-github-secrets, which infers the secrets needed from the github workflow. Use inline flags with local scope. Remove compatibility code. Update badge Update changelog. Vincent Fazio (1): setup.cfg: let python-tag mirror python_requires johnthagen (1): Line wrap LICENSE file layday (1): Require toml extra for setuptools_scm (#12) --- Makefile | 2 +- buildreq_cache | 2 -- options.conf | 2 +- portend.spec | 23 ++++++++++++----------- release | 2 +- upstream | 2 +- versions | 2 +- 7 files changed, 17 insertions(+), 18 deletions(-) delete mode 100644 buildreq_cache diff --git a/Makefile b/Makefile index 8939445..3c75fb8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := portend -URL = https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz +URL = https://files.pythonhosted.org/packages/c3/68/891f7e77cdee7a14a6bb5c28aa558067843e97aeb8f10d5c5e454acb54e4/portend-2.7.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/buildreq_cache b/buildreq_cache deleted file mode 100644 index 45a58fa..0000000 --- a/buildreq_cache +++ /dev/null @@ -1,2 +0,0 @@ -2.6 -util-linux \ No newline at end of file diff --git a/options.conf b/options.conf index 2f3e65c..4c410f7 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = portend -url = https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz +url = https://files.pythonhosted.org/packages/c3/68/891f7e77cdee7a14a6bb5c28aa558067843e97aeb8f10d5c5e454acb54e4/portend-2.7.0.tar.gz archives = giturl = https://github.com/jaraco/portend.git domain = diff --git a/portend.spec b/portend.spec index ea75a55..8626a7d 100644 --- a/portend.spec +++ b/portend.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : portend -Version : 2.6 -Release : 22 -URL : https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz -Source0 : https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc626232c497228306c764523c5a3a3b59c775/portend-2.6.tar.gz +Version : 2.7.0 +Release : 23 +URL : https://files.pythonhosted.org/packages/c3/68/891f7e77cdee7a14a6bb5c28aa558067843e97aeb8f10d5c5e454acb54e4/portend-2.7.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/c3/68/891f7e77cdee7a14a6bb5c28aa558067843e97aeb8f10d5c5e454acb54e4/portend-2.7.0.tar.gz Summary : TCP port monitoring and discovery Group : Development/Tools License : MIT @@ -21,12 +21,13 @@ BuildRequires : pytest BuildRequires : setuptools_scm BuildRequires : tempora BuildRequires : tox -BuildRequires : util-linux BuildRequires : virtualenv %description .. image:: https://img.shields.io/pypi/v/portend.svg -:target: https://pypi.org/project/portend +:target: `PyPI link`_ +.. image:: https://img.shields.io/pypi/pyversions/portend.svg +:target: `PyPI link`_ %package license Summary: license components for the portend package. @@ -57,15 +58,15 @@ python3 components for the portend package. %prep -%setup -q -n portend-2.6 -cd %{_builddir}/portend-2.6 +%setup -q -n portend-2.7.0 +cd %{_builddir}/portend-2.7.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=1603399066 +export SOURCE_DATE_EPOCH=1605628713 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " export FCFLAGS="$FFLAGS -fno-lto " @@ -78,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.6/LICENSE %{buildroot}/usr/share/package-licenses/portend/a1474494d96f6ddb3a9a0d767a09871ffc388faf +cp %{_builddir}/portend-2.7.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 || : @@ -89,7 +90,7 @@ echo ----[ mark ]---- %files license %defattr(0644,root,root,0755) -/usr/share/package-licenses/portend/a1474494d96f6ddb3a9a0d767a09871ffc388faf +/usr/share/package-licenses/portend/8e6689d37f82d5617b7f7f7232c94024d41066d1 %files python %defattr(-,root,root,-) diff --git a/release b/release index 2bd5a0a..4099407 100644 --- a/release +++ b/release @@ -1 +1 @@ -22 +23 diff --git a/upstream b/upstream index 08d7a59..ab7d4b7 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -52eb4eaac256ec077be357357659a11fa04a2e60/portend-2.6.tar.gz +913051a95a87ddcf49806e352a1b9fd69899c31b/portend-2.7.0.tar.gz diff --git a/versions b/versions index 5154b3f..24ba9a3 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -2.6 +2.7.0