diff --git a/options.conf b/options.conf index e946dd7..2f3e65c 100644 --- a/options.conf +++ b/options.conf @@ -4,6 +4,7 @@ url = https://files.pythonhosted.org/packages/04/98/997f8668b11292f13d3e69fc6262 archives = giturl = https://github.com/jaraco/portend.git domain = +alias = [autospec] # build 32 bit libraries @@ -38,6 +39,8 @@ no_autostart = false nodebug = false # disable stripping binaries nostrip = false +# configure build also for openmpi +openmpi = false # optimize build for size over speed optimize_size = false # set profile for pgo diff --git a/portend.spec b/portend.spec index e276c1a..ea75a55 100644 --- a/portend.spec +++ b/portend.spec @@ -4,7 +4,7 @@ # Name : portend Version : 2.6 -Release : 21 +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 Summary : TCP port monitoring and discovery @@ -26,68 +26,7 @@ BuildRequires : virtualenv %description .. image:: https://img.shields.io/pypi/v/portend.svg - :target: https://pypi.org/project/portend - -.. image:: https://img.shields.io/pypi/pyversions/portend.svg - -.. image:: https://img.shields.io/travis/jaraco/portend/master.svg - :target: https://travis-ci.org/jaraco/portend - -.. image:: https://img.shields.io/badge/code%20style-black-000000.svg - :target: https://github.com/psf/black - :alt: Code style: Black - -.. image:: https://img.shields.io/appveyor/ci/jaraco/portend/master.svg - :target: https://ci.appveyor.com/project/jaraco/portend/branch/master - -.. image:: https://readthedocs.org/projects/portend/badge/?version=latest - :target: https://portend.readthedocs.io/en/latest/?badge=latest - -por·tend -pôrˈtend/ -verb - - be a sign or warning that (something, especially something momentous or calamitous) is likely to happen. - -Usage -===== - -Use portend to monitor TCP ports for bound or unbound states. - -For example, to wait for a port to be occupied, timing out after 3 seconds:: - - portend.occupied('www.google.com', 80, timeout=3) - -Or to wait for a port to be free, timing out after 5 seconds:: - - portend.free('::1', 80, timeout=5) - -The portend may also be executed directly. If the function succeeds, it -returns nothing and exits with a status of 0. If it fails, it prints a -message and exits with a status of 1. For example:: - - python -m portend localhost:31923 free - (exits immediately) - - python -m portend -t 1 localhost:31923 occupied - (one second passes) - Port 31923 not bound on localhost. - -Portend also exposes a ``find_available_local_port`` for identifying -a suitable port for binding locally:: - - port = portend.find_available_local_port() - print(port, "is available for binding") - -Portend additionally exposes the lower-level port checking functionality -in the ``Checker`` class, which currently exposes only one public -method, ``assert_free``:: - - portend.Checker().assert_free('localhost', 31923) - -If assert_free is passed a host/port combination that is occupied by -a bound listener (i.e. a TCP connection is established to that host/port), -assert_free will raise a ``PortNotFree`` exception. +:target: https://pypi.org/project/portend %package license Summary: license components for the portend package. @@ -111,6 +50,7 @@ Summary: python3 components for the portend package. Group: Default Requires: python3-core Provides: pypi(portend) +Requires: pypi(tempora) %description python3 python3 components for the portend package. @@ -125,12 +65,11 @@ 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=1583202827 -# -Werror is for werrorists +export SOURCE_DATE_EPOCH=1603399066 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " -export FCFLAGS="$CFLAGS -fno-lto " -export FFLAGS="$CFLAGS -fno-lto " +export FCFLAGS="$FFLAGS -fno-lto " +export FFLAGS="$FFLAGS -fno-lto " export CXXFLAGS="$CXXFLAGS -fno-lto " export MAKEFLAGS=%{?_smp_mflags} python3 setup.py build diff --git a/release b/release index aabe6ec..2bd5a0a 100644 --- a/release +++ b/release @@ -1 +1 @@ -21 +22 diff --git a/whatrequires b/whatrequires index 4e86378..f7c8dea 100644 --- a/whatrequires +++ b/whatrequires @@ -1,4 +1,3 @@ # This file contains recursive sources that require this package CherryPy -ceph conda