mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/py-pysocks: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
53dad9625b
commit
8341a0bc53
@ -1,5 +1,6 @@
|
||||
PORTNAME= pysocks
|
||||
PORTVERSION= 1.7.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -12,8 +13,11 @@ WWW= https://github.com/Anorov/PySocks
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
@ -1,5 +1,14 @@
|
||||
--- 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,
|
||||
|
Loading…
Reference in New Issue
Block a user