From 82427aa1c96dc6863ba6172155da454306eaf941 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 11 Jun 2019 22:13:39 -0700 Subject: [PATCH] portend: Autospec creation for update from version 2.4 to version 2.5 Jason R. Coombs (12): Add black config, pre-commit including black, check code with black. 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. Rely on twine 1.13 or later Prefer monkeypatch; saves a dependency. Update changelog Taymon A. Beal (1): Fix race condition in `free` and `occupied` --- .gitignore | 1 + Makefile | 2 +- options.conf | 2 +- portend.spec | 19 ++++++++++++------- release | 2 +- upstream | 2 +- whatrequires | 1 + 7 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index fd14cc3..edbcfda 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ build.log.round* commitmsg results/ rpms/ +for-review.txt diff --git a/Makefile b/Makefile index 9725b13..b648445 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := portend -URL = https://files.pythonhosted.org/packages/17/80/57ab4b39a6538734d975a823818657c61ad20a728377a430f54b7d3e40aa/portend-2.4.tar.gz +URL = https://files.pythonhosted.org/packages/2c/59/948666fc2455ae471efd40cb2a9a990f5f6f2354a9a6b228e29b9fb4a307/portend-2.5.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 2eaec9f..dc8fcac 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = portend -url = https://files.pythonhosted.org/packages/17/80/57ab4b39a6538734d975a823818657c61ad20a728377a430f54b7d3e40aa/portend-2.4.tar.gz +url = https://files.pythonhosted.org/packages/2c/59/948666fc2455ae471efd40cb2a9a990f5f6f2354a9a6b228e29b9fb4a307/portend-2.5.tar.gz archives = giturl = https://github.com/jaraco/portend.git diff --git a/portend.spec b/portend.spec index d6ab1bd..7f305f7 100644 --- a/portend.spec +++ b/portend.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : portend -Version : 2.4 -Release : 13 -URL : https://files.pythonhosted.org/packages/17/80/57ab4b39a6538734d975a823818657c61ad20a728377a430f54b7d3e40aa/portend-2.4.tar.gz -Source0 : https://files.pythonhosted.org/packages/17/80/57ab4b39a6538734d975a823818657c61ad20a728377a430f54b7d3e40aa/portend-2.4.tar.gz +Version : 2.5 +Release : 14 +URL : https://files.pythonhosted.org/packages/2c/59/948666fc2455ae471efd40cb2a9a990f5f6f2354a9a6b228e29b9fb4a307/portend-2.5.tar.gz +Source0 : https://files.pythonhosted.org/packages/2c/59/948666fc2455ae471efd40cb2a9a990f5f6f2354a9a6b228e29b9fb4a307/portend-2.5.tar.gz Summary : TCP port monitoring and discovery Group : Development/Tools License : MIT @@ -19,6 +19,7 @@ BuildRequires : pluggy BuildRequires : py-python BuildRequires : pytest BuildRequires : setuptools_scm +BuildRequires : tempora BuildRequires : tox BuildRequires : virtualenv @@ -53,15 +54,19 @@ python3 components for the portend package. %prep -%setup -q -n portend-2.4 +%setup -q -n portend-2.5 %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 -export SOURCE_DATE_EPOCH=1554484579 -export LDFLAGS="${LDFLAGS} -fno-lto" +export SOURCE_DATE_EPOCH=1560316413 +export GCC_IGNORE_WERROR=1 +export CFLAGS="$CFLAGS -fno-lto " +export FCFLAGS="$CFLAGS -fno-lto " +export FFLAGS="$CFLAGS -fno-lto " +export CXXFLAGS="$CXXFLAGS -fno-lto " export MAKEFLAGS=%{?_smp_mflags} python3 setup.py build diff --git a/release b/release index b1bd38b..8351c19 100644 --- a/release +++ b/release @@ -1 +1 @@ -13 +14 diff --git a/upstream b/upstream index 5c053f9..b36950d 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -0b3af77d673df08ebee67325ef520bd29ddb2743/portend-2.4.tar.gz +83b322750cfe68947e5d072048d0f8c2cc009cae/portend-2.5.tar.gz diff --git a/whatrequires b/whatrequires index f4346ff..f7c8dea 100644 --- a/whatrequires +++ b/whatrequires @@ -1,2 +1,3 @@ # This file contains recursive sources that require this package CherryPy +conda