Files
openRuyi/SPECS/python-pysocks/python-pysocks.spec

41 lines
1.1 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname PySocks
Name: python-pysocks
Version: 1.7.1
Release: %autorelease
Summary: A Python SOCKS client module
License: BSD-3-Clause
URL: https://github.com/Anorov/PySocks
#!RemoteAsset
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l socks sockshandler
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
Provides: python3-pysocks
%python_provide python3-pysocks
%description
A fork of SocksiPy with bug fixes and extra features. Acts as a
drop-in replacement to the socket module.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
%{?autochangelog}