forked from pool/python-pproxy
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pproxy?expand=0&rev=10
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
pproxy-2.7.8.tar.gz
Normal file
3
pproxy-2.7.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fab73cc13b2bb10c9fc4d9c1a8ec8011a354c9bcbffa446d91229e13c5d996c8
|
||||
size 58261
|
48
python-pproxy.changes
Normal file
48
python-pproxy.changes
Normal file
@@ -0,0 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 12:02:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 12:13:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use the versioned metadata (requires setuptools_scm)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 13:08:24 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 07:03:50 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Do not build for python 3.6: the required dependency uvloop does
|
||||
no longer support Python 3.6 since version 0.16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 3 09:29:40 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Update to v2.7.8
|
||||
* ssh reconnect
|
||||
- Update to v2.7.7
|
||||
* UDP multiple jumps not working
|
||||
- Update to v2.7.6
|
||||
* quic config
|
||||
- Update to v2.7.5
|
||||
* quic param
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 14:30:31 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Update to v2.7.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 18:18:14 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Activate test suite
|
||||
- Update to v2.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 21 01:01:30 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v2.4.6
|
86
python-pproxy.spec
Normal file
86
python-pproxy.spec
Normal file
@@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package python-pproxy
|
||||
#
|
||||
# Copyright (c) 2025 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-pproxy
|
||||
Version: 2.7.8
|
||||
Release: 0
|
||||
Summary: Proxy server that can tunnel among remote servers by regex rules
|
||||
License: MIT
|
||||
URL: https://github.com/qwj/python-proxy
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pproxy/pproxy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-aioquic >= 0.9.7
|
||||
Suggests: python-asyncssh >= 2.5.0
|
||||
Suggests: python-pycryptodome >= 3.7.2
|
||||
Suggests: python-python-daemon >= 2.2.3
|
||||
Suggests: python-uvloop >= 0.13.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aioquic >= 0.9.7}
|
||||
BuildRequires: %{python_module asyncssh >= 2.5.0}
|
||||
BuildRequires: %{python_module pycryptodome >= 3.7.2}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-daemon >= 2.2.3}
|
||||
BuildRequires: %{python_module uvloop >= 0.13.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Proxy server that can tunnel among remote servers by regex rules.
|
||||
|
||||
%prep
|
||||
%setup -q -n pproxy-%{version}
|
||||
# See https://github.com/qwj/python-proxy/issues/101 for status of these tests
|
||||
# cipher_* doesnt allow any cli args, so easiest way to run them is removing other tests
|
||||
rm tests/api_*.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pproxy
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative pproxy
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative pproxy
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
for file in tests/*.py; do
|
||||
$python $file
|
||||
done
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/pproxy
|
||||
%{python_sitelib}/pproxy-%{version}*-info
|
||||
%{python_sitelib}/pproxy
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user