From 18a28ead76f94567c665bcad8d8be047ba6dde9d5114c704859b78278664ba36 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 19 Dec 2025 00:56:18 +0000 Subject: [PATCH] - Add missing BuildRequires on setuptools. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TxSNI?expand=0&rev=17 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-TxSNI-0.2.0.tar.gz | 3 ++ python-TxSNI.changes | 54 +++++++++++++++++++++++++++++++++ python-TxSNI.spec | 63 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 144 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-TxSNI-0.2.0.tar.gz create mode 100644 python-TxSNI.changes create mode 100644 python-TxSNI.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-TxSNI-0.2.0.tar.gz b/python-TxSNI-0.2.0.tar.gz new file mode 100644 index 0000000..6f138f5 --- /dev/null +++ b/python-TxSNI-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6797f5b303d463c4bafd6a216ccc00a768a679e81cc1240303bb13afa793125c +size 9265 diff --git a/python-TxSNI.changes b/python-TxSNI.changes new file mode 100644 index 0000000..f1ffd4a --- /dev/null +++ b/python-TxSNI.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Fri Dec 19 00:55:59 UTC 2025 - Steve Kowalik + +- Add missing BuildRequires on setuptools. + +------------------------------------------------------------------- +Wed May 14 10:56:21 UTC 2025 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Mon May 12 15:15:35 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Tue Jun 21 21:01:36 UTC 2022 - Ben Greiner + +- Actually requires twisted[tls]: python-Twisted-tls + +------------------------------------------------------------------- +Wed Mar 24 09:52:35 UTC 2021 - Benjamin Greiner + +- Fix python_module usage + +------------------------------------------------------------------- +Fri Apr 17 09:38:39 UTC 2020 - Marketa Calabkova + +- 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 + +- Add patch to fix build with new openssl: + * openssl111.patch + +------------------------------------------------------------------- +Mon Feb 11 18:16:49 UTC 2019 - Jan Engelhardt + +- Fix broken grammar. + +------------------------------------------------------------------- +Mon Feb 11 13:28:47 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-TxSNI.spec b/python-TxSNI.spec new file mode 100644 index 0000000..4e98ef7 --- /dev/null +++ b/python-TxSNI.spec @@ -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