Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:PowerPC:Rings:1-MinimalX
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) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: python-portend Version: 3.2.0 Release: 0 Summary: TCP port monitoring utilities License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/portend Source: https://files.pythonhosted.org/packages/source/p/portend/portend-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm >= 1.15.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tempora >= 1.8} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-tempora >= 1.8 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} # do not require cov/xdist/etc sed -i -e '/addopts/d' pytest.ini %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec -m pytest test_portend.py %files %{python_files} %license LICENSE %doc NEWS.rst README.rst %{python_sitelib}/portend.py %{python_sitelib}/portend-%{version}.dist-info %pycache_only %{python_sitelib}/__pycache__/portend.* %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