ports/net/py-pysocks/files/patch-setup.py
Po-Chuan Hsieh 8341a0bc53
net/py-pysocks: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
2024-05-13 22:04:52 +08:00

26 lines
914 B
Python

--- setup.py.orig 2019-05-11 09:18:35 UTC
+++ setup.py
@@ -19,7 +19,7 @@ setup(
VERSION = re.compile(r'.*__version__ = "(.*?)"', re.S).match(f.read()).group(1)
setup(
- name="PySocks",
+ name="pysocks",
version=VERSION,
description="A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information.",
long_description=long_description,
@@ -32,12 +32,12 @@ setup(
py_modules=["socks", "sockshandler"],
install_requires=requirements,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
- classifiers=(
+ classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
- ),
+ ],
)