15
0
forked from pool/python-TxSNI

- Add missing BuildRequires on setuptools.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TxSNI?expand=0&rev=17
This commit is contained in:
2025-12-19 00:56:18 +00:00
committed by Git OBS Bridge
commit 18a28ead76
5 changed files with 144 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6797f5b303d463c4bafd6a216ccc00a768a679e81cc1240303bb13afa793125c
size 9265

54
python-TxSNI.changes Normal file
View File

@@ -0,0 +1,54 @@
-------------------------------------------------------------------
Fri Dec 19 00:55:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on setuptools.
-------------------------------------------------------------------
Wed May 14 10:56:21 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon May 12 15:15:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Jun 21 21:01:36 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Actually requires twisted[tls]: python-Twisted-tls
-------------------------------------------------------------------
Wed Mar 24 09:52:35 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Fix python_module usage
-------------------------------------------------------------------
Fri Apr 17 09:38:39 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.20.0
* Support new OpenSSL
* Test ALPN and NPN separately.
* Switch cert_builder from print to twisted.logger.
- Drop unneeded openssl111.patch
-------------------------------------------------------------------
Tue Jun 4 14:29:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add patch to fix build with new openssl:
* openssl111.patch
-------------------------------------------------------------------
Mon Feb 11 18:16:49 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Fix broken grammar.
-------------------------------------------------------------------
Mon Feb 11 13:28:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- This is noarch pkg so mark it as such
-------------------------------------------------------------------
Thu Feb 7 10:25:51 UTC 2019 - ecsos@opensuse.org
- initial version 0.1.9

63
python-TxSNI.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package python-TxSNI
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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-TxSNI
Version: 0.2.0
Release: 0
Summary: Python module for running a TLS server with Twisted
License: MIT
URL: https://github.com/glyph/txsni
Source0: https://github.com/glyph/txsni/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module Twisted-tls >= 14.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Twisted-tls >= 14.0.0
Requires: python-pyOpenSSL >= 0.14
BuildArch: noarch
%python_subpackages
%description
This package brings support for running a TLS server with Twisted.
%prep
%setup -q -n txsni-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/[Tt]x[Ss][Nn][Ii]
%{python_sitelib}/[Tt]x[Ss][Nn][Ii]-%{version}.dist-info
%{python_sitelib}/twisted/plugins/txsni_endpoint.py
%pycache_only %{python_sitelib}/twisted/plugins/__pycache__/txsni_endpoint*
%changelog