Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:GA
python-portend
python-portend.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-portend.spec of Package python-portend
# # spec file for package python-portend # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-portend Version: 1.8 Release: 0 License: MIT Summary: TCP port monitoring utilities Url: https://github.com/jaraco/portend Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/portend/portend-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tempora} Requires: python-tempora BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description Use portend to monitor TCP ports for bound or unbound states. 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:: Portend also exposes a ``find_available_local_port`` for identifying a suitable port for binding locally:: %prep %setup -q -n portend-%{version} %build %python_build %install %python_install %check %python_exec -m pytest test_portend.py %files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor